Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable failing h2spec tests #254

Merged
merged 2 commits into from
Aug 3, 2022
Merged

disable failing h2spec tests #254

merged 2 commits into from
Aug 3, 2022

Conversation

nickzaev
Copy link
Contributor

Now that we have --exclude flag in our h2spec fork, we can gracefully
disable some failing h2spec tests.

@nickzaev nickzaev linked an issue Jul 22, 2022 that may be closed by this pull request
@nickzaev
Copy link
Contributor Author

With the latest changes, I've ran

# (we need to manually kill nginx here after our previous attempt since if a test didn't work properly, tearDown for nginx is never called)
killall nginx; ./run_tests.py -n -vvvv h2.test_h2_specs.H2Spec

for 10 times in a row and I got this:

  • OK - 4 times
  • Fail - 2 times
  • Hung - 4 times (I had to kill it with keyboard interrupt)
    From what I've noticed is that tests (I believe) always fail if there's a huge call trace from Tempesta in dmesg, this is an example of one:
[Fri Jul 22 17:36:26 2022] Start test: h2.test_h2_specs.H2Spec.test_h2_specs
[Fri Jul 22 17:36:26 2022] [tdb] Start Tempesta DB
[Fri Jul 22 17:36:26 2022] [tempesta fw] Initializing Tempesta FW kernel module...
[Fri Jul 22 17:36:26 2022] [tempesta fw] Configuration processing is completed.
[Fri Jul 22 17:36:26 2022] [tdb] Opened table /opt/tempesta/db/filter0.tdb: size=16777216 rec_size=20 base=00000000883515cf
[Fri Jul 22 17:36:26 2022] [tdb] Opened table /opt/tempesta/db/sessions0.tdb: size=16777216 rec_size=312 base=00000000c7a1e144
[Fri Jul 22 17:36:26 2022] [tdb] Opened table /opt/tempesta/db/client0.tdb: size=16777216 rec_size=624 base=00000000218edbec
[Fri Jul 22 17:36:26 2022] [tempesta fw] Open listen socket on: 0.0.0.0:443
[Fri Jul 22 17:36:26 2022] [tempesta fw] Tempesta FW is ready
[Fri Jul 22 17:36:27 2022] net_ratelimit: 77 callbacks suppressed
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] [tempesta tls] Warning: [::ffff:127.0.0.1] Bad TLS alert
[Fri Jul 22 17:36:27 2022] ------------[ cut here ]------------
[Fri Jul 22 17:36:27 2022] WARNING: CPU: 0 PID: 331251 at /root/tempesta/fw/http.c:6487 tfw_http_msg_process_generic+0x409/0x670 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) binfmt_misc sha256_ssse3 sha512_ssse3 ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua in
put_leds joydev serio_raw qemu_fw_cfg mac_hid sch_fq_codel msr ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid
_generic usbhid hid bochs_drm drm_vram_helper drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops cec aesni_intel drm crypto_simd cryptd glue_helper virtio_net net_failover fail
over psmouse virtio_scsi i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib]
[Fri Jul 22 17:36:27 2022] CPU: 0 PID: 331251 Comm: h2spec Tainted: G        W  OE     5.10.35+ #1
[Fri Jul 22 17:36:27 2022] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
[Fri Jul 22 17:36:27 2022] RIP: 0010:tfw_http_msg_process_generic+0x409/0x670 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Code: 98 00 00 00 44 8b 95 70 ff ff ff a8 10 0f 84 72 fd ff ff e9 08 ff ff ff 4c 89 63 10 4d 89 24 24 4d 89 64 24 08 e9 6d fc ff ff <0f> 0b 41 ba ea ff ff ff e9 4e fd ff ff e8 65 88 ff ff 49 89 47 40
[Fri Jul 22 17:36:27 2022] RSP: 0018:ffffb28740003a58 EFLAGS: 00010246
[Fri Jul 22 17:36:27 2022] RAX: 0000000000000000 RBX: ffff91e03c1b9080 RCX: 0000000000000000
[Fri Jul 22 17:36:27 2022] RDX: ffff91e0308b2000 RSI: 0000000000000000 RDI: ffff91e03c1b9080
[Fri Jul 22 17:36:27 2022] RBP: ffffb28740003af8 R08: ffff91e0308b2000 R09: ffffb28740003aa8
[Fri Jul 22 17:36:27 2022] R10: 000000000000000e R11: 0000000000000000 R12: 0000000000000000
[Fri Jul 22 17:36:27 2022] R13: ffff91e03c1b9778 R14: 0000000000000000 R15: 0000000000000000
[Fri Jul 22 17:36:27 2022] FS:  00007f33fbb65700(0000) GS:ffff91e0fbc00000(0000) knlGS:0000000000000000
[Fri Jul 22 17:36:27 2022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jul 22 17:36:27 2022] CR2: 000000c000157000 CR3: 00000000795c8000 CR4: 00000000003506f0
[Fri Jul 22 17:36:27 2022] Call Trace:
[Fri Jul 22 17:36:27 2022]  <IRQ>
[Fri Jul 22 17:36:27 2022]  ? ss_skb_chop_head_tail+0xbb/0x1d0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_frame_process+0x308/0x440 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process+0x37/0x40 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_connection_recv+0x59/0xa0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_tls_connection_recv+0x19d/0x380 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_process_data+0x1e6/0x3f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_data_ready+0x4e/0x90 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tcp_data_ready+0x2b/0xd0
[Fri Jul 22 17:36:27 2022]  tcp_rcv_established+0x5a7/0x670
[Fri Jul 22 17:36:27 2022]  tcp_v4_do_rcv+0x140/0x200
[Fri Jul 22 17:36:27 2022]  tcp_v4_rcv+0xcfd/0xe10
[Fri Jul 22 17:36:27 2022]  ip_protocol_deliver_rcu+0x30/0x1b0
[Fri Jul 22 17:36:27 2022]  ip_local_deliver_finish+0x48/0x60
[Fri Jul 22 17:36:27 2022]  ip_local_deliver+0x72/0x110
[Fri Jul 22 17:36:27 2022]  ? tfw_ipv4_nf_hook+0xce/0x150 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? native_apic_msr_write+0x2b/0x30
[Fri Jul 22 17:36:27 2022]  ip_rcv_finish+0x87/0xa0
[Fri Jul 22 17:36:27 2022]  ip_rcv+0xcc/0xe0
[Fri Jul 22 17:36:27 2022]  ? ip_rcv_finish_core.isra.0+0x420/0x420
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb_one_core+0x88/0xa0
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb+0x18/0x60
[Fri Jul 22 17:36:27 2022]  process_backlog+0xa9/0x160
[Fri Jul 22 17:36:27 2022]  net_rx_action+0x13e/0x390
[Fri Jul 22 17:36:27 2022]  __do_softirq+0xd9/0x291
[Fri Jul 22 17:36:27 2022]  asm_call_irq_on_stack+0x12/0x20
[Fri Jul 22 17:36:27 2022]  </IRQ>
[Fri Jul 22 17:36:27 2022]  do_softirq_own_stack+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  do_softirq.part.0+0x46/0x50
[Fri Jul 22 17:36:27 2022]  __local_bh_enable_ip+0x50/0x60
[Fri Jul 22 17:36:27 2022]  ip_finish_output2+0x1ab/0x590
[Fri Jul 22 17:36:27 2022]  ? __cgroup_bpf_run_filter_skb+0x3c3/0x3d0
[Fri Jul 22 17:36:27 2022]  __ip_finish_output+0xd8/0x220
[Fri Jul 22 17:36:27 2022]  ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_output+0x7a/0x100
[Fri Jul 22 17:36:27 2022]  ? ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_local_out+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  __ip_queue_xmit+0x17a/0x470
[Fri Jul 22 17:36:27 2022]  ip_queue_xmit+0x15/0x20
[Fri Jul 22 17:36:27 2022]  __tcp_transmit_skb+0xa20/0xbe0
[Fri Jul 22 17:36:27 2022]  tcp_write_xmit+0x453/0x1350
[Fri Jul 22 17:36:27 2022]  __tcp_push_pending_frames+0x37/0x100
[Fri Jul 22 17:36:27 2022]  tcp_push+0xfc/0x100
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg_locked+0xd36/0xe70
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg+0x2d/0x50
[Fri Jul 22 17:36:27 2022]  inet_sendmsg+0x43/0x70
[Fri Jul 22 17:36:27 2022]  sock_sendmsg+0x5e/0x70
[Fri Jul 22 17:36:27 2022]  sock_write_iter+0x93/0xf0
[Fri Jul 22 17:36:27 2022]  new_sync_write+0x192/0x1b0
[Fri Jul 22 17:36:27 2022]  vfs_write+0x185/0x250
[Fri Jul 22 17:36:27 2022]  ksys_write+0xb1/0xe0
[Fri Jul 22 17:36:27 2022]  __x64_sys_write+0x1a/0x20
[Fri Jul 22 17:36:27 2022]  do_syscall_64+0x38/0x90
[Fri Jul 22 17:36:27 2022]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Fri Jul 22 17:36:27 2022] RIP: 0033:0x4a7f20
[Fri Jul 22 17:36:27 2022] Code: 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 49 c7 c2 00 00 00 00 49 c7 c0 00 00 00 00 49 c7 c1 00 00 00 00 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
[Fri Jul 22 17:36:27 2022] RSP: 002b:000000c0000d8f48 EFLAGS: 00000212 ORIG_RAX: 0000000000000001
[Fri Jul 22 17:36:27 2022] RAX: ffffffffffffffda RBX: 000000c000030000 RCX: 00000000004a7f20
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000037 RSI: 000000c000420360 RDI: 0000000000000003
[Fri Jul 22 17:36:27 2022] RBP: 000000c0000d8f98 R08: 0000000000000000 R09: 0000000000000000
[Fri Jul 22 17:36:27 2022] R10: 0000000000000000 R11: 0000000000000212 R12: 0000000019f68125
[Fri Jul 22 17:36:27 2022] R13: 000000000000000a R14: 0000000000000036 R15: 0000000000000100
[Fri Jul 22 17:36:27 2022] ---[ end trace 97bcfb290340c6f9 ]---
[Fri Jul 22 17:36:27 2022] ------------[ cut here ]------------
[Fri Jul 22 17:36:27 2022] WARNING: CPU: 0 PID: 331251 at /root/tempesta/fw/http_msg.c:560 tfw_http_msg_hdr_close+0x86/0x1f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) binfmt_misc sha256_ssse3 sha512_ssse3 ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua in
put_leds joydev serio_raw qemu_fw_cfg mac_hid sch_fq_codel msr ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid
_generic usbhid hid bochs_drm drm_vram_helper drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops cec aesni_intel drm crypto_simd cryptd glue_helper virtio_net net_failover fail
over psmouse virtio_scsi i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib]
[Fri Jul 22 17:36:27 2022] CPU: 0 PID: 331251 Comm: h2spec Tainted: G        W  OE     5.10.35+ #1
[Fri Jul 22 17:36:27 2022] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
[Fri Jul 22 17:36:27 2022] RIP: 0010:tfw_http_msg_hdr_close+0x86/0x1f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Code: 54 07 10 49 8d 74 07 08 74 60 41 83 fd 0b 0f 87 12 01 00 00 48 8b 87 98 00 00 00 f6 c4 80 74 0a 41 83 fd 08 0f 84 44 01 00 00 <0f> 0b b8 fe ff ff ff e9 d7 00 00 00 48 8d b3 98 00 00 00 e8 12 fd
[Fri Jul 22 17:36:27 2022] RSP: 0018:ffffb28740003818 EFLAGS: 00010293
[Fri Jul 22 17:36:27 2022] RAX: 000000000000a000 RBX: ffff91e0395dd080 RCX: 0000000000000000
[Fri Jul 22 17:36:27 2022] RDX: 000000000000000b RSI: ffff91e0456952d0 RDI: ffff91e045695020
[Fri Jul 22 17:36:27 2022] RBP: ffffb28740003848 R08: ffffffffc0ce5520 R09: ffff91e045695020
[Fri Jul 22 17:36:27 2022] R10: 0000000000000009 R11: 0000000000000000 R12: ffff91e045695020
[Fri Jul 22 17:36:27 2022] R13: 0000000000000000 R14: ffff91e045695020 R15: ffff91e0456952c8
[Fri Jul 22 17:36:27 2022] FS:  00007f33fbb65700(0000) GS:ffff91e0fbc00000(0000) knlGS:0000000000000000
[Fri Jul 22 17:36:27 2022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jul 22 17:36:27 2022] CR2: 000000c00000b081 CR3: 00000000795c8000 CR4: 00000000003506f0
[Fri Jul 22 17:36:27 2022] Call Trace:
[Fri Jul 22 17:36:27 2022]  <IRQ>
[Fri Jul 22 17:36:27 2022]  ? kvm_clock_get_cycles+0x11/0x20
[Fri Jul 22 17:36:27 2022]  tfw_hpack_decode+0xf01/0x1c70 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_parse_req+0x52/0x1c0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_parse_req+0xe190/0xe190 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_parse_req+0xe190/0xe190 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_req_process+0x7f/0xa00 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_h2_frame_recv+0x56f/0x1f80 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process_generic+0x197/0x670 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_chop_head_tail+0xbb/0x1d0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_frame_process+0x308/0x440 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process+0x37/0x40 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_connection_recv+0x59/0xa0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_tls_connection_recv+0x19d/0x380 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_process_data+0x1e6/0x3f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_data_ready+0x4e/0x90 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tcp_data_ready+0x2b/0xd0
[Fri Jul 22 17:36:27 2022]  tcp_rcv_established+0x5a7/0x670
[Fri Jul 22 17:36:27 2022]  tcp_v4_do_rcv+0x140/0x200
[Fri Jul 22 17:36:27 2022]  tcp_v4_rcv+0xcfd/0xe10
[Fri Jul 22 17:36:27 2022]  ip_protocol_deliver_rcu+0x30/0x1b0
[Fri Jul 22 17:36:27 2022]  ip_local_deliver_finish+0x48/0x60
[Fri Jul 22 17:36:27 2022]  ip_local_deliver+0x72/0x110
[Fri Jul 22 17:36:27 2022]  ? tfw_ipv4_nf_hook+0xce/0x150 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ip_rcv_finish+0x87/0xa0
[Fri Jul 22 17:36:27 2022]  ip_rcv+0xcc/0xe0
[Fri Jul 22 17:36:27 2022]  ? ip_rcv_finish_core.isra.0+0x420/0x420
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb_one_core+0x88/0xa0
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb+0x18/0x60
[Fri Jul 22 17:36:27 2022]  process_backlog+0xa9/0x160
[Fri Jul 22 17:36:27 2022]  net_rx_action+0x13e/0x390
[Fri Jul 22 17:36:27 2022]  __do_softirq+0xd9/0x291
[Fri Jul 22 17:36:27 2022]  asm_call_irq_on_stack+0x12/0x20
[Fri Jul 22 17:36:27 2022]  </IRQ>
[Fri Jul 22 17:36:27 2022]  do_softirq_own_stack+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  do_softirq.part.0+0x46/0x50
[Fri Jul 22 17:36:27 2022]  __local_bh_enable_ip+0x50/0x60
[Fri Jul 22 17:36:27 2022]  ip_finish_output2+0x1ab/0x590
[Fri Jul 22 17:36:27 2022]  ? __cgroup_bpf_run_filter_skb+0x3c3/0x3d0
[Fri Jul 22 17:36:27 2022]  __ip_finish_output+0xd8/0x220
[Fri Jul 22 17:36:27 2022]  ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_output+0x7a/0x100
[Fri Jul 22 17:36:27 2022]  ip_local_out+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  __ip_queue_xmit+0x17a/0x470
[Fri Jul 22 17:36:27 2022]  ip_queue_xmit+0x15/0x20
[Fri Jul 22 17:36:27 2022]  __tcp_transmit_skb+0xa20/0xbe0
[Fri Jul 22 17:36:27 2022]  tcp_write_xmit+0x453/0x1350
[Fri Jul 22 17:36:27 2022]  __tcp_push_pending_frames+0x37/0x100
[Fri Jul 22 17:36:27 2022]  tcp_push+0xfc/0x100
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg_locked+0xd36/0xe70
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg+0x2d/0x50
[Fri Jul 22 17:36:27 2022]  inet_sendmsg+0x43/0x70
[Fri Jul 22 17:36:27 2022]  sock_sendmsg+0x5e/0x70
[Fri Jul 22 17:36:27 2022]  sock_write_iter+0x93/0xf0
[Fri Jul 22 17:36:27 2022]  new_sync_write+0x192/0x1b0
[Fri Jul 22 17:36:27 2022]  vfs_write+0x185/0x250
[Fri Jul 22 17:36:27 2022]  ksys_write+0xb1/0xe0
[Fri Jul 22 17:36:27 2022]  __x64_sys_write+0x1a/0x20
[Fri Jul 22 17:36:27 2022]  do_syscall_64+0x38/0x90
[Fri Jul 22 17:36:27 2022]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Fri Jul 22 17:36:27 2022] RIP: 0033:0x4a7f20
[Fri Jul 22 17:36:27 2022] Code: 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 49 c7 c2 00 00 00 00 49 c7 c0 00 00 00 00 49 c7 c1 00 00 00 00 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
[Fri Jul 22 17:36:27 2022] RSP: 002b:000000c0000d8db0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[Fri Jul 22 17:36:27 2022] RAX: ffffffffffffffda RBX: 000000c000030000 RCX: 00000000004a7f20
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000027 RSI: 000000c00018f560 RDI: 0000000000000003
[Fri Jul 22 17:36:27 2022] RBP: 000000c0000d8e00 R08: 0000000000000000 R09: 0000000000000000
[Fri Jul 22 17:36:27 2022] R10: 0000000000000000 R11: 0000000000000202 R12: 000000007eadd2f6
[Fri Jul 22 17:36:27 2022] R13: 000000000000000a R14: 00000000000000aa R15: 0000000000000200
[Fri Jul 22 17:36:27 2022] ---[ end trace 97bcfb290340c6fa ]---
[Fri Jul 22 17:36:27 2022] ------------[ cut here ]------------
[Fri Jul 22 17:36:27 2022] WARNING: CPU: 0 PID: 331251 at /root/tempesta/fw/http_stream.c:80 tfw_h2_stream_fsm+0x12d/0x2b0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) binfmt_misc sha256_ssse3 sha512_ssse3 ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua in
put_leds joydev serio_raw qemu_fw_cfg mac_hid sch_fq_codel msr ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid
_generic usbhid hid bochs_drm drm_vram_helper drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops cec aesni_intel drm crypto_simd cryptd glue_helper virtio_net net_failover fail
over psmouse virtio_scsi i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib]
[Fri Jul 22 17:36:27 2022] CPU: 0 PID: 331251 Comm: h2spec Tainted: G        W  OE     5.10.35+ #1
[Fri Jul 22 17:36:27 2022] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
[Fri Jul 22 17:36:27 2022] RIP: 0010:tfw_h2_stream_fsm+0x12d/0x2b0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Code: 89 a0 01 00 00 0f 0b 83 f8 06 74 6b 83 f8 07 75 f4 45 31 c0 41 80 fd 02 0f 84 56 ff ff ff 41 80 fd 09 0f 85 46 ff ff ff eb 8c <0f> 0b 41 b8 03 00 00 00 e9 3d ff ff ff 41 b8 03 00 00 00 e9 3c ff
[Fri Jul 22 17:36:27 2022] RSP: 0018:ffffb28740003538 EFLAGS: 00010293
[Fri Jul 22 17:36:27 2022] RAX: 0000000000000002 RBX: ffff91e0395dd080 RCX: 0000000000000001
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff91e0395dd0b0
[Fri Jul 22 17:36:27 2022] RBP: ffffb28740003568 R08: ffffb28740003584 R09: 00000000000007e5
[Fri Jul 22 17:36:27 2022] R10: 0000000000000034 R11: a3d70a3d70a3d70b R12: ffff91e0395dd0b0
[Fri Jul 22 17:36:27 2022] R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001
[Fri Jul 22 17:36:27 2022] FS:  00007f33fbb65700(0000) GS:ffff91e0fbc00000(0000) knlGS:0000000000000000
[Fri Jul 22 17:36:27 2022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jul 22 17:36:27 2022] CR2: 000000c00000b081 CR3: 00000000795c8000 CR4: 00000000003506f0
[Fri Jul 22 17:36:27 2022] Call Trace:
[Fri Jul 22 17:36:27 2022]  <IRQ>
[Fri Jul 22 17:36:27 2022]  tfw_h2_stream_id_close+0xe7/0x110 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? __irq_work_queue_local+0x4f/0x60
[Fri Jul 22 17:36:27 2022]  tfw_h2_prep_resp+0x95/0x310 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? vprintk_default+0x1d/0x20
[Fri Jul 22 17:36:27 2022]  ? vprintk_func+0x67/0x100
[Fri Jul 22 17:36:27 2022]  ? tfw_http_msg_hdr_close+0x86/0x1f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_send_resp+0x5c/0xb0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_send_err_resp+0x9a/0xc0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_cli_error_resp_and_log+0x3cd/0x440 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_parse_req+0xe190/0xe190 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_req_process+0xf6/0xa00 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_h2_frame_recv+0x56f/0x1f80 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process_generic+0x197/0x670 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_chop_head_tail+0xbb/0x1d0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_frame_process+0x308/0x440 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process+0x37/0x40 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_connection_recv+0x59/0xa0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_tls_connection_recv+0x19d/0x380 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_process_data+0x1e6/0x3f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_data_ready+0x4e/0x90 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tcp_data_ready+0x2b/0xd0
[Fri Jul 22 17:36:27 2022]  tcp_rcv_established+0x5a7/0x670
[Fri Jul 22 17:36:27 2022]  tcp_v4_do_rcv+0x140/0x200
[Fri Jul 22 17:36:27 2022]  tcp_v4_rcv+0xcfd/0xe10
[Fri Jul 22 17:36:27 2022]  ip_protocol_deliver_rcu+0x30/0x1b0
[Fri Jul 22 17:36:27 2022]  ip_local_deliver_finish+0x48/0x60
[Fri Jul 22 17:36:27 2022]  ip_local_deliver+0x72/0x110
[Fri Jul 22 17:36:27 2022]  ? tfw_ipv4_nf_hook+0xce/0x150 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ip_rcv_finish+0x87/0xa0
[Fri Jul 22 17:36:27 2022]  ip_rcv+0xcc/0xe0
[Fri Jul 22 17:36:27 2022]  ? ip_rcv_finish_core.isra.0+0x420/0x420
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb_one_core+0x88/0xa0
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb+0x18/0x60
[Fri Jul 22 17:36:27 2022]  process_backlog+0xa9/0x160
[Fri Jul 22 17:36:27 2022]  net_rx_action+0x13e/0x390
[Fri Jul 22 17:36:27 2022]  __do_softirq+0xd9/0x291
[Fri Jul 22 17:36:27 2022]  asm_call_irq_on_stack+0x12/0x20
[Fri Jul 22 17:36:27 2022]  </IRQ>
[Fri Jul 22 17:36:27 2022]  do_softirq_own_stack+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  do_softirq.part.0+0x46/0x50
[Fri Jul 22 17:36:27 2022]  __local_bh_enable_ip+0x50/0x60
[Fri Jul 22 17:36:27 2022]  ip_finish_output2+0x1ab/0x590
[Fri Jul 22 17:36:27 2022]  ? __cgroup_bpf_run_filter_skb+0x3c3/0x3d0
[Fri Jul 22 17:36:27 2022]  __ip_finish_output+0xd8/0x220
[Fri Jul 22 17:36:27 2022]  ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_output+0x7a/0x100
[Fri Jul 22 17:36:27 2022]  ip_local_out+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  __ip_queue_xmit+0x17a/0x470
[Fri Jul 22 17:36:27 2022]  ip_queue_xmit+0x15/0x20
[Fri Jul 22 17:36:27 2022]  __tcp_transmit_skb+0xa20/0xbe0
[Fri Jul 22 17:36:27 2022]  tcp_write_xmit+0x453/0x1350
[Fri Jul 22 17:36:27 2022]  __tcp_push_pending_frames+0x37/0x100
[Fri Jul 22 17:36:27 2022]  tcp_push+0xfc/0x100
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg_locked+0xd36/0xe70
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg+0x2d/0x50
[Fri Jul 22 17:36:27 2022]  inet_sendmsg+0x43/0x70
[Fri Jul 22 17:36:27 2022]  sock_sendmsg+0x5e/0x70
[Fri Jul 22 17:36:27 2022]  sock_write_iter+0x93/0xf0
[Fri Jul 22 17:36:27 2022]  new_sync_write+0x192/0x1b0
[Fri Jul 22 17:36:27 2022]  vfs_write+0x185/0x250
[Fri Jul 22 17:36:27 2022]  ksys_write+0xb1/0xe0
[Fri Jul 22 17:36:27 2022]  __x64_sys_write+0x1a/0x20
[Fri Jul 22 17:36:27 2022]  do_syscall_64+0x38/0x90
[Fri Jul 22 17:36:27 2022]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Fri Jul 22 17:36:27 2022] RIP: 0033:0x4a7f20
[Fri Jul 22 17:36:27 2022] Code: 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 49 c7 c2 00 00 00 00 49 c7 c0 00 00 00 00 49 c7 c1 00 00 00 00 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
[Fri Jul 22 17:36:27 2022] RSP: 002b:000000c0000d8db0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[Fri Jul 22 17:36:27 2022] RAX: ffffffffffffffda RBX: 000000c000030000 RCX: 00000000004a7f20
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000027 RSI: 000000c00018f560 RDI: 0000000000000003
[Fri Jul 22 17:36:27 2022] RBP: 000000c0000d8e00 R08: 0000000000000000 R09: 0000000000000000
[Fri Jul 22 17:36:27 2022] R10: 0000000000000000 R11: 0000000000000202 R12: 000000007eadd2f6
[Fri Jul 22 17:36:27 2022] R13: 000000000000000a R14: 00000000000000aa R15: 0000000000000200
[Fri Jul 22 17:36:27 2022] ---[ end trace 97bcfb290340c6fb ]---
[Fri Jul 22 17:36:27 2022] ------------[ cut here ]------------
[Fri Jul 22 17:36:27 2022] WARNING: CPU: 1 PID: 331250 at /root/tempesta/fw/hpack.c:678 tfw_huffman_decode+0x441/0x660 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Modules linked in: tempesta_fw(OE) tempesta_db(OE) tempesta_tls(OE) tempesta_lib(OE) binfmt_misc sha256_ssse3 sha512_ssse3 ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua in
put_leds joydev serio_raw qemu_fw_cfg mac_hid sch_fq_codel msr ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid
_generic usbhid hid bochs_drm drm_vram_helper drm_ttm_helper crct10dif_pclmul ttm crc32_pclmul drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops cec aesni_intel drm crypto_simd cryptd glue_helper virtio_net net_failover fail
over psmouse virtio_scsi i2c_piix4 pata_acpi floppy [last unloaded: tempesta_lib]
[Fri Jul 22 17:36:27 2022] CPU: 1 PID: 331250 Comm: h2spec Tainted: G        W  OE     5.10.35+ #1
[Fri Jul 22 17:36:27 2022] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
[Fri Jul 22 17:36:27 2022] RIP: 0010:tfw_huffman_decode+0x441/0x660 [tempesta_fw]
[Fri Jul 22 17:36:27 2022] Code: 01 09 c2 48 89 7b 78 66 89 93 88 00 00 00 0f b7 f2 e9 b4 fe ff ff 41 8b 8c 24 58 01 00 00 49 8d 94 24 40 01 00 00 89 c8 eb 84 <0f> 0b e9 c7 fd ff ff 31 d2 be 01 00 00 00 44 89 45 cc e8 a8 f1 fd
[Fri Jul 22 17:36:27 2022] RSP: 0018:ffffb287400c8810 EFLAGS: 00010286
[Fri Jul 22 17:36:27 2022] RAX: 000000000000034e RBX: ffff91e0e03e0fa0 RCX: 0000000000000002
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000006 RSI: 0000000000003ffe RDI: ffff91e0e03e0fa0
[Fri Jul 22 17:36:27 2022] RBP: ffffb287400c8848 R08: 0000000000000000 R09: 00000000000005b0
[Fri Jul 22 17:36:27 2022] R10: ffffb287400c8800 R11: 0000000000000001 R12: ffff91e0335ad020
[Fri Jul 22 17:36:27 2022] R13: 00000000fffffffa R14: 00000000fffffff9 R15: ffff91e0722c0030
[Fri Jul 22 17:36:27 2022] FS:  00007f33fc366700(0000) GS:ffff91e0fbd00000(0000) knlGS:0000000000000000
[Fri Jul 22 17:36:27 2022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jul 22 17:36:27 2022] CR2: 00007f0afe8fe670 CR3: 00000000795c8000 CR4: 00000000003506e0
[Fri Jul 22 17:36:27 2022] Call Trace:
[Fri Jul 22 17:36:27 2022]  <IRQ>
[Fri Jul 22 17:36:27 2022]  ? __str_grow_tree+0x7a/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_hpack_decode+0x7a9/0x1c70 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_parse_req+0x52/0x1c0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_parse_req+0xe190/0xe190 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_parse_req+0xe190/0xe190 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_req_process+0x7f/0xa00 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? __tfw_pool_new+0x2d/0x70 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? bzero_fast+0xe/0x10 [tempesta_lib]
[Fri Jul 22 17:36:27 2022]  ? bzero_fast+0xe/0x10 [tempesta_lib]
[Fri Jul 22 17:36:27 2022]  ? tfw_http_init_parser_req+0x22/0x50 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? __tfw_pool_new+0x2d/0x70 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process_generic+0x197/0x670 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_chop_head_tail+0xbb/0x1d0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ? ss_skb_process+0xf6/0x140 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_h2_frame_process+0x308/0x440 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_http_msg_process+0x37/0x40 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_connection_recv+0x59/0xa0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tfw_tls_connection_recv+0x19d/0x380 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_process_data+0x1e6/0x3f0 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ss_tcp_data_ready+0x4e/0x90 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  tcp_data_ready+0x2b/0xd0
[Fri Jul 22 17:36:27 2022]  tcp_rcv_established+0x5a7/0x670
[Fri Jul 22 17:36:27 2022]  tcp_v4_do_rcv+0x140/0x200
[Fri Jul 22 17:36:27 2022]  tcp_v4_rcv+0xcfd/0xe10
[Fri Jul 22 17:36:27 2022]  ip_protocol_deliver_rcu+0x30/0x1b0
[Fri Jul 22 17:36:27 2022]  ip_local_deliver_finish+0x48/0x60
[Fri Jul 22 17:36:27 2022]  ip_local_deliver+0x72/0x110
[Fri Jul 22 17:36:27 2022]  ? tfw_ipv4_nf_hook+0xce/0x150 [tempesta_fw]
[Fri Jul 22 17:36:27 2022]  ip_rcv_finish+0x87/0xa0
[Fri Jul 22 17:36:27 2022]  ip_rcv+0xcc/0xe0
[Fri Jul 22 17:36:27 2022]  ? ip_rcv_finish_core.isra.0+0x420/0x420
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb_one_core+0x88/0xa0
[Fri Jul 22 17:36:27 2022]  __netif_receive_skb+0x18/0x60
[Fri Jul 22 17:36:27 2022]  process_backlog+0xa9/0x160
[Fri Jul 22 17:36:27 2022]  net_rx_action+0x13e/0x390
[Fri Jul 22 17:36:27 2022]  __do_softirq+0xd9/0x291
[Fri Jul 22 17:36:27 2022]  asm_call_irq_on_stack+0x12/0x20
[Fri Jul 22 17:36:27 2022]  </IRQ>
[Fri Jul 22 17:36:27 2022]  do_softirq_own_stack+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  do_softirq.part.0+0x46/0x50
[Fri Jul 22 17:36:27 2022]  __local_bh_enable_ip+0x50/0x60
[Fri Jul 22 17:36:27 2022]  ip_finish_output2+0x1ab/0x590
[Fri Jul 22 17:36:27 2022]  ? __cgroup_bpf_run_filter_skb+0x3c3/0x3d0
[Fri Jul 22 17:36:27 2022]  __ip_finish_output+0xd8/0x220
[Fri Jul 22 17:36:27 2022]  ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_output+0x7a/0x100
[Fri Jul 22 17:36:27 2022]  ? ip_finish_output+0x2d/0xb0
[Fri Jul 22 17:36:27 2022]  ip_local_out+0x3d/0x50
[Fri Jul 22 17:36:27 2022]  __ip_queue_xmit+0x17a/0x470
[Fri Jul 22 17:36:27 2022]  ip_queue_xmit+0x15/0x20
[Fri Jul 22 17:36:27 2022]  __tcp_transmit_skb+0xa20/0xbe0
[Fri Jul 22 17:36:27 2022]  tcp_write_xmit+0x453/0x1350
[Fri Jul 22 17:36:27 2022]  __tcp_push_pending_frames+0x37/0x100
[Fri Jul 22 17:36:27 2022]  tcp_push+0xfc/0x100
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg_locked+0xd36/0xe70
[Fri Jul 22 17:36:27 2022]  tcp_sendmsg+0x2d/0x50
[Fri Jul 22 17:36:27 2022]  inet_sendmsg+0x43/0x70
[Fri Jul 22 17:36:27 2022]  sock_sendmsg+0x5e/0x70
[Fri Jul 22 17:36:27 2022]  sock_write_iter+0x93/0xf0
[Fri Jul 22 17:36:27 2022]  new_sync_write+0x192/0x1b0
[Fri Jul 22 17:36:27 2022]  vfs_write+0x185/0x250
[Fri Jul 22 17:36:27 2022]  ksys_write+0xb1/0xe0
[Fri Jul 22 17:36:27 2022]  __x64_sys_write+0x1a/0x20
[Fri Jul 22 17:36:27 2022]  do_syscall_64+0x38/0x90
[Fri Jul 22 17:36:27 2022]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Fri Jul 22 17:36:27 2022] RIP: 0033:0x4a7f20
[Fri Jul 22 17:36:27 2022] Code: 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 49 c7 c2 00 00 00 00 49 c7 c0 00 00 00 00 49 c7 c1 00 00 00 00 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
[Fri Jul 22 17:36:27 2022] RSP: 002b:000000c0000d9040 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[Fri Jul 22 17:36:27 2022] RAX: ffffffffffffffda RBX: 000000c000030000 RCX: 00000000004a7f20
[Fri Jul 22 17:36:27 2022] RDX: 0000000000000041 RSI: 000000c000426120 RDI: 0000000000000003
[Fri Jul 22 17:36:27 2022] RBP: 000000c0000d9090 R08: 0000000000000000 R09: 0000000000000000
[Fri Jul 22 17:36:27 2022] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000bc233b0b
[Fri Jul 22 17:36:27 2022] R13: 000000000000000a R14: 0000000000000024 R15: 00000000000000aa
[Fri Jul 22 17:36:27 2022] ---[ end trace 97bcfb290340c6fc ]---
[Fri Jul 22 17:36:30 2022] End test:   h2.test_h2_specs.H2Spec.test_h2_specs

