adding module: ninja file_names: ['/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_base01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_base02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_base03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_base04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_base05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_baseconfig.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug001.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug003.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug004.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug005.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug006.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug007.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug008.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug009.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug010.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug011.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug012.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug013.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug014.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug015.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug016.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug017.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug018.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug019.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug020.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bug021.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bulk01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_bulk02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_checkpoint01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_checkpoint02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_colgap.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_collator.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compact01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compact02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compat01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compat02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compat03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compat04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_compress01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_config07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor10.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor11.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor12.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor13.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor14.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor15.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor_compare.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor_pin.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor_random.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor_random02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_cursor_tracker.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_debug_info.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_drop.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_drop02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_drop_create.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_dump.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_dupc.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_durability01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_empty.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_encrypt07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_env01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_excl.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_hazard.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_home.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_huffman01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_huffman02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_index01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_index02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_index03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_inmem01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_inmem02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_intpack.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_join09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_jsondump01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_jsondump02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_las01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_las02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_las03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_lsm01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_lsm02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_lsm03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_lsm04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_metadata_cursor01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_metadata_cursor02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_metadata_cursor03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_nsnap01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_nsnap02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_nsnap03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_nsnap04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_overwrite.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_pack.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare_lookaside01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_prepare_lookaside02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_readonly01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_readonly02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_readonly03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_rebalance.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_reconfig01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_reconfig02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_reconfig03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_reconfig04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_rename.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_reserve.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_salvage.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_schema08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_shared_cache01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_shared_cache02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_split.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat_log01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_stat_log02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_sweep01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_sweep02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_sweep03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp10.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp11.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp12.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_timestamp13.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_truncate01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_truncate02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_truncate03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn05.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn06.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn10.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn11.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn12.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn13.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn14.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn15.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn16.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn17.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn18.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_txn19.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_unicode01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_upgrade.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util01.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util02.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util03.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util04.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util07.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util08.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util09.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util11.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util12.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util13.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util14.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util15.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util16.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_util17.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_verify.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_version.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/wtdataset.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/wtscenario.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/wttest.py', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/wtthread.py'] ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py --- +++ @@ -26,6 +26,7 @@ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. + # suite_random.py # A quick and predictable pseudo random number generator. class suite_random: @@ -35,6 +36,7 @@ method invented by George Marsaglia, because it is quick and easy to implement. """ + def __init__(self, *args): arglen = len(args) if arglen == 1: @@ -78,4 +80,4 @@ The number returned does not encompass all possibilities, only 2^32 values within the range. """ - return (self.rand32() + 0.0)/0x100000000 + return (self.rand32() + 0.0) / 0x100000000 ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py --- +++ @@ -29,12 +29,14 @@ from wiredtiger import WiredTigerError import sys, threading, wiredtiger, wttest + class Callback(wiredtiger.AsyncCallback): def __init__(self): pass def notify(self, op, op_ret, flags): raise AssertionError('callback should not be called in this test') + # test_async03.py # Async operations @@ -58,9 +60,10 @@ msg = '/Asynchronous operations not configured/' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.conn.async_new_op(tablearg, None, callback), msg) + lambda: self.conn.async_new_op(tablearg, None, callback), msg) self.conn.async_flush() + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py --- +++ @@ -33,8 +33,10 @@ from suite_subprocess import suite_subprocess import wiredtiger, wttest + def timestamp_str(t): return '%x' % t + class test_assert01(wttest.WiredTigerTestCase, suite_subprocess): base = 'assert01' @@ -50,6 +52,7 @@ cfg_none = 'assert=(commit_timestamp=none)' count = 1 + # # Commit a k/v pair making sure that it detects an error if needed, when # used with and without a commit timestamp. @@ -61,17 +64,16 @@ # Commit with a timestamp self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(self.count)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(self.count)) c[key] = val # All settings other than never should commit successfully if (use_ts != 'never'): self.session.commit_transaction() else: msg = "/timestamp set on this transaction/" - self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda:self.assertEquals(self.session.commit_transaction(), - 0), msg) + self.assertRaisesWithMessage( + wiredtiger.WiredTigerError, + lambda: self.assertEquals(self.session.commit_transaction(), 0), msg) c.close() self.count += 1 @@ -86,9 +88,9 @@ self.session.commit_transaction() else: msg = "/none set on this transaction/" - self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda:self.assertEquals(self.session.commit_transaction(), - 0), msg) + self.assertRaisesWithMessage( + wiredtiger.WiredTigerError, + lambda: self.assertEquals(self.session.commit_transaction(), 0), msg) self.count += 1 c.close() @@ -110,5 +112,6 @@ self.insert_check(self.uri_never, 'never') self.insert_check(self.uri_none, 'none') + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py --- +++ @@ -32,6 +32,7 @@ from wtdataset import SimpleDataSet, SimpleIndexDataSet, ComplexDataSet + # python has a filecmp.cmp function, but different versions of python approach # file comparison differently. To make sure we get byte for byte comparison, # we define it here. @@ -53,6 +54,7 @@ # files are identical size if not b1: return True + # Iterate over a set of tables, ensuring that they have identical contents def compare_tables(self, session, uris, config=None): @@ -78,32 +80,34 @@ for c in cursors: c.close() + # confirm a URI doesn't exist. def confirm_does_not_exist(self, uri): self.pr('confirm_does_not_exist: ' + uri) - self.assertRaises(wiredtiger.WiredTigerError, - lambda: self.session.open_cursor(uri, None)) - self.assertEqual(glob.glob('*' + uri.split(":")[-1] + '*'), [], - 'confirm_does_not_exist: URI exists, file name matching \"' + - uri.split(":")[1] + '\" found') + self.assertRaises(wiredtiger.WiredTigerError, lambda: self.session.open_cursor(uri, None)) + self.assertEqual( + glob.glob('*' + uri.split(":")[-1] + '*'), [], + 'confirm_does_not_exist: URI exists, file name matching \"' + uri.split(":")[1] + + '\" found') + # confirm a URI exists and is empty. def confirm_empty(self, uri): self.pr('confirm_empty: ' + uri) cursor = self.session.open_cursor(uri, None) if cursor.value_format == '8t': - for key,val in cursor: + for key, val in cursor: self.assertEqual(val, 0) else: self.assertEqual(cursor.next(), wiredtiger.WT_NOTFOUND) cursor.close() + # copy a WT home directory def copy_wiredtiger_home(olddir, newdir, aligned=True): # unaligned copy requires 'dd', which may not be available on Windows if not aligned and os.name == "nt": - raise AssertionError( - 'copy_wiredtiger_home: unaligned copy impossible on Windows') + raise AssertionError('copy_wiredtiger_home: unaligned copy impossible on Windows') shutil.rmtree(newdir, ignore_errors=True) os.mkdir(newdir) for fname in os.listdir(olddir): ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py --- +++ @@ -28,6 +28,7 @@ import wiredtiger, wttest, exceptions + # test_autoclose class test_autoclose(wttest.WiredTigerTestCase): """ @@ -38,8 +39,7 @@ uri = 'table:test_autoclose' def create_table(self): - self.session.create(self.uri, - 'key_format=S,value_format=S') + self.session.create(self.uri, 'key_format=S,value_format=S') def drop_table(self): self.session.drop(self.uri, None) @@ -57,8 +57,7 @@ inscursor = self.open_cursor() inscursor['key1'] = 'value1' inscursor.close() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: inscursor.next(), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: inscursor.next(), '/wt_cursor.* is None/') self.drop_table() self.close_conn() @@ -72,8 +71,7 @@ inscursor = self.open_cursor() inscursor['key1'] = 'value1' self.session.close() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: inscursor.next(), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: inscursor.next(), '/wt_cursor.* is None/') self.close_conn() @@ -86,8 +84,7 @@ inscursor = self.open_cursor() inscursor['key1'] = 'value1' self.close_conn() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: inscursor.next(), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: inscursor.next(), '/wt_cursor.* is None/') def test_close_cursor4(self): @@ -120,21 +117,18 @@ # Note: SWIG generates a TypeError in this case. # A RuntimeError to match the other cases would be better. inscursor2.close() - self.assertRaises(exceptions.TypeError, - lambda: inscursor.compare(inscursor2)) + self.assertRaises(exceptions.TypeError, lambda: inscursor.compare(inscursor2)) inscursor2 = None - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: inscursor.compare(inscursor2), - '/wt_cursor.* is None/') + self.assertRaisesHavingMessage( + exceptions.RuntimeError, lambda: inscursor.compare(inscursor2), '/wt_cursor.* is None/') def test_close_session1(self): """ Use a session handle after it is explicitly closed. """ self.session.close() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: self.create_table(), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: self.create_table(), '/wt_session.* is None/') self.close_conn() @@ -143,8 +137,7 @@ Use a session handle after the connection is closed. """ self.close_conn() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: self.create_table(), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: self.create_table(), '/wt_session.* is None/') def test_close_connection1(self): @@ -153,9 +146,9 @@ """ conn = self.conn self.close_conn() - self.assertRaisesHavingMessage(exceptions.RuntimeError, - lambda: conn.open_session(None), + self.assertRaisesHavingMessage(exceptions.RuntimeError, lambda: conn.open_session(None), '/wt_connection.* is None/') + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py --- +++ @@ -33,8 +33,10 @@ from suite_subprocess import suite_subprocess import wiredtiger, wttest + def timestamp_str(t): return '%x' % t + class test_assert02(wttest.WiredTigerTestCase, suite_subprocess): def test_read_timestamp(self): @@ -68,8 +70,7 @@ c_never = self.session.open_cursor(uri_never) c_none = self.session.open_cursor(uri_none) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(1)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(1)) c_always['key1'] = 'value1' c_def['key1'] = 'value1' c_never['key1'] = 'value1' @@ -102,7 +103,7 @@ msg = "/timestamp set on this transaction/" self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda:self.assertEquals(c_never.search(), 0), msg) + lambda: self.assertEquals(c_never.search(), 0), msg) self.session.commit_transaction() c_always.close() c_def.close() @@ -130,12 +131,13 @@ msg = "/none set on this transaction/" self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda:self.assertEquals(c_always.search(), 0), msg) + lambda: self.assertEquals(c_always.search(), 0), msg) self.session.commit_transaction() c_always.close() c_def.close() c_never.close() c_none.close() + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py --- +++ @@ -28,6 +28,7 @@ import wiredtiger, wttest from wtscenario import make_scenarios + # test_alter03.py # Check if app_metadata can be altered. @@ -69,7 +70,7 @@ # Put some data in table. c = self.session.open_cursor(uri, None) for k in range(entries): - c[k+1] = 1 + c[k + 1] = 1 c.close() # Verify the string in the metadata @@ -92,15 +93,15 @@ # We should fail unless we ask not to take an exclusive lock c2 = self.session.open_cursor(uri, None) for k in range(entries): - c2[k+1] = 2 + c2[k + 1] = 2 self.assertRaisesException(wiredtiger.WiredTigerError, - lambda: self.session.alter(uri, 'app_metadata="meta_data_5",')) + lambda: self.session.alter(uri, 'app_metadata="meta_data_5",')) self.verify_metadata('app_metadata="meta_data_4",', 'app_metadata="meta_data_3",') - self.assertRaisesException(wiredtiger.WiredTigerError, - lambda: self.session.alter(uri, - 'exclusive_refreshed=true,app_metadata="meta_data_5",')) + self.assertRaisesException( + wiredtiger.WiredTigerError, + lambda: self.session.alter(uri, 'exclusive_refreshed=true,app_metadata="meta_data_5",')) self.verify_metadata('app_metadata="meta_data_4",', 'app_metadata="meta_data_3",') self.session.alter(uri, 'app_metadata="meta_data_5",exclusive_refreshed=false,') @@ -121,12 +122,13 @@ self.session.create(uri, create_params + app_meta_orig) - self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.alter(uri, - 'exclusive_refreshed=false,app_metadata="meta_data_2",'), - '/is applicable only on simple tables/') + self.assertRaisesWithMessage( + wiredtiger.WiredTigerError, + lambda: self.session.alter(uri, 'exclusive_refreshed=false,app_metadata="meta_data_2",'), + '/is applicable only on simple tables/') self.session.alter(uri, 'exclusive_refreshed=true,app_metadata="meta_data_2",') + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py --- +++ @@ -29,6 +29,7 @@ import sys, wiredtiger, wttest from wtscenario import make_scenarios + # test_alter02.py # Smoke-test the session alter operations. class test_alter02(wttest.WiredTigerTestCase): @@ -68,8 +69,10 @@ # This test varies the log setting. Override the standard methods. def setUpConnectionOpen(self, dir): return None + def setUpSessionOpen(self, conn): return None + def ConnectionOpen(self): self.home = '.' @@ -117,7 +120,7 @@ # txnid, rectype, optype, fileid, logrec_key, logrec_value values = c.get_value() try: - if self.value in str(values[5]): # logrec_value + if self.value in str(values[5]): # logrec_value count += 1 self.assertFalse(value2 in str(values[5])) except: @@ -230,5 +233,6 @@ self.pr("EXPECTED KEYS 2: " + str(expected_keys)) self.verify_logrecs(expected_keys) + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py --- +++ @@ -31,11 +31,13 @@ from wiredtiger import WiredTigerError from wtscenario import make_scenarios + # TODO - tmp code def tty_pr(s): o = open('/dev/tty', 'w') o.write(s + '\n') o.close() + class Callback(wiredtiger.AsyncCallback): def __init__(self, current): @@ -49,8 +51,7 @@ self.lock = threading.RLock() def notify_error(self, key, value, optype, desc): - tty_pr('ERROR: notify(' + str(key) + ',' + str(value) + ',' + - str(optype) + '): ' + desc) + tty_pr('ERROR: notify(' + str(key) + ',' + str(value) + ',' + str(optype) + '): ' + desc) def notify(self, op, op_ret, flags): @@ -107,6 +108,7 @@ return 0 + # test_async01.py # Async operations # Basic smoke-test of file and table async ops: tests get/set key, insert @@ -122,13 +124,13 @@ current = {} scenarios = make_scenarios([ - ('file-col', dict(tablekind='col',uri='file')), - ('file-fix', dict(tablekind='fix',uri='file')), - ('file-row', dict(tablekind='row',uri='file')), - ('lsm-row', dict(tablekind='row',uri='lsm')), - ('table-col', dict(tablekind='col',uri='table')), - ('table-fix', dict(tablekind='fix',uri='table')), - ('table-row', dict(tablekind='row',uri='table')), + ('file-col', dict(tablekind='col', uri='file')), + ('file-fix', dict(tablekind='fix', uri='file')), + ('file-row', dict(tablekind='row', uri='file')), + ('lsm-row', dict(tablekind='row', uri='lsm')), + ('table-col', dict(tablekind='col', uri='table')), + ('table-fix', dict(tablekind='fix', uri='table')), + ('table-row', dict(tablekind='row', uri='table')), ]) # Enable async for this test. @@ -140,7 +142,7 @@ if self.tablekind == 'row': return 'key' + str(i) else: - return long(i+1) + return long(i + 1) def genvalue(self, i): if self.tablekind == 'fix': @@ -210,14 +212,14 @@ # Reset the reference table for the update. for i in range(0, self.nentries): k = self.genkey(i) - v = self.genvalue(i+10) + v = self.genvalue(i + 10) self.current[k] = v for i in range(0, self.nentries): self.pr('creating async op') op = self.conn.async_new_op(tablearg, None, callback) k = self.genkey(i) - v = self.genvalue(i+10) + v = self.genvalue(i + 10) op.set_key(k) op.set_value(v) op.update() @@ -260,5 +262,6 @@ self.assertTrue(callback.nupdate == self.nentries) self.assertTrue(callback.nerror == 0) + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py --- +++ @@ -30,6 +30,7 @@ from suite_subprocess import suite_subprocess from wiredtiger import WiredTigerError from wtscenario import make_scenarios + class Callback(wiredtiger.AsyncCallback): def __init__(self, current): @@ -43,8 +44,8 @@ self.lock = threading.RLock() def notify_error(self, key, value, optype, exp, desc): - self.tty('ERROR: notify(' + str(key) + ',' + str(value) + ',' + - str(optype) + '): ' + 'Expected: ' + str(exp) + ' ' + desc) + self.tty('ERROR: notify(' + str(key) + ',' + str(value) + ',' + str(optype) + '): ' + + 'Expected: ' + str(exp) + ' ' + desc) def notify(self, op, op_ret, flags): @@ -104,6 +105,7 @@ return 0 + # test_async02.py # Async operations # Basic smoke-test of file and table async ops: tests get/set key, insert @@ -119,13 +121,13 @@ current = {} scenarios = make_scenarios([ - ('file-col', dict(tablekind='col',uri='file')), - ('file-fix', dict(tablekind='fix',uri='file')), - ('file-row', dict(tablekind='row',uri='file')), - ('lsm-row', dict(tablekind='row',uri='lsm')), - ('table-col', dict(tablekind='col',uri='table')), - ('table-fix', dict(tablekind='fix',uri='table')), - ('table-row', dict(tablekind='row',uri='table')), + ('file-col', dict(tablekind='col', uri='file')), + ('file-fix', dict(tablekind='fix', uri='file')), + ('file-row', dict(tablekind='row', uri='file')), + ('lsm-row', dict(tablekind='row', uri='lsm')), + ('table-col', dict(tablekind='col', uri='table')), + ('table-fix', dict(tablekind='fix', uri='table')), + ('table-row', dict(tablekind='row', uri='table')), ]) # Enable async for this test. @@ -137,7 +139,7 @@ if self.tablekind == 'row': return 'key' + str(i) else: - return long(i+1) + return long(i + 1) def genvalue(self, i): if self.tablekind == 'fix': @@ -218,5 +220,6 @@ # Make sure all callbacks went according to plan. self.assertTrue(callback.nerror == 0) + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py --- +++ @@ -35,16 +35,17 @@ from wtdataset import SimpleDataSet, ComplexDataSet, ComplexLSMDataSet from helper import compare_files + # test_backup.py # Utilities: wt backup # Test backup (both backup cursors and the wt backup command). class test_backup(wttest.WiredTigerTestCase, suite_subprocess): - dir='backup.dir' # Backup directory name + dir = 'backup.dir' # Backup directory name pfx = 'test_backup' objs = [ - ( 'file:' + pfx + '.1', SimpleDataSet, 0), - ( 'file:' + pfx + '.2', SimpleDataSet, 0), + ('file:' + pfx + '.1', SimpleDataSet, 0), + ('file:' + pfx + '.2', SimpleDataSet, 0), ('table:' + pfx + '.3', SimpleDataSet, 0), ('table:' + pfx + '.4', SimpleDataSet, 0), ('table:' + pfx + '.5', ComplexDataSet, 0), @@ -58,7 +59,7 @@ for i in self.objs: if i[2]: if skiplsm: - continue + continue i[1](self, i[0], 100).populate() # Compare the original and backed-up files using the wt dump command. @@ -77,7 +78,7 @@ cursor = self.session.open_cursor('backup:', None, None) msg = '/there is already a backup cursor open/' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.open_cursor('backup:', None, None), msg) + lambda: self.session.open_cursor('backup:', None, None), msg) cursor.close() # Test backup of a database using the wt backup command. @@ -89,8 +90,7 @@ # Make sure all the files were copied. self.runWt(['list'], outfilename='outfile.orig') self.runWt(['-h', self.dir, 'list'], outfilename='outfile.backup') - self.assertEqual( - True, compare_files(self, 'outfile.orig', 'outfile.backup')) + self.assertEqual(True, compare_files(self, 'outfile.orig', 'outfile.backup')) # And that the contents are the same. for i in self.objs: @@ -100,14 +100,13 @@ def confirmPathDoesNotExist(self, uri): conn = self.wiredtiger_open(self.dir) session = conn.open_session() - self.assertRaises(wiredtiger.WiredTigerError, - lambda: session.open_cursor(uri, None, None)) + self.assertRaises(wiredtiger.WiredTigerError, lambda: session.open_cursor(uri, None, None)) conn.close() self.assertEqual( glob.glob(self.dir + '*' + uri.split(":")[1] + '*'), [], - 'confirmPathDoesNotExist: URI exists, file name matching \"' + - uri.split(":")[1] + '\" found') + 'confirmPathDoesNotExist: URI exists, file name matching \"' + uri.split(":")[1] + + '\" found') # Backup a set of chosen tables/files using the wt backup command. def backup_table(self, l): @@ -136,11 +135,11 @@ # Test backup of database subsets. def test_backup_table(self): self.populate(0) - self.backup_table([0,2,4,6]) - self.backup_table([1,3,5,7]) - self.backup_table([0,1,2]) - self.backup_table([3,4,5]) - self.backup_table([5,6,7]) + self.backup_table([0, 2, 4, 6]) + self.backup_table([1, 3, 5, 7]) + self.backup_table([0, 1, 2]) + self.backup_table([3, 4, 5]) + self.backup_table([5, 6, 7]) # Test cursor reset runs through the list twice. def test_cursor_reset(self): @@ -173,8 +172,7 @@ self.session.checkpoint("name=one") self.session.checkpoint("name=two,drop=(one)") self.assertRaises(wiredtiger.WiredTigerError, - lambda: self.session.open_cursor( - self.objs[0][0], None, "checkpoint=one")) + lambda: self.session.open_cursor(self.objs[0][0], None, "checkpoint=one")) # Confirm opening a backup cursor causes checkpoint to fail if dropping # a named checkpoint, but does not stop a default checkpoint. @@ -182,12 +180,13 @@ self.session.checkpoint() msg = '/checkpoints cannot be deleted during a hot backup/' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.checkpoint("name=three,drop=(two)"), msg) + lambda: self.session.checkpoint("name=three,drop=(two)"), msg) self.session.checkpoint() self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.checkpoint("name=three,drop=(two)"), msg) + lambda: self.session.checkpoint("name=three,drop=(two)"), msg) self.session.checkpoint() cursor.close() + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py --- +++ @@ -70,6 +70,7 @@ # Use the same version of unittest found by wttest.py unittest = wttest.unittest from testscenarios.scenarios import generate_scenarios + def usage(): print 'Usage:\n\ @@ -101,24 +102,26 @@ When -s is present, there must be a test named.\n\ ' + # capture the category (AKA 'subsuite') part of a test name, # e.g. test_util03 -> util reCatname = re.compile(r"test_([^0-9]+)[0-9]*") + def restrictScenario(testcases, restrict): if restrict == '': return testcases elif restrict.isdigit(): s = int(restrict) - return [t for t in testcases - if hasattr(t, 'scenario_number') and t.scenario_number == s] - else: - return [t for t in testcases - if hasattr(t, 'scenario_name') and t.scenario_name == restrict] + return [t for t in testcases if hasattr(t, 'scenario_number') and t.scenario_number == s] + else: + return [t for t in testcases if hasattr(t, 'scenario_name') and t.scenario_name == restrict] + def addScenarioTests(tests, loader, testname, scenario): loaded = loader.loadTestsFromName(testname) tests.addTests(restrictScenario(generate_scenarios(loaded), scenario)) + def configRecord(cmap, tup): """ @@ -133,11 +136,12 @@ pos += 1 if not name in cmap: if last: - cmap[name] = {"run":None} + cmap[name] = {"run": None} else: - cmap[name] = {"run":None, "sub":{}} + cmap[name] = {"run": None, "sub": {}} if not last: cmap = cmap[name]["sub"] + def configGet(cmap, tup): """ @@ -156,6 +160,7 @@ cmap = cmap[name]["sub"] if "sub" in cmap[name] else {} return True + def configApplyInner(suites, configmap, configwrite): newsuite = unittest.TestSuite() for s in suites: @@ -177,6 +182,7 @@ newsuite.addTest(s) return newsuite + def configApply(suites, configfilename, configwrite): configmap = None if not configwrite: @@ -210,6 +216,7 @@ json.dump(configmap, f, sort_keys=True, indent=4) return newsuite + def testsFromArg(tests, loader, arg, scenario): # If a group of test is mentioned, do all tests in that group # e.g. 'run.py base' @@ -231,8 +238,9 @@ start, end = (int(a) for a in arg.split('-')) else: start, end = int(arg), int(arg) - for t in xrange(start, end+1): + for t in xrange(start, end + 1): addScenarioTests(tests, loader, 'test%03d' % t, scenario) + if __name__ == '__main__': tests = unittest.TestSuite() @@ -302,9 +310,9 @@ sys.exit(2) verbose = int(args.pop(0)) if verbose > 3: - verbose = 3 + verbose = 3 if verbose < 0: - verbose = 0 + verbose = 0 continue if option == '-config' or option == 'c': if configfile != None or len(args) == 0: @@ -326,15 +334,13 @@ # All global variables should be set before any test classes are loaded. # That way, verbose printing can be done at the class definition level. - wttest.WiredTigerTestCase.globalSetup(preserve, timestamp, gdbSub, lldbSub, - verbose, wt_builddir, dirarg, - longtest) + wttest.WiredTigerTestCase.globalSetup(preserve, timestamp, gdbSub, lldbSub, verbose, + wt_builddir, dirarg, longtest) # Without any tests listed as arguments, do discovery if len(testargs) == 0: if scenario != '': - sys.stderr.write( - 'run.py: specifying a scenario requires a test name\n') + sys.stderr.write('run.py: specifying a scenario requires a test name\n') usage() sys.exit(2) from discover import defaultTestLoader as loader ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py --- +++ @@ -29,6 +29,7 @@ import wiredtiger, wttest from wtscenario import make_scenarios + # test_alter01.py # Smoke-test the session alter operations. class test_alter01(wttest.WiredTigerTestCase): @@ -48,7 +49,7 @@ ('random', dict(acreate='random')), ('sequential', dict(acreate='sequential')), ] - access_alter=('', 'none', 'random', 'sequential') + access_alter = ('', 'none', 'random', 'sequential') # Settings for cache_resident resid = [ ('default', dict(ccreate='')), @@ -59,7 +60,7 @@ ('no-reopen', dict(reopen=False)), ('reopen', dict(reopen=True)), ] - cache_alter=('', 'false', 'true') + cache_alter = ('', 'false', 'true') scenarios = make_scenarios(types, hints, resid, reopen) def verify_metadata(self, metastr): @@ -130,7 +131,7 @@ # Put some data in table. c = self.session.open_cursor(uri, None) for k in range(self.entries): - c[k+1] = 1 + c[k + 1] = 1 c.close() # Verify the string in the metadata @@ -165,5 +166,6 @@ self.verify_metadata(access_str) self.verify_metadata(cache_str) + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py --- +++ @@ -29,6 +29,7 @@ import os, re, subprocess, sys from run import wt_builddir from wttest import WiredTigerTestCase + # suite_subprocess.py # Run a subprocess within the test suite @@ -90,13 +91,14 @@ def check_file_content(self, filename, expect): with open(filename, 'r') as f: got = f.read(len(expect) + 100) - self.assertEqual(got, expect, filename + ': does not contain expected:\n\'' + expect + '\', but contains:\n\'' + got + '\'.') + self.assertEqual(got, expect, filename + ': does not contain expected:\n\'' + expect + + '\', but contains:\n\'' + got + '\'.') def check_file_contains_one_of(self, filename, expectlist): """ Check that the file contains the expected string in the first 100K bytes """ - maxbytes = 1024*100 + maxbytes = 1024 * 100 with open(filename, 'r') as f: got = f.read(maxbytes) found = False @@ -118,9 +120,11 @@ gotstr = '\'' + \ (got if len(got) < 1000 else (got[0:1000] + '...')) + '\'' if len(got) >= maxbytes: - self.fail(filename + ': does not contain expected ' + expect + ', or output is too large, got ' + gotstr) - else: - self.fail(filename + ': does not contain expected ' + expect + ', got ' + gotstr) + self.fail(filename + ': does not contain expected ' + expect + + ', or output is too large, got ' + gotstr) + else: + self.fail( + filename + ': does not contain expected ' + expect + ', got ' + gotstr) def check_file_contains(self, filename, expect): self.check_file_contains_one_of(filename, [expect]) @@ -158,7 +162,7 @@ 'output files follow:' WiredTigerTestCase.prout(out) for filename in filenames: - maxbytes = 1024*100 + maxbytes = 1024 * 100 with open(filename, 'r') as f: contents = f.read(maxbytes) if len(contents) > 0: @@ -169,9 +173,8 @@ WiredTigerTestCase.prout(out) # Run the wt utility. - def runWt(self, args, infilename=None, - outfilename=None, errfilename=None, closeconn=True, - reopensession=True, failure=False): + def runWt(self, args, infilename=None, outfilename=None, errfilename=None, closeconn=True, + reopensession=True, failure=False): # Close the connection to guarantee everything is flushed, and that # we can open it from another process. @@ -190,11 +193,11 @@ wtexe = os.path.join(wt_builddir, ".libs", "wt") else: wtexe = os.path.join(wt_builddir, "wt") - procargs = [ wtexe ] + procargs = [wtexe] if self._gdbSubprocess: - procargs = [ "gdb", "--args" ] + procargs + procargs = ["gdb", "--args"] + procargs elif self._lldbSubprocess: - procargs = [ "lldb", "--" ] + procargs + procargs = ["lldb", "--"] + procargs procargs.extend(args) if self._gdbSubprocess: infilepart = "" @@ -220,22 +223,19 @@ returncode = subprocess.call(procargs) elif infilename: with open(infilename, "r") as wtin: - returncode = subprocess.call( - procargs, stdin=wtin, stdout=wtout, stderr=wterr) - else: - returncode = subprocess.call( - procargs, stdout=wtout, stderr=wterr) + returncode = subprocess.call(procargs, stdin=wtin, stdout=wtout, + stderr=wterr) + else: + returncode = subprocess.call(procargs, stdout=wtout, stderr=wterr) if failure: if returncode == 0: - self.show_outputs(procargs, "expected failure, got success", - [wtoutname, wterrname]) + self.show_outputs(procargs, "expected failure, got success", [wtoutname, wterrname]) self.assertNotEqual(returncode, 0, 'expected failure: "' + \ str(procargs) + '": exited ' + str(returncode)) else: if returncode != 0: - self.show_outputs(procargs, "expected success, got failure", - [wtoutname, wterrname]) + self.show_outputs(procargs, "expected success, got failure", [wtoutname, wterrname]) self.assertEqual(returncode, 0, 'expected success: "' + \ str(procargs) + '": exited ' + str(returncode)) ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py --- +++ @@ -33,8 +33,10 @@ from suite_subprocess import suite_subprocess import wiredtiger, wttest + def timestamp_str(t): return '%x' % t + class test_assert04(wttest.WiredTigerTestCase, suite_subprocess): def test_timestamp_alter(self): @@ -45,8 +47,8 @@ uri = 'file:' + base cfg_on = 'assert=(commit_timestamp=key_consistent)' cfg_off = 'assert=(commit_timestamp=none)' - msg_ooo='/out of order/' - msg_usage='/used inconsistently/' + msg_ooo = '/out of order/' + msg_usage = '/used inconsistently/' # Create the table without the key consistency checking turned on. # Create a few items breaking the rules. Then alter the setting and @@ -56,8 +58,7 @@ # Insert a data item at timestamp 2. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(2)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(2)) c['key_ts1'] = 'value2' self.session.commit_transaction() c.close() @@ -65,8 +66,7 @@ # Modify the data item at timestamp 1. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(1)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(1)) c['key_ts1'] = 'value1' self.session.commit_transaction() c.close() @@ -81,8 +81,7 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(2)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(2)) c['key_nots'] = 'value2' self.session.commit_transaction() c.close() @@ -103,19 +102,17 @@ # Detect decreasing timestamp. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(5)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(5)) c['key_ts1'] = 'value5' self.session.commit_transaction() c.close() c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(4)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(4)) c['key_ts1'] = 'value4' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_ooo) + lambda: self.session.commit_transaction(), msg_ooo) c.close() # Detect not using a timestamp. @@ -123,7 +120,7 @@ self.session.begin_transaction() c['key_ts1'] = 'value_nots3' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() # Detect using a timestamp on the non-timestamp key. @@ -135,11 +132,10 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(3)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(3)) c['key_nots'] = 'value3' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() c = self.session.open_cursor(uri) @@ -161,8 +157,7 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(6)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(6)) c['key_nots'] = 'value6' self.session.commit_transaction() c.close() @@ -173,20 +168,20 @@ base = 'assert04' uri = 'file:' + base - msg_ooo='/out of order/' - msg_usage='/used inconsistently/' + msg_ooo = '/out of order/' + msg_usage = '/used inconsistently/' # Create the table with the key consistency checking turned on. # That checking will verify any individual key is always or never # used with a timestamp. And if it is used with a timestamp that # the timestamps are in increasing order for that key. - self.session.create(uri, 'key_format=S,value_format=S,assert=(commit_timestamp=key_consistent)') + self.session.create(uri, + 'key_format=S,value_format=S,assert=(commit_timestamp=key_consistent)') # Insert a data item at timestamp 2. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(2)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(2)) c['key_ts1'] = 'value2' self.session.commit_transaction() c.close() @@ -194,18 +189,16 @@ # Modify the data item at timestamp 1. We should detect it is wrong. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(1)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(1)) c['key_ts1'] = 'value1' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_ooo) + lambda: self.session.commit_transaction(), msg_ooo) c.close() # Make sure we can successfully add a different key at timestamp 1. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(1)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(1)) c['key_ts2'] = 'value1' self.session.commit_transaction() c.close() @@ -218,24 +211,21 @@ # c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(10)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(10)) c['key_ts3'] = 'value10' self.session.commit_transaction() self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(15)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(15)) c['key_ts4'] = 'value15' self.session.commit_transaction() c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(13)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(13)) c['key_ts3'] = 'value13' c['key_ts4'] = 'value13' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_ooo) + lambda: self.session.commit_transaction(), msg_ooo) c.close() c = self.session.open_cursor(uri) @@ -249,18 +239,16 @@ # c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(13)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(13)) c['key_ts3'] = 'value13' self.session.commit_transaction() c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(13)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(13)) c['key_ts4'] = 'value13' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_ooo) + lambda: self.session.commit_transaction(), msg_ooo) c.close() # Make sure multiple update attempts still fail and eventually @@ -268,11 +256,10 @@ # in the update chain are not considered for the timestamp check. c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(14)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(14)) c['key_ts4'] = 'value14' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_ooo) + lambda: self.session.commit_transaction(), msg_ooo) c.close() c = self.session.open_cursor(uri) self.assertEquals(c['key_ts4'], 'value15') @@ -280,8 +267,7 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(16)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(16)) c['key_ts4'] = 'value16' self.session.commit_transaction() c.close() @@ -295,14 +281,14 @@ self.session.begin_transaction() c['key_ts4'] = 'value_nots' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() c = self.session.open_cursor(uri) self.session.begin_transaction() c['key_ts4'] = 'value_nots' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() c = self.session.open_cursor(uri) self.assertEquals(c['key_ts4'], 'value16') @@ -319,11 +305,10 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(16)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(16)) c['key_nots'] = 'value16' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() c = self.session.open_cursor(uri) @@ -334,11 +319,10 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(17)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(17)) c['key_nots'] = 'value17' self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction(), msg_usage) + lambda: self.session.commit_transaction(), msg_usage) c.close() c = self.session.open_cursor(uri) @@ -350,8 +334,7 @@ c = self.session.open_cursor(uri) self.session.begin_transaction() c['key_ts5'] = 'value_notsyet' - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(20)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(20)) c['key_ts5'] = 'value20' self.session.commit_transaction() c.close() @@ -364,8 +347,7 @@ self.session.begin_transaction() c['key_ts6'] = 'value_notsyet' c['key_ts6'] = 'value21_after' - self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(21)) + self.session.timestamp_transaction('commit_timestamp=' + timestamp_str(21)) self.session.commit_transaction() c.close() @@ -379,17 +361,18 @@ self.session.begin_transaction() c['key_ts6'] = 'value_committs1' c['key_ts6'] = 'value22' - self.session.commit_transaction('commit_timestamp=' + - timestamp_str(22)) + self.session.commit_transaction('commit_timestamp=' + timestamp_str(22)) c.close() c = self.session.open_cursor(uri) self.session.begin_transaction() c['key_nots'] = 'value23' - self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda: self.session.commit_transaction( - 'commit_timestamp=' + timestamp_str(23)), msg_usage) - c.close() + self.assertRaisesWithMessage( + wiredtiger.WiredTigerError, + lambda: self.session.commit_transaction('commit_timestamp=' + timestamp_str(23)), + msg_usage) + c.close() + if __name__ == '__main__': wttest.run() ERROR: Found diff for /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py To fix formatting errors, run pylinters.py fix /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py --- +++ @@ -33,6 +33,7 @@ from suite_subprocess import suite_subprocess import wiredtiger, wttest + class test_assert03(wttest.WiredTigerTestCase, suite_subprocess): conn_config = 'log=(enabled)' base_uri = 'file:assert03.wt' @@ -63,8 +64,9 @@ self.session.begin_transaction() c['key1'] = 'value1' msg = "/none set on this transaction/" - self.assertRaisesWithMessage(wiredtiger.WiredTigerError, - lambda:self.assertEquals(self.session.commit_transaction(), 0), msg) + self.assertRaisesWithMessage( + wiredtiger.WiredTigerError, + lambda: self.assertEquals(self.session.commit_transaction(), 0), msg) c.close() # The never and none settings should succeed. @@ -82,5 +84,6 @@ self.session.commit_transaction() c.close() + if __name__ == '__main__': wttest.run() CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py']] failed: ************* Module test_async03 src/third_party/wiredtiger/test/suite/test_async03.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_async03.py(30): [C0410(multiple-imports)] Multiple imports on one line (sys, threading, wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_async03.py(32): [C0111(missing-docstring)Callback] Missing class docstring src/third_party/wiredtiger/test/suite/test_async03.py(36): [C0111(missing-docstring)Callback.notify] Missing method docstring src/third_party/wiredtiger/test/suite/test_async03.py(36): [W0613(unused-argument)Callback.notify] Unused argument 'op_ret' src/third_party/wiredtiger/test/suite/test_async03.py(36): [W0613(unused-argument)Callback.notify] Unused argument 'flags' src/third_party/wiredtiger/test/suite/test_async03.py(36): [W0613(unused-argument)Callback.notify] Unused argument 'op' src/third_party/wiredtiger/test/suite/test_async03.py(36): [R0201(no-self-use)Callback.notify] Method could be a function src/third_party/wiredtiger/test/suite/test_async03.py(43): [C0103(invalid-name)test_async03] Class name "test_async03" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_async03.py(53): [C0111(missing-docstring)test_async03.test_ops] Missing method docstring src/third_party/wiredtiger/test/suite/test_async03.py(30): [C0411(wrong-import-order)] standard import "import sys, threading, wiredtiger, wttest" should be placed before "from wiredtiger import WiredTigerError" src/third_party/wiredtiger/test/suite/test_async03.py(30): [C0411(wrong-import-order)] standard import "import sys, threading, wiredtiger, wttest" should be placed before "from wiredtiger import WiredTigerError" src/third_party/wiredtiger/test/suite/test_async03.py(30): [C0411(wrong-import-order)] standard import "import sys, threading, wiredtiger, wttest" should be placed before "from wiredtiger import WiredTigerError" src/third_party/wiredtiger/test/suite/test_async03.py(30): [C0412(ungrouped-imports)] Imports from package sys are not grouped ------------------------------------------------------------------ Your code has been rated at 2.63/10 (previous run: 2.63/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py']] failed: ************* Module helper src/third_party/wiredtiger/test/suite/helper.py(68): [C0325(superfluous-parens)] Unnecessary parens after 'if' keyword src/third_party/wiredtiger/test/suite/helper.py(95): [C0326(bad-whitespace)] Exactly one space required after comma for key,val in cursor: ^ src/third_party/wiredtiger/test/suite/helper.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/helper.py(30): [C0410(multiple-imports)] Multiple imports on one line (glob, os, shutil, string, subprocess) src/third_party/wiredtiger/test/suite/helper.py(38): [C0111(missing-docstring)compare_files] Missing function docstring src/third_party/wiredtiger/test/suite/helper.py(58): [C0111(missing-docstring)compare_tables] Missing function docstring src/third_party/wiredtiger/test/suite/helper.py(78): [C0103(invalid-name)compare_tables] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/helper.py(58): [W0613(unused-argument)compare_tables] Unused argument 'self' src/third_party/wiredtiger/test/suite/helper.py(82): [C0111(missing-docstring)confirm_does_not_exist] Missing function docstring src/third_party/wiredtiger/test/suite/helper.py(91): [C0111(missing-docstring)confirm_empty] Missing function docstring src/third_party/wiredtiger/test/suite/helper.py(95): [W0612(unused-variable)confirm_empty] Unused variable 'key' src/third_party/wiredtiger/test/suite/helper.py(102): [C0111(missing-docstring)copy_wiredtiger_home] Missing function docstring src/third_party/wiredtiger/test/suite/helper.py(124): [C0103(invalid-name)copy_wiredtiger_home] Variable name "a" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern ------------------------------------------------------------------ Your code has been rated at 8.00/10 (previous run: 8.00/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py']] failed: ************* Module suite_subprocess src/third_party/wiredtiger/test/suite/suite_subprocess.py(193): [C0326(bad-whitespace)] No space allowed after bracket procargs = [ wtexe ] ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(193): [C0326(bad-whitespace)] No space allowed before bracket procargs = [ wtexe ] ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(195): [C0326(bad-whitespace)] No space allowed after bracket procargs = [ "gdb", "--args" ] + procargs ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(195): [C0326(bad-whitespace)] No space allowed before bracket procargs = [ "gdb", "--args" ] + procargs ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(197): [C0326(bad-whitespace)] No space allowed after bracket procargs = [ "lldb", "--" ] + procargs ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(197): [C0326(bad-whitespace)] No space allowed before bracket procargs = [ "lldb", "--" ] + procargs ^ src/third_party/wiredtiger/test/suite/suite_subprocess.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(29): [C0410(multiple-imports)] Multiple imports on one line (os, re, subprocess, sys) src/third_party/wiredtiger/test/suite/suite_subprocess.py(36): [C0103(invalid-name)suite_subprocess] Class name "suite_subprocess" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/suite_subprocess.py(36): [C0111(missing-docstring)suite_subprocess] Missing class docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(36): [C1001(old-style-class)suite_subprocess] Old-style class defined. src/third_party/wiredtiger/test/suite/suite_subprocess.py(36): [W0232(no-init)suite_subprocess] Class has no __init__ method src/third_party/wiredtiger/test/suite/suite_subprocess.py(44): [C0103(invalid-name)suite_subprocess.has_error_in_file] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(39): [R0201(no-self-use)suite_subprocess.has_error_in_file] Method could be a function src/third_party/wiredtiger/test/suite/suite_subprocess.py(56): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasError" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(57): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasPrevious" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(58): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasNext" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(59): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(62): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasError" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(65): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasNext" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(70): [C0103(invalid-name)suite_subprocess.check_no_error_in_file] Variable name "hasPrevious" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(84): [C0103(invalid-name)suite_subprocess.convert_to_pattern] Argument name "s" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(84): [C0111(missing-docstring)suite_subprocess.convert_to_pattern] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(85): [R1705(no-else-return)suite_subprocess.convert_to_pattern] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/suite_subprocess.py(84): [R0201(no-self-use)suite_subprocess.convert_to_pattern] Method could be a function src/third_party/wiredtiger/test/suite/suite_subprocess.py(90): [C0111(missing-docstring)suite_subprocess.check_file_content] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(91): [C0103(invalid-name)suite_subprocess.check_file_content] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(100): [C0103(invalid-name)suite_subprocess.check_file_contains_one_of] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(105): [C0121(singleton-comparison)suite_subprocess.check_file_contains_one_of] Comparison to None should be 'expr is None' src/third_party/wiredtiger/test/suite/suite_subprocess.py(125): [C0111(missing-docstring)suite_subprocess.check_file_contains] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(134): [C0103(invalid-name)suite_subprocess.check_empty_file] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(149): [C0111(missing-docstring)suite_subprocess.verbose_env] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(149): [R0201(no-self-use)suite_subprocess.verbose_env] Method could be a function src/third_party/wiredtiger/test/suite/suite_subprocess.py(152): [C0111(missing-docstring)suite_subprocess.show_outputs] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(162): [C0103(invalid-name)suite_subprocess.show_outputs] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(164): [C1801(len-as-condition)suite_subprocess.show_outputs] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [C0103(invalid-name)suite_subprocess.runWt] Method name "runWt" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [C0111(missing-docstring)suite_subprocess.runWt] Missing method docstring src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [R0913(too-many-arguments)suite_subprocess.runWt] Too many arguments (8/5) src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [R0914(too-many-locals)suite_subprocess.runWt] Too many local variables (17/15) src/third_party/wiredtiger/test/suite/suite_subprocess.py(242): [C0121(singleton-comparison)suite_subprocess.runWt] Comparison to None should be 'expr is None' src/third_party/wiredtiger/test/suite/suite_subprocess.py(244): [C0121(singleton-comparison)suite_subprocess.runWt] Comparison to None should be 'expr is None' src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [R0912(too-many-branches)suite_subprocess.runWt] Too many branches (18/12) src/third_party/wiredtiger/test/suite/suite_subprocess.py(172): [R0915(too-many-statements)suite_subprocess.runWt] Too many statements (54/50) ------------------------------------------------------------------ Your code has been rated at 7.03/10 (previous run: 7.03/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py']] failed: ************* Module run src/third_party/wiredtiger/test/suite/run.py(305): [W0311(bad-indentation)] Bad indentation. Found 24 spaces, expected 20 src/third_party/wiredtiger/test/suite/run.py(307): [W0311(bad-indentation)] Bad indentation. Found 24 spaces, expected 20 src/third_party/wiredtiger/test/suite/run.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/run.py(33): [C0410(multiple-imports)] Multiple imports on one line (glob, json, os, re, sys) src/third_party/wiredtiger/test/suite/run.py(36): [C0103(invalid-name)] Constant name "suitedir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(37): [C0103(invalid-name)] Constant name "wt_disttop" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(38): [C0103(invalid-name)] Constant name "wt_3rdpartydir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(45): [C0103(invalid-name)] Constant name "wt_builddir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(47): [C0103(invalid-name)] Constant name "wt_builddir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(49): [C0103(invalid-name)] Constant name "wt_builddir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(51): [C0103(invalid-name)] Constant name "wt_builddir" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(69): [C0413(wrong-import-position)] Import "import wttest" should be placed at the top of the module src/third_party/wiredtiger/test/suite/run.py(71): [C0103(invalid-name)] Constant name "unittest" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(72): [C0413(wrong-import-position)] Import "from testscenarios.scenarios import generate_scenarios" should be placed at the top of the module src/third_party/wiredtiger/test/suite/run.py(74): [C0111(missing-docstring)usage] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(106): [C0103(invalid-name)] Constant name "reCatname" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(108): [C0103(invalid-name)restrictScenario] Function name "restrictScenario" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(108): [C0111(missing-docstring)restrictScenario] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(109): [R1705(no-else-return)restrictScenario] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/run.py(112): [C0103(invalid-name)restrictScenario] Variable name "s" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(119): [W0621(redefined-outer-name)addScenarioTests] Redefining name 'tests' from outer scope (line 238) src/third_party/wiredtiger/test/suite/run.py(119): [W0621(redefined-outer-name)addScenarioTests] Redefining name 'scenario' from outer scope (line 246) src/third_party/wiredtiger/test/suite/run.py(119): [W0621(redefined-outer-name)addScenarioTests] Redefining name 'loader' from outer scope (line 252) src/third_party/wiredtiger/test/suite/run.py(119): [C0103(invalid-name)addScenarioTests] Function name "addScenarioTests" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(119): [C0111(missing-docstring)addScenarioTests] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(123): [C0103(invalid-name)configRecord] Function name "configRecord" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(142): [C0103(invalid-name)configGet] Function name "configGet" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(159): [W0621(redefined-outer-name)configApplyInner] Redefining name 'suites' from outer scope (line 341) src/third_party/wiredtiger/test/suite/run.py(159): [W0621(redefined-outer-name)configApplyInner] Redefining name 'configwrite' from outer scope (line 244) src/third_party/wiredtiger/test/suite/run.py(159): [C0103(invalid-name)configApplyInner] Function name "configApplyInner" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(159): [C0111(missing-docstring)configApplyInner] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(161): [C0103(invalid-name)configApplyInner] Variable name "s" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(162): [C0123(unidiomatic-typecheck)configApplyInner] Using type() instead of isinstance() for a typecheck. src/third_party/wiredtiger/test/suite/run.py(168): [W0212(protected-access)configApplyInner] Access to a protected member _testMethodName of a client class src/third_party/wiredtiger/test/suite/run.py(180): [W0621(redefined-outer-name)configApply] Redefining name 'suites' from outer scope (line 341) src/third_party/wiredtiger/test/suite/run.py(180): [W0621(redefined-outer-name)configApply] Redefining name 'configwrite' from outer scope (line 244) src/third_party/wiredtiger/test/suite/run.py(184): [W0621(redefined-outer-name)configApply] Redefining name 'line' from outer scope (line 358) src/third_party/wiredtiger/test/suite/run.py(180): [C0103(invalid-name)configApply] Function name "configApply" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(180): [C0111(missing-docstring)configApply] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(183): [C0103(invalid-name)configApply] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(192): [C0103(invalid-name)configApply] Variable name "f" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(213): [W0621(redefined-outer-name)testsFromArg] Redefining name 'tests' from outer scope (line 238) src/third_party/wiredtiger/test/suite/run.py(213): [W0621(redefined-outer-name)testsFromArg] Redefining name 'scenario' from outer scope (line 246) src/third_party/wiredtiger/test/suite/run.py(213): [W0621(redefined-outer-name)testsFromArg] Redefining name 'loader' from outer scope (line 252) src/third_party/wiredtiger/test/suite/run.py(218): [W0622(redefined-builtin)testsFromArg] Redefining built-in 'file' src/third_party/wiredtiger/test/suite/run.py(213): [W0621(redefined-outer-name)testsFromArg] Redefining name 'arg' from outer scope (line 251) src/third_party/wiredtiger/test/suite/run.py(213): [C0103(invalid-name)testsFromArg] Function name "testsFromArg" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(213): [C0111(missing-docstring)testsFromArg] Missing function docstring src/third_party/wiredtiger/test/suite/run.py(217): [C1801(len-as-condition)testsFromArg] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(234): [C0103(invalid-name)testsFromArg] Variable name "t" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/run.py(238): [C0103(invalid-name)] Constant name "tests" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "preserve" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "timestamp" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "debug" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "dryRun" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "gdbSub" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "lldbSub" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(241): [C0103(invalid-name)] Constant name "longtest" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(242): [C0103(invalid-name)] Constant name "parallel" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(243): [C0103(invalid-name)] Constant name "configfile" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(244): [C0103(invalid-name)] Constant name "configwrite" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(245): [C0103(invalid-name)] Constant name "dirarg" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(246): [C0103(invalid-name)] Constant name "scenario" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(247): [C0103(invalid-name)] Constant name "verbose" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(248): [C0103(invalid-name)] Constant name "args" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(249): [C0103(invalid-name)] Constant name "testargs" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(250): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(251): [C0103(invalid-name)] Constant name "arg" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(256): [C0103(invalid-name)] Constant name "option" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(258): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(261): [C0103(invalid-name)] Constant name "dirarg" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(264): [C0103(invalid-name)] Constant name "debug" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(267): [C0103(invalid-name)] Constant name "dryRun" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(270): [C0103(invalid-name)] Constant name "gdbSub" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(273): [C0103(invalid-name)] Constant name "lldbSub" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(279): [C0103(invalid-name)] Constant name "longtest" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(282): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(285): [C0103(invalid-name)] Constant name "parallel" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(288): [C0103(invalid-name)] Constant name "preserve" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(291): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(294): [C0103(invalid-name)] Constant name "scenario" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(297): [C0103(invalid-name)] Constant name "timestamp" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(300): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(303): [C0103(invalid-name)] Constant name "verbose" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(305): [C0103(invalid-name)] Constant name "verbose" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(307): [C0103(invalid-name)] Constant name "verbose" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(310): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(313): [C0103(invalid-name)] Constant name "configfile" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(316): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(319): [C0103(invalid-name)] Constant name "configfile" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(320): [C0103(invalid-name)] Constant name "configwrite" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(334): [C1801(len-as-condition)] Do not use `len(SEQUENCE)` to determine if a sequence is empty src/third_party/wiredtiger/test/suite/run.py(341): [C0103(invalid-name)] Constant name "suites" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(342): [C0103(invalid-name)] Constant name "suites" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(344): [C0103(invalid-name)] Constant name "suites" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(355): [C0103(invalid-name)] Constant name "dryOutput" doesn't conform to UPPER_CASE naming style src/third_party/wiredtiger/test/suite/run.py(361): [C0103(invalid-name)] Constant name "result" doesn't conform to UPPER_CASE naming style ------------------------------------------------------------------ Your code has been rated at 5.53/10 (previous run: 5.53/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py']] failed: ************* Module suite_random src/third_party/wiredtiger/test/suite/suite_random.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/suite_random.py(31): [C0103(invalid-name)suite_random] Class name "suite_random" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/suite_random.py(31): [C1001(old-style-class)suite_random] Old-style class defined. src/third_party/wiredtiger/test/suite/suite_random.py(54): [C0103(invalid-name)suite_random.rand32] Variable name "w" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_random.py(55): [C0103(invalid-name)suite_random.rand32] Variable name "z" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_random.py(64): [C0103(invalid-name)suite_random.rand_range] Argument name "n" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_random.py(64): [C0103(invalid-name)suite_random.rand_range] Argument name "m" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/suite_random.py(72): [C0103(invalid-name)suite_random.rand_range] Variable name "r" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern ------------------------------------------------------------------ Your code has been rated at 7.24/10 (previous run: 7.24/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py']] failed: ************* Module test_alter01 src/third_party/wiredtiger/test/suite/test_alter01.py(51): [C0326(bad-whitespace)] Exactly one space required around assignment access_alter=('', 'none', 'random', 'sequential') ^ src/third_party/wiredtiger/test/suite/test_alter01.py(62): [C0326(bad-whitespace)] Exactly one space required around assignment cache_alter=('', 'false', 'true') ^ src/third_party/wiredtiger/test/suite/test_alter01.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_alter01.py(29): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_alter01.py(34): [C0103(invalid-name)test_alter01] Class name "test_alter01" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_alter01.py(34): [C0111(missing-docstring)test_alter01] Missing class docstring src/third_party/wiredtiger/test/suite/test_alter01.py(65): [C0111(missing-docstring)test_alter01.verify_metadata] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter01.py(86): [C0121(singleton-comparison)test_alter01.verify_metadata] Comparison to True should be just 'expr' or 'expr is True' src/third_party/wiredtiger/test/suite/test_alter01.py(89): [C0111(missing-docstring)test_alter01.test_alter01_access] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter01.py(131): [C0103(invalid-name)test_alter01.test_alter01_access] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter01.py(144): [C0103(invalid-name)test_alter01.test_alter01_access] Variable name "a" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter01.py(149): [C0103(invalid-name)test_alter01.test_alter01_access] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter01.py(89): [R0912(too-many-branches)test_alter01.test_alter01_access] Too many branches (17/12) src/third_party/wiredtiger/test/suite/test_alter01.py(89): [R0915(too-many-statements)test_alter01.test_alter01_access] Too many statements (55/50) ------------------------------------------------------------------ Your code has been rated at 8.37/10 (previous run: 8.37/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py']] failed: ************* Module test_assert01 src/third_party/wiredtiger/test/suite/test_assert01.py(68): [C0325(superfluous-parens)] Unnecessary parens after 'if' keyword src/third_party/wiredtiger/test/suite/test_assert01.py(73): [C0326(bad-whitespace)] Exactly one space required after : lambda:self.assertEquals(self.session.commit_transaction(), ^ src/third_party/wiredtiger/test/suite/test_assert01.py(85): [C0325(superfluous-parens)] Unnecessary parens after 'if' keyword src/third_party/wiredtiger/test/suite/test_assert01.py(90): [C0326(bad-whitespace)] Exactly one space required after : lambda:self.assertEquals(self.session.commit_transaction(), ^ src/third_party/wiredtiger/test/suite/test_assert01.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_assert01.py(34): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_assert01.py(36): [C0103(invalid-name)timestamp_str] Argument name "t" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert01.py(36): [C0111(missing-docstring)timestamp_str] Missing function docstring src/third_party/wiredtiger/test/suite/test_assert01.py(39): [C0103(invalid-name)test_assert01] Class name "test_assert01" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_assert01.py(39): [C0111(missing-docstring)test_assert01] Missing class docstring src/third_party/wiredtiger/test/suite/test_assert01.py(57): [C0111(missing-docstring)test_assert01.insert_check] Missing method docstring src/third_party/wiredtiger/test/suite/test_assert01.py(58): [C0103(invalid-name)test_assert01.insert_check] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert01.py(81): [C0103(invalid-name)test_assert01.insert_check] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert01.py(95): [C0111(missing-docstring)test_assert01.test_commit_timestamp] Missing method docstring ------------------------------------------------------------------ Your code has been rated at 7.41/10 (previous run: 7.41/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py']] failed: ************* Module test_async02 src/third_party/wiredtiger/test/suite/test_async02.py(122): [C0326(bad-whitespace)] Exactly one space required after comma ('file-col', dict(tablekind='col',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(123): [C0326(bad-whitespace)] Exactly one space required after comma ('file-fix', dict(tablekind='fix',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(124): [C0326(bad-whitespace)] Exactly one space required after comma ('file-row', dict(tablekind='row',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(125): [C0326(bad-whitespace)] Exactly one space required after comma ('lsm-row', dict(tablekind='row',uri='lsm')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(126): [C0326(bad-whitespace)] Exactly one space required after comma ('table-col', dict(tablekind='col',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(127): [C0326(bad-whitespace)] Exactly one space required after comma ('table-fix', dict(tablekind='fix',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(128): [C0326(bad-whitespace)] Exactly one space required after comma ('table-row', dict(tablekind='row',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async02.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_async02.py(29): [C0410(multiple-imports)] Multiple imports on one line (sys, threading, wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_async02.py(34): [C0111(missing-docstring)Callback] Missing class docstring src/third_party/wiredtiger/test/suite/test_async02.py(34): [R0902(too-many-instance-attributes)Callback] Too many instance attributes (8/7) src/third_party/wiredtiger/test/suite/test_async02.py(45): [C0111(missing-docstring)Callback.notify_error] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(45): [R0913(too-many-arguments)Callback.notify_error] Too many arguments (6/5) src/third_party/wiredtiger/test/suite/test_async02.py(49): [C0111(missing-docstring)Callback.notify] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(49): [W0613(unused-argument)Callback.notify] Unused argument 'flags' src/third_party/wiredtiger/test/suite/test_async02.py(111): [C0103(invalid-name)test_async02] Class name "test_async02" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_async02.py(132): [C0111(missing-docstring)test_async02.conn_config] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(132): [E0202(method-hidden)test_async02.conn_config] An attribute defined in wttest line 350 hides this method src/third_party/wiredtiger/test/suite/test_async02.py(136): [C0111(missing-docstring)test_async02.genkey] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(137): [R1705(no-else-return)test_async02.genkey] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/test_async02.py(142): [C0111(missing-docstring)test_async02.genvalue] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(143): [R1705(no-else-return)test_async02.genvalue] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/test_async02.py(149): [C0111(missing-docstring)test_async02.create_session] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(163): [C0111(missing-docstring)test_async02.test_ops] Missing method docstring src/third_party/wiredtiger/test/suite/test_async02.py(172): [C0103(invalid-name)test_async02.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async02.py(182): [C0103(invalid-name)test_async02.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async02.py(191): [C0103(invalid-name)test_async02.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async02.py(29): [C0412(ungrouped-imports)] Imports from package sys are not grouped ------------------------------------------------------------------ Your code has been rated at 7.50/10 (previous run: 7.50/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py']] failed: ************* Module test_autoclose src/third_party/wiredtiger/test/suite/test_autoclose.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_autoclose.py(29): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest, exceptions) src/third_party/wiredtiger/test/suite/test_autoclose.py(32): [C0103(invalid-name)test_autoclose] Class name "test_autoclose" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_autoclose.py(40): [C0111(missing-docstring)test_autoclose.create_table] Missing method docstring src/third_party/wiredtiger/test/suite/test_autoclose.py(44): [C0111(missing-docstring)test_autoclose.drop_table] Missing method docstring src/third_party/wiredtiger/test/suite/test_autoclose.py(47): [C0111(missing-docstring)test_autoclose.open_cursor] Missing method docstring src/third_party/wiredtiger/test/suite/test_autoclose.py(61): [W0108(unnecessary-lambda)test_autoclose.test_close_cursor1.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_autoclose.py(76): [W0108(unnecessary-lambda)test_autoclose.test_close_cursor2.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_autoclose.py(90): [W0108(unnecessary-lambda)test_autoclose.test_close_cursor3.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_autoclose.py(137): [W0108(unnecessary-lambda)test_autoclose.test_close_session1.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_autoclose.py(147): [W0108(unnecessary-lambda)test_autoclose.test_close_session2.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_autoclose.py(29): [C0411(wrong-import-order)] standard import "import wiredtiger, wttest, exceptions" should be placed before "import wiredtiger, wttest, exceptions" ------------------------------------------------------------------ Your code has been rated at 8.15/10 (previous run: 8.15/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py']] failed: ************* Module test_alter02 src/third_party/wiredtiger/test/suite/test_alter02.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_alter02.py(29): [C0410(multiple-imports)] Multiple imports on one line (sys, wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_alter02.py(34): [C0103(invalid-name)test_alter02] Class name "test_alter02" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_alter02.py(34): [C0111(missing-docstring)test_alter02] Missing class docstring src/third_party/wiredtiger/test/suite/test_alter02.py(69): [W0622(redefined-builtin)test_alter02.setUpConnectionOpen] Redefining built-in 'dir' src/third_party/wiredtiger/test/suite/test_alter02.py(69): [W0221(arguments-differ)test_alter02.setUpConnectionOpen] Parameters differ from overridden 'setUpConnectionOpen' method src/third_party/wiredtiger/test/suite/test_alter02.py(69): [W0613(unused-argument)test_alter02.setUpConnectionOpen] Unused argument 'dir' src/third_party/wiredtiger/test/suite/test_alter02.py(73): [C0103(invalid-name)test_alter02.ConnectionOpen] Method name "ConnectionOpen" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter02.py(73): [C0111(missing-docstring)test_alter02.ConnectionOpen] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter02.py(80): [C0103(invalid-name)test_alter02.ConnectionOpen] Variable name "e" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter02.py(80): [W0612(unused-variable)test_alter02.ConnectionOpen] Unused variable 'e' src/third_party/wiredtiger/test/suite/test_alter02.py(86): [C0111(missing-docstring)test_alter02.verify_metadata] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter02.py(107): [C0121(singleton-comparison)test_alter02.verify_metadata] Comparison to True should be just 'expr' or 'expr is True' src/third_party/wiredtiger/test/suite/test_alter02.py(111): [C0111(missing-docstring)test_alter02.verify_logrecs] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter02.py(112): [C0103(invalid-name)test_alter02.verify_logrecs] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter02.py(123): [W0702(bare-except)test_alter02.verify_logrecs] No exception type(s) specified src/third_party/wiredtiger/test/suite/test_alter02.py(122): [E0602(undefined-variable)test_alter02.verify_logrecs] Undefined variable 'value2' src/third_party/wiredtiger/test/suite/test_alter02.py(116): [W0612(unused-variable)test_alter02.verify_logrecs] Unused variable 'keys' src/third_party/wiredtiger/test/suite/test_alter02.py(129): [C0111(missing-docstring)test_alter02.test_alter02_log] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter02.py(129): [R0914(too-many-locals)test_alter02.test_alter02_log] Too many local variables (16/15) src/third_party/wiredtiger/test/suite/test_alter02.py(170): [C0103(invalid-name)test_alter02.test_alter02_log] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter02.py(214): [C0103(invalid-name)test_alter02.test_alter02_log] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter02.py(129): [R0912(too-many-branches)test_alter02.test_alter02_log] Too many branches (22/12) src/third_party/wiredtiger/test/suite/test_alter02.py(129): [R0915(too-many-statements)test_alter02.test_alter02_log] Too many statements (76/50) src/third_party/wiredtiger/test/suite/test_alter02.py(74): [W0201(attribute-defined-outside-init)test_alter02.ConnectionOpen] Attribute 'home' defined outside __init__ src/third_party/wiredtiger/test/suite/test_alter02.py(136): [W0201(attribute-defined-outside-init)test_alter02.test_alter02_log] Attribute 'uselog' defined outside __init__ src/third_party/wiredtiger/test/suite/test_alter02.py(139): [W0201(attribute-defined-outside-init)test_alter02.test_alter02_log] Attribute 'uselog' defined outside __init__ src/third_party/wiredtiger/test/suite/test_alter02.py(201): [W0201(attribute-defined-outside-init)test_alter02.test_alter02_log] Attribute 'uselog' defined outside __init__ src/third_party/wiredtiger/test/suite/test_alter02.py(204): [W0201(attribute-defined-outside-init)test_alter02.test_alter02_log] Attribute 'uselog' defined outside __init__ ------------------------------------------------------------------ Your code has been rated at 7.42/10 (previous run: 7.42/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py']] failed: ************* Module test_alter03 src/third_party/wiredtiger/test/suite/test_alter03.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_alter03.py(29): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_alter03.py(34): [C0103(invalid-name)test_alter03] Class name "test_alter03" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_alter03.py(34): [C0111(missing-docstring)test_alter03] Missing class docstring src/third_party/wiredtiger/test/suite/test_alter03.py(37): [C0111(missing-docstring)test_alter03.verify_metadata] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter03.py(40): [C0103(invalid-name)test_alter03.verify_metadata] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter03.py(61): [C0111(missing-docstring)test_alter03.test_alter03_table_app_metadata] Missing method docstring src/third_party/wiredtiger/test/suite/test_alter03.py(70): [C0103(invalid-name)test_alter03.test_alter03_table_app_metadata] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_alter03.py(117): [C0111(missing-docstring)test_alter03.test_alter03_lsm_app_metadata] Missing method docstring ------------------------------------------------------------------ Your code has been rated at 8.42/10 (previous run: 8.42/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py']] failed: ************* Module test_backup01 src/third_party/wiredtiger/test/suite/test_backup01.py(42): [C0326(bad-whitespace)] Exactly one space required around assignment dir='backup.dir' # Backup directory name ^ src/third_party/wiredtiger/test/suite/test_backup01.py(46): [C0326(bad-whitespace)] No space allowed after bracket ( 'file:' + pfx + '.1', SimpleDataSet, 0), ^ src/third_party/wiredtiger/test/suite/test_backup01.py(47): [C0326(bad-whitespace)] No space allowed after bracket ( 'file:' + pfx + '.2', SimpleDataSet, 0), ^ src/third_party/wiredtiger/test/suite/test_backup01.py(61): [W0311(bad-indentation)] Bad indentation. Found 24 spaces, expected 20 src/third_party/wiredtiger/test/suite/test_backup01.py(139): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([0,2,4,6]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(139): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([0,2,4,6]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(139): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([0,2,4,6]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(140): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([1,3,5,7]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(140): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([1,3,5,7]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(140): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([1,3,5,7]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(141): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([0,1,2]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(141): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([0,1,2]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(142): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([3,4,5]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(142): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([3,4,5]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(143): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([5,6,7]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(143): [C0326(bad-whitespace)] Exactly one space required after comma self.backup_table([5,6,7]) ^ src/third_party/wiredtiger/test/suite/test_backup01.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_backup01.py(34): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_backup01.py(41): [C0103(invalid-name)test_backup] Class name "test_backup" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_backup01.py(41): [C0111(missing-docstring)test_backup] Missing class docstring src/third_party/wiredtiger/test/suite/test_backup01.py(57): [C0111(missing-docstring)test_backup.populate] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(65): [C0111(missing-docstring)test_backup.compare] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(71): [C0111(missing-docstring)test_backup.test_cursor_simple] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(76): [C0111(missing-docstring)test_backup.test_cursor_single] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(84): [C0111(missing-docstring)test_backup.test_backup_database] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(100): [C0103(invalid-name)test_backup.confirmPathDoesNotExist] Method name "confirmPathDoesNotExist" doesn't conform to u'[a-z_][a-z0-9_]{2,50}$' pattern src/third_party/wiredtiger/test/suite/test_backup01.py(100): [C0111(missing-docstring)test_backup.confirmPathDoesNotExist] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(113): [C0103(invalid-name)test_backup.backup_table] Argument name "l" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_backup01.py(113): [C0111(missing-docstring)test_backup.backup_table] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(119): [C0103(invalid-name)test_backup.backup_table] Variable name "o" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_backup01.py(122): [C0103(invalid-name)test_backup.backup_table] Variable name "o" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_backup01.py(123): [C0103(invalid-name)test_backup.backup_table] Variable name "o" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_backup01.py(137): [C0111(missing-docstring)test_backup.test_backup_table] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(146): [C0111(missing-docstring)test_backup.test_cursor_reset] Missing method docstring src/third_party/wiredtiger/test/suite/test_backup01.py(168): [C0111(missing-docstring)test_backup.test_checkpoint_delete] Missing method docstring ------------------------------------------------------------------ Your code has been rated at 6.53/10 (previous run: 6.53/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py']] failed: ************* Module test_assert02 src/third_party/wiredtiger/test/suite/test_assert02.py(105): [C0326(bad-whitespace)] Exactly one space required after : lambda:self.assertEquals(c_never.search(), 0), msg) ^ src/third_party/wiredtiger/test/suite/test_assert02.py(133): [C0326(bad-whitespace)] Exactly one space required after : lambda:self.assertEquals(c_always.search(), 0), msg) ^ src/third_party/wiredtiger/test/suite/test_assert02.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_assert02.py(34): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_assert02.py(36): [C0103(invalid-name)timestamp_str] Argument name "t" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert02.py(36): [C0111(missing-docstring)timestamp_str] Missing function docstring src/third_party/wiredtiger/test/suite/test_assert02.py(39): [C0103(invalid-name)test_assert02] Class name "test_assert02" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_assert02.py(39): [C0111(missing-docstring)test_assert02] Missing class docstring src/third_party/wiredtiger/test/suite/test_assert02.py(40): [C0111(missing-docstring)test_assert02.test_read_timestamp] Missing method docstring src/third_party/wiredtiger/test/suite/test_assert02.py(40): [R0914(too-many-locals)test_assert02.test_read_timestamp] Too many local variables (17/15) src/third_party/wiredtiger/test/suite/test_assert02.py(40): [R0915(too-many-statements)test_assert02.test_read_timestamp] Too many statements (77/50) ------------------------------------------------------------------ Your code has been rated at 8.69/10 (previous run: 8.69/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py']] failed: ************* Module test_assert03 src/third_party/wiredtiger/test/suite/test_assert03.py(67): [C0326(bad-whitespace)] Exactly one space required after : lambda:self.assertEquals(self.session.commit_transaction(), 0), msg) ^ src/third_party/wiredtiger/test/suite/test_assert03.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_assert03.py(34): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_assert03.py(36): [C0103(invalid-name)test_assert03] Class name "test_assert03" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_assert03.py(36): [C0111(missing-docstring)test_assert03] Missing class docstring src/third_party/wiredtiger/test/suite/test_assert03.py(44): [C0111(missing-docstring)test_assert03.test_assert03] Missing method docstring src/third_party/wiredtiger/test/suite/test_assert03.py(53): [C0103(invalid-name)test_assert03.test_assert03] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert03.py(62): [C0103(invalid-name)test_assert03.test_assert03] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert03.py(72): [C0103(invalid-name)test_assert03.test_assert03] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert03.py(79): [C0103(invalid-name)test_assert03.test_assert03] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern ------------------------------------------------------------------ Your code has been rated at 7.44/10 (previous run: 7.44/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py']] failed: ************* Module test_async01 src/third_party/wiredtiger/test/suite/test_async01.py(125): [C0326(bad-whitespace)] Exactly one space required after comma ('file-col', dict(tablekind='col',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(126): [C0326(bad-whitespace)] Exactly one space required after comma ('file-fix', dict(tablekind='fix',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(127): [C0326(bad-whitespace)] Exactly one space required after comma ('file-row', dict(tablekind='row',uri='file')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(128): [C0326(bad-whitespace)] Exactly one space required after comma ('lsm-row', dict(tablekind='row',uri='lsm')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(129): [C0326(bad-whitespace)] Exactly one space required after comma ('table-col', dict(tablekind='col',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(130): [C0326(bad-whitespace)] Exactly one space required after comma ('table-fix', dict(tablekind='fix',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(131): [C0326(bad-whitespace)] Exactly one space required after comma ('table-row', dict(tablekind='row',uri='table')), ^ src/third_party/wiredtiger/test/suite/test_async01.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_async01.py(29): [C0410(multiple-imports)] Multiple imports on one line (sys, threading, wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_async01.py(35): [C0103(invalid-name)tty_pr] Argument name "s" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(35): [C0111(missing-docstring)tty_pr] Missing function docstring src/third_party/wiredtiger/test/suite/test_async01.py(36): [C0103(invalid-name)tty_pr] Variable name "o" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(40): [C0111(missing-docstring)Callback] Missing class docstring src/third_party/wiredtiger/test/suite/test_async01.py(40): [R0902(too-many-instance-attributes)Callback] Too many instance attributes (8/7) src/third_party/wiredtiger/test/suite/test_async01.py(51): [C0111(missing-docstring)Callback.notify_error] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(51): [R0201(no-self-use)Callback.notify_error] Method could be a function src/third_party/wiredtiger/test/suite/test_async01.py(55): [C0111(missing-docstring)Callback.notify] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(55): [W0613(unused-argument)Callback.notify] Unused argument 'op_ret' src/third_party/wiredtiger/test/suite/test_async01.py(55): [W0613(unused-argument)Callback.notify] Unused argument 'flags' src/third_party/wiredtiger/test/suite/test_async01.py(114): [C0103(invalid-name)test_async01] Class name "test_async01" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_async01.py(135): [C0111(missing-docstring)test_async01.conn_config] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(135): [E0202(method-hidden)test_async01.conn_config] An attribute defined in wttest line 350 hides this method src/third_party/wiredtiger/test/suite/test_async01.py(139): [C0111(missing-docstring)test_async01.genkey] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(140): [R1705(no-else-return)test_async01.genkey] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/test_async01.py(145): [C0111(missing-docstring)test_async01.genvalue] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(146): [R1705(no-else-return)test_async01.genvalue] Unnecessary "else" after "return" src/third_party/wiredtiger/test/suite/test_async01.py(152): [C0111(missing-docstring)test_async01.create_session] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(166): [C0111(missing-docstring)test_async01.test_ops] Missing method docstring src/third_party/wiredtiger/test/suite/test_async01.py(176): [C0103(invalid-name)test_async01.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(186): [C0103(invalid-name)test_async01.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(213): [C0103(invalid-name)test_async01.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(220): [C0103(invalid-name)test_async01.test_ops] Variable name "v" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_async01.py(166): [R0915(too-many-statements)test_async01.test_ops] Too many statements (61/50) src/third_party/wiredtiger/test/suite/test_async01.py(29): [C0412(ungrouped-imports)] Imports from package sys are not grouped ------------------------------------------------------------------ Your code has been rated at 7.61/10 (previous run: 7.61/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pylint', '--output-format=msvs', '--reports=n', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py']] failed: ************* Module test_assert04 src/third_party/wiredtiger/test/suite/test_assert04.py(48): [C0326(bad-whitespace)] Exactly one space required around assignment msg_ooo='/out of order/' ^ src/third_party/wiredtiger/test/suite/test_assert04.py(49): [C0326(bad-whitespace)] Exactly one space required around assignment msg_usage='/used inconsistently/' ^ src/third_party/wiredtiger/test/suite/test_assert04.py(176): [C0326(bad-whitespace)] Exactly one space required around assignment msg_ooo='/out of order/' ^ src/third_party/wiredtiger/test/suite/test_assert04.py(177): [C0326(bad-whitespace)] Exactly one space required around assignment msg_usage='/used inconsistently/' ^ src/third_party/wiredtiger/test/suite/test_assert04.py(1): [C0111(missing-docstring)] Missing module docstring src/third_party/wiredtiger/test/suite/test_assert04.py(34): [C0410(multiple-imports)] Multiple imports on one line (wiredtiger, wttest) src/third_party/wiredtiger/test/suite/test_assert04.py(36): [C0103(invalid-name)timestamp_str] Argument name "t" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(36): [C0111(missing-docstring)timestamp_str] Missing function docstring src/third_party/wiredtiger/test/suite/test_assert04.py(39): [C0103(invalid-name)test_assert04] Class name "test_assert04" doesn't conform to PascalCase naming style src/third_party/wiredtiger/test/suite/test_assert04.py(39): [C0111(missing-docstring)test_assert04] Missing class docstring src/third_party/wiredtiger/test/suite/test_assert04.py(40): [C0111(missing-docstring)test_assert04.test_timestamp_alter] Missing method docstring src/third_party/wiredtiger/test/suite/test_assert04.py(57): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(66): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(76): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(82): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(90): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(104): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(112): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(118): [W0108(unnecessary-lambda)test_assert04.test_timestamp_alter.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(122): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(126): [W0108(unnecessary-lambda)test_assert04.test_timestamp_alter.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(130): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(136): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(142): [W0108(unnecessary-lambda)test_assert04.test_timestamp_alter.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(145): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(156): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(162): [C0103(invalid-name)test_assert04.test_timestamp_alter] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(40): [R0915(too-many-statements)test_assert04.test_timestamp_alter] Too many statements (85/50) src/third_party/wiredtiger/test/suite/test_assert04.py(170): [C0111(missing-docstring)test_assert04.test_timestamp_usage] Missing method docstring src/third_party/wiredtiger/test/suite/test_assert04.py(186): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(195): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(201): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(205): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(219): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(231): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(238): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(241): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(250): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(257): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(263): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(269): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(275): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(277): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(281): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(288): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(294): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(298): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(301): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(305): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(307): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(314): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(320): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(326): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(329): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(335): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(341): [W0108(unnecessary-lambda)test_assert04.test_timestamp_usage.] Lambda may not be necessary src/third_party/wiredtiger/test/suite/test_assert04.py(344): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(350): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(359): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(363): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(372): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(378): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(386): [C0103(invalid-name)test_assert04.test_timestamp_usage] Variable name "c" doesn't conform to u'[a-z_][a-z0-9_]{1,50}$' pattern src/third_party/wiredtiger/test/suite/test_assert04.py(170): [R0915(too-many-statements)test_assert04.test_timestamp_usage] Too many statements (144/50) ------------------------------------------------------------------ Your code has been rated at 7.29/10 (previous run: 7.29/10, +0.00) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:38 in public function `compare_files`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:58 in public function `compare_tables`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:82 in public function `confirm_does_not_exist`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:91 in public function `confirm_empty`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/helper.py:102 in public function `copy_wiredtiger_home`: D103: Missing docstring in public function CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py:34 in public class `test_alter03`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py:37 in public method `verify_metadata`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py:61 in public method `test_alter03_table_app_metadata`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter03.py:117 in public method `test_alter03_lsm_app_metadata`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py:36 in public function `timestamp_str`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py:39 in public class `test_assert02`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert02.py:40 in public method `test_read_timestamp`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py:36 in public class `test_assert03`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert03.py:44 in public method `test_assert03`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py:34 in public class `test_alter01`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py:65 in public method `verify_metadata`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter01.py:89 in public method `test_alter01_access`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:32 in public class `test_autoclose`: D204: 1 blank line required after class docstring (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:32 in public class `test_autoclose`: D400: First line should end with a period (not 'e') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:32 in public class `test_autoclose`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:40 in public method `create_table`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:44 in public method `drop_table`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:47 in public method `open_cursor`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:51 in public method `test_close_cursor1`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:66 in public method `test_close_cursor2`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:80 in public method `test_close_cursor3`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:93 in public method `test_close_cursor4`: D400: First line should end with a period (not 's') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:93 in public method `test_close_cursor4`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:108 in public method `test_close_cursor5`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:131 in public method `test_close_session1`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:141 in public method `test_close_session2`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_autoclose.py:150 in public method `test_close_connection1`: D200: One-line docstring should fit on one line with quotes (found 3) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:36 in public class `suite_subprocess`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:39 in public method `has_error_in_file`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:50 in public method `check_no_error_in_file`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:84 in public method `convert_to_pattern`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:90 in public method `check_file_content`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:95 in public method `check_file_contains_one_of`: D400: First line should end with a period (not 's') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:95 in public method `check_file_contains_one_of`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:125 in public method `check_file_contains`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:128 in public method `check_empty_file`: D400: First line should end with a period (not 'y') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:128 in public method `check_empty_file`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:140 in public method `check_non_empty_file`: D400: First line should end with a period (not 'y') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:140 in public method `check_non_empty_file`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:149 in public method `verbose_env`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:152 in public method `show_outputs`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_subprocess.py:172 in public method `runWt`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:34 in public class `test_alter02`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:69 in public method `setUpConnectionOpen`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:71 in public method `setUpSessionOpen`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:73 in public method `ConnectionOpen`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:86 in public method `verify_metadata`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:111 in public method `verify_logrecs`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_alter02.py:129 in public method `test_alter02_log`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py:36 in public function `timestamp_str`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py:39 in public class `test_assert01`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py:57 in public method `insert_check`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert01.py:95 in public method `test_commit_timestamp`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:34 in public class `Callback`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:35 in public method `__init__`: D107: Missing docstring in __init__ /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:45 in public method `notify_error`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:49 in public method `notify`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:111 in public class `test_async02`: D204: 1 blank line required after class docstring (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:111 in public class `test_async02`: D400: First line should end with a period (not 's') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:111 in public class `test_async02`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:132 in public method `conn_config`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:136 in public method `genkey`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:142 in public method `genvalue`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:149 in public method `create_session`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py:163 in public method `test_ops`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:41 in public class `test_backup`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:57 in public method `populate`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:65 in public method `compare`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:71 in public method `test_cursor_simple`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:76 in public method `test_cursor_single`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:84 in public method `test_backup_database`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:100 in public method `confirmPathDoesNotExist`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:113 in public method `backup_table`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:137 in public method `test_backup_table`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:146 in public method `test_cursor_reset`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_backup01.py:168 in public method `test_checkpoint_delete`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:32 in public class `Callback`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:33 in public method `__init__`: D107: Missing docstring in __init__ /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:36 in public method `notify`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:43 in public class `test_async03`: D204: 1 blank line required after class docstring (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:43 in public class `test_async03`: D400: First line should end with a period (not 's') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:43 in public class `test_async03`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async03.py:53 in public method `test_ops`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:35 in public function `tty_pr`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:40 in public class `Callback`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:41 in public method `__init__`: D107: Missing docstring in __init__ /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:51 in public method `notify_error`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:55 in public method `notify`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:114 in public class `test_async01`: D204: 1 blank line required after class docstring (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:114 in public class `test_async01`: D400: First line should end with a period (not 's') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:114 in public class `test_async01`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:135 in public method `conn_config`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:139 in public method `genkey`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:145 in public method `genvalue`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:152 in public method `create_session`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py:166 in public method `test_ops`: D102: Missing docstring in public method CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:31 in public class `suite_random`: D204: 1 blank line required after class docstring (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:31 in public class `suite_random`: D400: First line should end with a period (not ',') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:31 in public class `suite_random`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:38 in public method `__init__`: D107: Missing docstring in __init__ /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:50 in public method `rand32`: D403: First word of the first line should be properly capitalized ('Returns', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:50 in public method `rand32`: D401: First line should be in imperative mood ('Return', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:50 in public method `rand32`: D400: First line should end with a period (not 'r') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:50 in public method `rand32`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:64 in public method `rand_range`: D403: First word of the first line should be properly capitalized ('Returns', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:64 in public method `rand_range`: D401: First line should be in imperative mood ('Return', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:64 in public method `rand_range`: D200: One-line docstring should fit on one line with quotes (found 3) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:75 in public method `rand_float`: D403: First word of the first line should be properly capitalized ('Returns', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:75 in public method `rand_float`: D401: First line should be in imperative mood ('Return', not 'returns') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:75 in public method `rand_float`: D400: First line should end with a period (not '0') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/suite_random.py:75 in public method `rand_float`: D205: 1 blank line required between summary line and description (found 0) CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:74 in public function `usage`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:108 in public function `restrictScenario`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:119 in public function `addScenarioTests`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:123 in public function `configRecord`: D401: First line should be in imperative mood ('Record', not 'Records') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:123 in public function `configRecord`: D400: First line should end with a period (not 'e') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:123 in public function `configRecord`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:142 in public function `configGet`: D400: First line should end with a period (not '?') /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:142 in public function `configGet`: D205: 1 blank line required between summary line and description (found 0) /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:159 in public function `configApplyInner`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:180 in public function `configApply`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py:213 in public function `testsFromArg`: D103: Missing docstring in public function CMD [['/mnt/data0/lchen/work/venv/p2-mongo/bin/python', '/mnt/data0/lchen/work/venv/p2-mongo/bin/pydocstyle', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py']] failed: /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py:1 at module level: D100: Missing docstring in public module /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py:36 in public function `timestamp_str`: D103: Missing docstring in public function /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py:39 in public class `test_assert04`: D101: Missing docstring in public class /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py:40 in public method `test_timestamp_alter`: D102: Missing docstring in public method /mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_assert04.py:170 in public method `test_timestamp_usage`: D102: Missing docstring in public method CMD [['/opt/mongodbtoolchain/v2/bin/mypy', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/run.py']] failed: src/third_party/wiredtiger/test/suite/run.py:340: error: Name 'loader' already defined src/third_party/wiredtiger/test/suite/run.py:357: error: "Testable" has no attribute "shortDesc" CMD [['/opt/mongodbtoolchain/v2/bin/mypy', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async02.py']] failed: src/third_party/wiredtiger/test/suite/test_async02.py:119: error: Need type annotation for 'current' CMD [['/opt/mongodbtoolchain/v2/bin/mypy', '/mnt/data0/lchen/work/mongo/src/third_party/wiredtiger/test/suite/test_async01.py']] failed: src/third_party/wiredtiger/test/suite/test_async01.py:122: error: Need type annotation for 'current' ERROR: Code Style does not match coding style