2026-04-23 02:04:32,386 - INFO - Domain Default found not creating 2026-04-23 02:04:32,582 - INFO - Project ctest-TestRoutersBasic-71843453 not found, creating it 2026-04-23 02:04:33,058 - INFO - Created Project:ctest-TestRoutersBasic-71843453, ID : 8396442d-40be-4ca5-9d71-a0cd9e7dc926 2026-04-23 02:04:34,623 - INFO - ================================================================================ 2026-04-23 02:04:34,623 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 02:04:34,623 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-04-23 02:04:34,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2026-04-23 02:04:34,887 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:04:34,887 - INFO - 2026-04-23 02:04:35,625 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71843453 2026-04-23 02:04:35,723 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71843453 2026-04-23 02:04:36,050 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71843453', 'default']} 2026-04-23 02:04:36,384 - DEBUG - Response for create_network : {'network': {'id': 'c7b34582-1a6c-47e0-9d67-7bdcf4160277', 'name': 'ctest-vn-50511614', 'tenant_id': '8396442d40be4ca59d71a0cd9e7dc926', 'project_id': '8396442d40be4ca59d71a0cd9e7dc926', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71843453', 'ctest-vn-50511614'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:04:36,571 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4532495-f483-4baa-b86d-b17a324153c3', 'name': '', 'tenant_id': '8396442d40be4ca59d71a0cd9e7dc926', 'network_id': 'c7b34582-1a6c-47e0-9d67-7bdcf4160277', 'ip_version': 4, 'cidr': '139.148.227.192/26', 'allocation_pools': [{'start': '139.148.227.194', 'end': '139.148.227.254'}], 'gateway_ip': '139.148.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.148.227.194', 'tags': [], 'project_id': '8396442d40be4ca59d71a0cd9e7dc926'}} 2026-04-23 02:04:36,596 - INFO - Created VN ctest-vn-50511614 2026-04-23 02:04:36,647 - DEBUG - VN ctest-vn-50511614 UUID is c7b34582-1a6c-47e0-9d67-7bdcf4160277 2026-04-23 02:04:36,989 - DEBUG - Response for create_network : {'network': {'id': 'a6d6f4b5-390c-4941-87e3-1e800b7ef101', 'name': 'ctest-ext_vn-52246331', 'tenant_id': '8396442d40be4ca59d71a0cd9e7dc926', 'project_id': '8396442d40be4ca59d71a0cd9e7dc926', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71843453', 'ctest-ext_vn-52246331'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:04:37,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2c7fc58-409c-4311-8243-23e365d0cf21', 'name': '', 'tenant_id': '8396442d40be4ca59d71a0cd9e7dc926', 'network_id': 'a6d6f4b5-390c-4941-87e3-1e800b7ef101', 'ip_version': 4, 'cidr': '217.17.151.192/26', 'allocation_pools': [{'start': '217.17.151.194', 'end': '217.17.151.254'}], 'gateway_ip': '217.17.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.17.151.194', 'tags': [], 'project_id': '8396442d40be4ca59d71a0cd9e7dc926'}} 2026-04-23 02:04:37,258 - INFO - Created VN ctest-ext_vn-52246331 2026-04-23 02:04:37,314 - DEBUG - VN ctest-ext_vn-52246331 UUID is a6d6f4b5-390c-4941-87e3-1e800b7ef101 2026-04-23 02:04:37,511 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:04:38,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:04:39,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:04:40,040 - INFO - Setting gateway for router dbb06270-2921-4272-a08f-3ad6b2487b6b to network a6d6f4b5-390c-4941-87e3-1e800b7ef101 2026-04-23 02:04:40,117 - INFO - Adding interface with subnet_id b4532495-f483-4baa-b86d-b17a324153c3, port_id None to router dbb06270-2921-4272-a08f-3ad6b2487b6b 2026-04-23 02:04:40,511 - INFO - Waiting for VM ctest-TestRoutersBasic-71843453-26243510 to be up.. 2026-04-23 02:04:40,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:04:45,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:04:50,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:04:55,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:05:01,103 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:05:01,103 - INFO - VM name : ctest-TestRoutersBasic-71843453-26243510 2026-04-23 02:05:01,209 - DEBUG - VM ctest-TestRoutersBasic-71843453-26243510 ID is 0d6c9804-736a-4fa6-b788-7bfee9421d0c 2026-04-23 02:05:01,233 - DEBUG - VM ctest-TestRoutersBasic-71843453-26243510 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:05:01,321 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0d6c9804-736a-4fa6-b788-7bfee9421d0c 2026-04-23 02:05:01,620 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0d6c9804-736a-4fa6-b788-7bfee9421d0c 2026-04-23 02:05:01,658 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/de44db74-6bc7-4534-8880-b0c8e265087d 2026-04-23 02:05:04,927 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-04-23 02:05:04,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71843453-26243510 failed! 2026-04-23 02:05:04,987 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71843453:ctest-vn-50511614 is 139.148.227.193 and allocation pool is NOT set 2026-04-23 02:05:07,053 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.034/3.175/5.317/2.141 ms') 2026-04-23 02:05:07,053 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71843453-26243510 passed 2026-04-23 02:05:07,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:05:07,211 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71843453-26243510, IP 139.148.227.195, Port 22 2026-04-23 02:05:07,382 - DEBUG - VM ctest-TestRoutersBasic-71843453-26243510 is ready for SSH connections 2026-04-23 02:05:07,382 - INFO - Waiting for VM ctest-TestRoutersBasic-71843453-87947642 to be up.. 2026-04-23 02:05:07,471 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:05:07,471 - INFO - VM name : ctest-TestRoutersBasic-71843453-87947642 2026-04-23 02:05:07,561 - DEBUG - VM ctest-TestRoutersBasic-71843453-87947642 ID is 45bb73a2-fe11-415a-bf34-20deaf7c25f0 2026-04-23 02:05:07,561 - DEBUG - VM ctest-TestRoutersBasic-71843453-87947642 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:05:07,655 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/45bb73a2-fe11-415a-bf34-20deaf7c25f0 2026-04-23 02:05:07,667 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b98f0f53-8cc0-4a3b-97b8-4d82168ca4b4 2026-04-23 02:05:08,935 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=13.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.53 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.530/7.259/12.989/5.729 ms') 2026-04-23 02:05:08,935 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71843453-87947642 passed 2026-04-23 02:05:09,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:05:09,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71843453-87947642, IP 217.17.151.195, Port 22 2026-04-23 02:05:09,257 - DEBUG - VM ctest-TestRoutersBasic-71843453-87947642 is ready for SSH connections 2026-04-23 02:05:09,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:05:09,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.17.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:05:09,258 - DEBUG - ping -s 56 -c 3 -W 1 217.17.151.195 2026-04-23 02:05:13,411 - DEBUG - PING 217.17.151.195 (217.17.151.195): 56 data bytes 64 bytes from 217.17.151.195: seq=0 ttl=62 time=5.154 ms 64 bytes from 217.17.151.195: seq=1 ttl=62 time=1.781 ms 64 bytes from 217.17.151.195: seq=2 ttl=62 time=1.187 ms --- 217.17.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.187/2.707/5.154 ms 2026-04-23 02:05:13,411 - INFO - Ping to IP 217.17.151.195 from VM ctest-TestRoutersBasic-71843453-26243510 passed 2026-04-23 02:05:13,411 - INFO - Deleting interface with subnet_id b4532495-f483-4baa-b86d-b17a324153c3, port_id None from router dbb06270-2921-4272-a08f-3ad6b2487b6b 2026-04-23 02:05:13,630 - INFO - Deleting VM ctest-TestRoutersBasic-71843453-87947642 2026-04-23 02:05:13,761 - INFO - Deleting VM ctest-TestRoutersBasic-71843453-26243510 2026-04-23 02:05:14,183 - INFO - Deleting VN ctest-ext_vn-52246331 2026-04-23 02:05:14,284 - DEBUG - VN a6d6f4b5-390c-4941-87e3-1e800b7ef101 still in use: Unable to complete operation on network a6d6f4b5-390c-4941-87e3-1e800b7ef101. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c41cbc38-3025-4747-8414-b1827492e2b9'] 2026-04-23 02:05:14,285 - WARNING - Deleting VN ctest-ext_vn-52246331 failed..Will retry 2026-04-23 02:05:16,417 - DEBUG - Response for deleting network () 2026-04-23 02:05:16,418 - INFO - Deleting VN ctest-vn-50511614 2026-04-23 02:05:16,548 - DEBUG - Response for deleting network () 2026-04-23 02:05:16,819 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:05:16,819 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:42]
2026-04-23 02:05:16,819 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:05:17,595 - INFO - Deleted project: ctest-TestRoutersBasic-71843453, ID : 8396442d-40be-4ca5-9d71-a0cd9e7dc926