@nickzaev
Copy link
Contributor Author

nickzaev commented Jul 22, 2022

FYI: for some reason:

tempesta-nick tempesta-test (master*?) # ag -Qi is_busy
framework/client.py
84:    def is_busy(self):

that function was not even used anywhere.

@krizhanovsky
Copy link
Contributor

krizhanovsky commented Jul 26, 2022

Both of the warnings are known Tempesta FW issues, I added comment tempesta-tech/tempesta#1387 (comment)

I think we can delete is_busy. Could you please delete it in a separate commit?

Copy link
Contributor

@krizhanovsky krizhanovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -81,22 +81,23 @@ def copy_files(self):
for (name, content) in self.files:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add the copyright headers to the file:

__author__ = 'Tempesta Technologies, Inc.'
__copyright__ = 'Copyright (C) 2018-2022 Tempesta Technologies, Inc.'
__license__ = 'GPL2'

@@ -74,7 +74,7 @@ class H2Spec(tester.TempestaTest):
'type' : 'external',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the copyright year in the file and other files, which you ever touch.

@nickzaev nickzaev changed the title WIP: disable failing h2spec tests disable failing h2spec tests Jul 30, 2022
@nickzaev
Copy link
Contributor Author

With our latest changes to h2spec I managed to catch the exact tests that cause Tempesta to throw warnings, I've marked those tests with comments. For now all unmasked tests pass correctly.

@@ -154,5 +155,7 @@ def set_user_agent(self, ua):
self.options.append('-H \'User-Agent: %s\'' % ua)

def wait_for_finish(self):
self.proc.join()
# until we explicitly get `self.exit_event` flag set
while self.is_busy(verbose=False):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we use self.exit_event.wait(some timeout) here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internally it uses locks and does some extra job, but we're not setting that event flag in different places, hence we don't really need it.

@s0nx s0nx self-requested a review August 3, 2022 14:35
@nickzaev nickzaev merged commit daf753b into master Aug 3, 2022
@nickzaev nickzaev deleted the nz-250 branch August 3, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

h2.test_h2_specs tests fails
4 participants