2026-09-02 03:00:40,327 - INFO - Domain Default found not creating 2026-09-02 03:00:40,580 - INFO - Project ctest-TestRoutersBasic-04432737 not found, creating it 2026-09-02 03:00:41,058 - INFO - Created Project:ctest-TestRoutersBasic-04432737, ID : 42217c9d-2a33-446d-818f-e9ed1d471b21 2026-09-02 03:00:42,666 - INFO - ================================================================================ 2026-09-02 03:00:42,666 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-02 03:00:42,666 - 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-09-02 03:00:42,922 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with 2026-09-02 03:00:42,922 - INFO - Initial checks done. Running the testcase now 2026-09-02 03:00:42,922 - INFO - 2026-09-02 03:00:43,745 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04432737 2026-09-02 03:00:43,842 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04432737 2026-09-02 03:00:44,169 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04432737', 'default']} 2026-09-02 03:00:44,495 - DEBUG - Response for create_network : {'network': {'id': '948f47cb-2ebd-4747-9a2b-9de340fd0165', 'name': 'ctest-vn-88548527', 'tenant_id': '42217c9d2a33446d818fe9ed1d471b21', 'project_id': '42217c9d2a33446d818fe9ed1d471b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04432737', 'ctest-vn-88548527'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:00:44,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d46eb0b-cb7a-4673-8d61-7794a4f99106', 'name': '', 'tenant_id': '42217c9d2a33446d818fe9ed1d471b21', 'network_id': '948f47cb-2ebd-4747-9a2b-9de340fd0165', 'ip_version': 4, 'cidr': '13.223.178.64/26', 'allocation_pools': [{'start': '13.223.178.66', 'end': '13.223.178.126'}], 'gateway_ip': '13.223.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.223.178.66', 'tags': [], 'project_id': '42217c9d2a33446d818fe9ed1d471b21'}} 2026-09-02 03:00:44,715 - INFO - Created VN ctest-vn-88548527 2026-09-02 03:00:44,774 - DEBUG - VN ctest-vn-88548527 UUID is 948f47cb-2ebd-4747-9a2b-9de340fd0165 2026-09-02 03:00:45,154 - DEBUG - Response for create_network : {'network': {'id': '048ff46d-484b-409c-a46a-90ee3f28e68f', 'name': 'ctest-ext_vn-90043001', 'tenant_id': '42217c9d2a33446d818fe9ed1d471b21', 'project_id': '42217c9d2a33446d818fe9ed1d471b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04432737', 'ctest-ext_vn-90043001'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:00:45,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a997fa20-6a4e-439d-a2c5-59e375cce02b', 'name': '', 'tenant_id': '42217c9d2a33446d818fe9ed1d471b21', 'network_id': '048ff46d-484b-409c-a46a-90ee3f28e68f', 'ip_version': 4, 'cidr': '42.227.86.0/26', 'allocation_pools': [{'start': '42.227.86.2', 'end': '42.227.86.62'}], 'gateway_ip': '42.227.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.227.86.2', 'tags': [], 'project_id': '42217c9d2a33446d818fe9ed1d471b21'}} 2026-09-02 03:00:45,354 - INFO - Created VN ctest-ext_vn-90043001 2026-09-02 03:00:45,406 - DEBUG - VN ctest-ext_vn-90043001 UUID is 048ff46d-484b-409c-a46a-90ee3f28e68f 2026-09-02 03:00:45,604 - DEBUG - Services list from nova: [, , ] 2026-09-02 03:00:45,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6244-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6244-30) 2026-09-02 03:00:46,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6244-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6244-30) 2026-09-02 03:00:46,473 - INFO - Setting gateway for router ccf3b274-5ce6-4dca-929e-cb660ac4a112 to network 048ff46d-484b-409c-a46a-90ee3f28e68f 2026-09-02 03:00:46,554 - INFO - Adding interface with subnet_id 9d46eb0b-cb7a-4673-8d61-7794a4f99106, port_id None to router ccf3b274-5ce6-4dca-929e-cb660ac4a112 2026-09-02 03:00:46,822 - INFO - Waiting for VM ctest-TestRoutersBasic-04432737-87543457 to be up.. 2026-09-02 03:00:46,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:00:51,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:00:57,061 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:01:02,155 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:01:07,307 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:01:12,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:01:17,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:01:22,567 - DEBUG - VM is in ACTIVE state now 2026-09-02 03:01:22,568 - INFO - VM name : ctest-TestRoutersBasic-04432737-87543457 2026-09-02 03:01:22,648 - DEBUG - VM ctest-TestRoutersBasic-04432737-87543457 ID is 6093c877-e9e9-40d6-a74e-028a8abbcebd 2026-09-02 03:01:22,671 - DEBUG - VM ctest-TestRoutersBasic-04432737-87543457 launched on Node cn-jenkins-deploy-platform-ansible-os-6244-30 2026-09-02 03:01:22,754 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/6093c877-e9e9-40d6-a74e-028a8abbcebd 2026-09-02 03:01:23,087 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/6093c877-e9e9-40d6-a74e-028a8abbcebd 2026-09-02 03:01:23,124 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/2cf0bcc7-9988-4ef1-8ff5-e500dc21a131 2026-09-02 03:01:26,384 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-09-02 03:01:26,385 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-04432737-87543457 failed! 2026-09-02 03:01:26,446 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04432737:ctest-vn-88548527 is 13.223.178.65 and allocation pool is NOT set 2026-09-02 03:01:28,511 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=11.9 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.491/6.187/11.884/5.696 ms') 2026-09-02 03:01:28,511 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-04432737-87543457 passed 2026-09-02 03:01:28,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:01:28,662 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04432737-87543457, IP 13.223.178.67, Port 22 2026-09-02 03:01:28,837 - DEBUG - VM ctest-TestRoutersBasic-04432737-87543457 is ready for SSH connections 2026-09-02 03:01:28,837 - INFO - Waiting for VM ctest-TestRoutersBasic-04432737-16464441 to be up.. 2026-09-02 03:01:28,924 - DEBUG - VM is in ACTIVE state now 2026-09-02 03:01:28,924 - INFO - VM name : ctest-TestRoutersBasic-04432737-16464441 2026-09-02 03:01:29,011 - DEBUG - VM ctest-TestRoutersBasic-04432737-16464441 ID is f56be377-9667-4c31-ac15-202a5879a42a 2026-09-02 03:01:29,011 - DEBUG - VM ctest-TestRoutersBasic-04432737-16464441 launched on Node cn-jenkins-deploy-platform-ansible-os-6244-30 2026-09-02 03:01:29,096 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/f56be377-9667-4c31-ac15-202a5879a42a 2026-09-02 03:01:29,105 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/ff06c8ef-5b15-4cba-8a12-698ec084b6e6 2026-09-02 03:01:32,372 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-09-02 03:01:32,372 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-04432737-16464441 failed! 2026-09-02 03:01:32,426 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04432737:ctest-ext_vn-90043001 is 42.227.86.1 and allocation pool is NOT set 2026-09-02 03:01:34,486 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.49 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.630 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.630/2.060/3.491/1.430 ms') 2026-09-02 03:01:34,486 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-04432737-16464441 passed 2026-09-02 03:01:34,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:01:34,638 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04432737-16464441, IP 42.227.86.4, Port 22 2026-09-02 03:01:34,793 - DEBUG - VM ctest-TestRoutersBasic-04432737-16464441 is ready for SSH connections 2026-09-02 03:01:34,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:01:34,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.227.86.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-02 03:01:34,793 - DEBUG - ping -s 56 -c 3 -W 1 42.227.86.4 2026-09-02 03:01:37,827 - DEBUG - PING 42.227.86.4 (42.227.86.4): 56 data bytes 64 bytes from 42.227.86.4: seq=0 ttl=62 time=5.422 ms 64 bytes from 42.227.86.4: seq=1 ttl=62 time=1.190 ms 64 bytes from 42.227.86.4: seq=2 ttl=62 time=1.264 ms --- 42.227.86.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.190/2.625/5.422 ms 2026-09-02 03:01:37,827 - INFO - Ping to IP 42.227.86.4 from VM ctest-TestRoutersBasic-04432737-87543457 passed 2026-09-02 03:01:37,827 - INFO - Deleting interface with subnet_id 9d46eb0b-cb7a-4673-8d61-7794a4f99106, port_id None from router ccf3b274-5ce6-4dca-929e-cb660ac4a112 2026-09-02 03:01:38,077 - INFO - Deleting VM ctest-TestRoutersBasic-04432737-16464441 2026-09-02 03:01:38,169 - INFO - Deleting VM ctest-TestRoutersBasic-04432737-87543457 2026-09-02 03:01:38,242 - INFO - Deleting VN ctest-ext_vn-90043001 2026-09-02 03:01:38,314 - DEBUG - VN 048ff46d-484b-409c-a46a-90ee3f28e68f still in use: Unable to complete operation on network 048ff46d-484b-409c-a46a-90ee3f28e68f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d63530cd-1a28-40a6-87e0-621a771c0006'] 2026-09-02 03:01:38,314 - WARNING - Deleting VN ctest-ext_vn-90043001 failed..Will retry 2026-09-02 03:01:40,485 - DEBUG - Response for deleting network () 2026-09-02 03:01:40,485 - INFO - Deleting VN ctest-vn-88548527 2026-09-02 03:01:40,599 - DEBUG - Response for deleting network () 2026-09-02 03:01:40,859 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 03:01:40,859 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-09-02 03:01:40,860 - INFO - -------------------------------------------------------------------------------- 2026-09-02 03:01:41,611 - INFO - Deleted project: ctest-TestRoutersBasic-04432737, ID : 42217c9d-2a33-446d-818f-e9ed1d471b21