Closed keroro520 closed 2 years ago
$ cargo run -- run --ckb2021 `which ckb` --cases DiscoveryFloodAttack 2021-11-30 11:48:45.872 +08:00 main INFO DiscoveryFloodAttack ********** START ********** 2021-11-30 11:48:47.005 +08:00 main INFO DiscoveryFloodAttack [Node node2021] START node_id: "QmaE4WiMd6G7Y6H7NGv2nSBanqUNk6otsQitLQFiF3z6TR", p2p_address: "/ip4/0.0.0.0/tcp/9001", log_path: "/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-DiscoveryFloodAttack-node2021-Y8XJ1f/data/logs/run.log" 2021-11-30 11:48:48.133 +08:00 main INFO DiscoveryFloodAttack [Node DiscoveryFloodAttack-case-0] START node_id: "QmeUpDvQpDpWH4yJDrjB9UV4vybL5rhSXMGxohkW5LkeE2", p2p_address: "/ip4/0.0.0.0/tcp/9003", log_path: "/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-cloned_node-DiscoveryFloodAttack-case-0-nMfh9v/data/logs/run.log" 2021-11-30 11:48:48.142 +08:00 main INFO DiscoveryFloodAttack Connector try to make session establishment and open protocols to node "/ip4/0.0.0.0/tcp/9003/p2p/QmeUpDvQpDpWH4yJDrjB9UV4vybL5rhSXMGxohkW5LkeE2", protocols: {ProtocolId(1): ProtocolInfo { name: "/ckb/discovery", support_versions: ["0.0.1", "2"] }, ProtocolId(100): ProtocolInfo { name: "/ckb/syn", support_versions: ["1", "2"] }} 2021-11-30 11:48:59.422 +08:00 main INFO DiscoveryFloodAttack [Node DiscoveryFloodAttack-case-1] START node_id: "QmdJQ7Udt2tX1PkbFzyXcHKH4JgapGHeMRmpYRsisx1JMV", p2p_address: "/ip4/0.0.0.0/tcp/9005", log_path: "/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-cloned_node-DiscoveryFloodAttack-case-1-O8VtwO/data/logs/run.log" 2021-11-30 11:48:59.430 +08:00 main INFO DiscoveryFloodAttack Connector try to make session establishment and open protocols to node "/ip4/0.0.0.0/tcp/9005/p2p/QmdJQ7Udt2tX1PkbFzyXcHKH4JgapGHeMRmpYRsisx1JMV", protocols: {ProtocolId(100): ProtocolInfo { name: "/ckb/syn", support_versions: ["1", "2"] }, ProtocolId(1): ProtocolInfo { name: "/ckb/discovery", support_versions: ["0.0.1", "2"] }} 2021-11-30 11:49:05.687 +08:00 main INFO DiscoveryFloodAttack [Node DiscoveryFloodAttack-case-2] START node_id: "QmSGNW5dY6cmx7QqJYfgEsRH4u3CEuKEwT4eQM7dS8qNgr", p2p_address: "/ip4/0.0.0.0/tcp/9007", log_path: "/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-cloned_node-DiscoveryFloodAttack-case-2-HGtHhL/data/logs/run.log" 2021-11-30 11:49:05.695 +08:00 main INFO DiscoveryFloodAttack Connector try to make session establishment and open protocols to node "/ip4/0.0.0.0/tcp/9007/p2p/QmSGNW5dY6cmx7QqJYfgEsRH4u3CEuKEwT4eQM7dS8qNgr", protocols: {ProtocolId(1): ProtocolInfo { name: "/ckb/discovery", support_versions: ["0.0.1", "2"] }, ProtocolId(100): ProtocolInfo { name: "/ckb/syn", support_versions: ["1", "2"] }} 2021-11-30 11:49:16.970 +08:00 main INFO DiscoveryFloodAttack [Node DiscoveryFloodAttack-case-3] START node_id: "QmQF1PSKja1Rem94sWyi9iHWbXJLyVVB8VpUTwwRfCVTvS", p2p_address: "/ip4/0.0.0.0/tcp/9009", log_path: "/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-cloned_node-DiscoveryFloodAttack-case-3-4G6zqS/data/logs/run.log" 2021-11-30 11:49:16.979 +08:00 main INFO DiscoveryFloodAttack Connector try to make session establishment and open protocols to node "/ip4/0.0.0.0/tcp/9009/p2p/QmQF1PSKja1Rem94sWyi9iHWbXJLyVVB8VpUTwwRfCVTvS", protocols: {ProtocolId(100): ProtocolInfo { name: "/ckb/syn", support_versions: ["1", "2"] }, ProtocolId(1): ProtocolInfo { name: "/ckb/discovery", support_versions: ["0.0.1", "2"] }} 2021-11-30 11:49:32.025 +08:00 main ERROR panic thread 'main' panicked at 'assertion failed: `(left == right)` left: `Err("disconnected")`, right: `Ok(())`: case.id=3, node.log="/var/folders/xp/x9lcmyms6fbbpf2931150fgm0000gn/T/ckb-it-cloned_node-DiscoveryFloodAttack-case-3-4G6zqS/data/logs/run.log"': src/case/discovery/flood_attack.rs:35 0: backtrace::backtrace::libunwind::trace at /Users/keroro520/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/backtrace-0.3.63/src/backtrace/libunwind.rs:93:5 backtrace::backtrace::trace_unsynchronized at /Users/keroro520/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/backtrace-0.3.63/src/backtrace/mod.rs:66:5 1: backtrace::backtrace::trace at /Users/keroro520/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/backtrace-0.3.63/src/backtrace/mod.rs:53:14 2: backtrace::capture::Backtrace::create at /Users/keroro520/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/backtrace-0.3.63/src/capture.rs:176:9 3: backtrace::capture::Backtrace::new at /Users/keroro520/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/backtrace-0.3.63/src/capture.rs:140:22 4: ckb_logger_service::setup_panic_logger::{{closure}} at /Users/keroro520/.cargo/git/checkouts/ckb-ac70b87adaff94cd/cd5db2d/util/logger-service/src/lib.rs:495:25 5: std::panicking::rust_panic_with_hook at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:595:17 6: std::panicking::begin_panic_handler::{{closure}} at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:497:13 7: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/sys_common/backtrace.rs:141:18 8: rust_begin_unwind at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:493:5 9: core::panicking::panic_fmt at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/panicking.rs:92:14 10: <ckb_integration_test::case::discovery::flood_attack::DiscoveryFloodAttack as ckb_integration_test::case::Case>::run at src/case/discovery/flood_attack.rs:35:13 11: ckb_integration_test::case::run_case at src/case/mod.rs:34:5 12: ckb_integration_test::main at src/main.rs:44:17 13: core::ops::function::FnOnce::call_once at /Users/keroro520/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 14: std::sys_common::backtrace::__rust_begin_short_backtrace at /Users/keroro520/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18 15: std::rt::lang_start::{{closure}} at /Users/keroro520/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:66:18 16: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/ops/function.rs:259:13 std::panicking::try::do_call at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:379:40 std::panicking::try at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:343:19 std::panic::catch_unwind at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panic.rs:431:14 std::rt::lang_start_internal at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/rt.rs:51:25 17: std::rt::lang_start at /Users/keroro520/.rustup/toolchains/1.51.0-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:65:5 18: _main