2026-04-27 02:30:20,462 - INFO - Domain Default found not creating 2026-04-27 02:30:20,629 - INFO - Project ctest-TestRoutersBasic-00516689 not found, creating it 2026-04-27 02:30:21,121 - INFO - Created Project:ctest-TestRoutersBasic-00516689, ID : 21b8f68b-8fb8-48b3-a5ab-c2f7dba1c838 2026-04-27 02:30:22,597 - INFO - ================================================================================ 2026-04-27 02:30:22,597 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-27 02:30:22,597 - 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-27 02:30:22,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-04-27 02:30:22,852 - INFO - Initial checks done. Running the testcase now 2026-04-27 02:30:22,852 - INFO - 2026-04-27 02:30:23,632 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00516689 2026-04-27 02:30:23,727 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00516689 2026-04-27 02:30:24,042 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00516689', 'default']} 2026-04-27 02:30:24,341 - DEBUG - Response for create_network : {'network': {'id': '5affa429-d60f-4a07-8009-6db7955e9e76', 'name': 'ctest-vn-60256690', 'tenant_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'project_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00516689', 'ctest-vn-60256690'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:30:24,527 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3a30bac-27c6-4d22-8b92-b2ae20aab06a', 'name': '', 'tenant_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'network_id': '5affa429-d60f-4a07-8009-6db7955e9e76', 'ip_version': 4, 'cidr': '181.42.13.128/26', 'allocation_pools': [{'start': '181.42.13.130', 'end': '181.42.13.190'}], 'gateway_ip': '181.42.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.42.13.130', 'tags': [], 'project_id': '21b8f68b8fb848b3a5abc2f7dba1c838'}} 2026-04-27 02:30:24,546 - INFO - Created VN ctest-vn-60256690 2026-04-27 02:30:24,598 - DEBUG - VN ctest-vn-60256690 UUID is 5affa429-d60f-4a07-8009-6db7955e9e76 2026-04-27 02:30:24,910 - DEBUG - Response for create_network : {'network': {'id': '92b5799c-cfec-4976-8f7b-c493ff9580a1', 'name': 'ctest-ext_vn-29126050', 'tenant_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'project_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00516689', 'ctest-ext_vn-29126050'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:30:25,093 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd098084-ff0b-4d54-804a-8f3cb60ca5b2', 'name': '', 'tenant_id': '21b8f68b8fb848b3a5abc2f7dba1c838', 'network_id': '92b5799c-cfec-4976-8f7b-c493ff9580a1', 'ip_version': 4, 'cidr': '35.142.110.128/26', 'allocation_pools': [{'start': '35.142.110.130', 'end': '35.142.110.190'}], 'gateway_ip': '35.142.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.142.110.130', 'tags': [], 'project_id': '21b8f68b8fb848b3a5abc2f7dba1c838'}} 2026-04-27 02:30:25,111 - INFO - Created VN ctest-ext_vn-29126050 2026-04-27 02:30:25,166 - DEBUG - VN ctest-ext_vn-29126050 UUID is 92b5799c-cfec-4976-8f7b-c493ff9580a1 2026-04-27 02:30:25,336 - DEBUG - Services list from nova: [, , ] 2026-04-27 02:30:26,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5689-1) 2026-04-27 02:30:27,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5689-1) 2026-04-27 02:30:27,638 - INFO - Setting gateway for router 71e49878-8641-49d1-b079-d47cbc17627d to network 92b5799c-cfec-4976-8f7b-c493ff9580a1 2026-04-27 02:30:27,703 - INFO - Adding interface with subnet_id b3a30bac-27c6-4d22-8b92-b2ae20aab06a, port_id None to router 71e49878-8641-49d1-b079-d47cbc17627d 2026-04-27 02:30:27,978 - INFO - Waiting for VM ctest-TestRoutersBasic-00516689-90305984 to be up.. 2026-04-27 02:30:28,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 02:30:33,215 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:30:33,216 - INFO - VM name : ctest-TestRoutersBasic-00516689-90305984 2026-04-27 02:30:33,292 - DEBUG - VM ctest-TestRoutersBasic-00516689-90305984 ID is 2ffbb050-3a0f-46e0-9dea-e99ba3ba36da 2026-04-27 02:30:33,310 - DEBUG - VM ctest-TestRoutersBasic-00516689-90305984 launched on Node cn-jenkins-deploy-platform-ansible-os-5689-1 2026-04-27 02:30:33,385 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2ffbb050-3a0f-46e0-9dea-e99ba3ba36da 2026-04-27 02:30:33,685 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2ffbb050-3a0f-46e0-9dea-e99ba3ba36da 2026-04-27 02:30:33,720 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/aa8f3788-6882-4796-ad04-e0cb94602bbe 2026-04-27 02:30:36,962 - 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 1003ms') 2026-04-27 02:30:36,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00516689-90305984 failed! 2026-04-27 02:30:37,018 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00516689:ctest-vn-60256690 is 181.42.13.129 and allocation pool is NOT set 2026-04-27 02:30:39,086 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.097/4.827/7.557/2.730 ms') 2026-04-27 02:30:39,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00516689-90305984 passed 2026-04-27 02:30:39,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:30:39,239 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00516689-90305984, IP 181.42.13.131, Port 22 2026-04-27 02:30:39,408 - DEBUG - VM ctest-TestRoutersBasic-00516689-90305984 is ready for SSH connections 2026-04-27 02:30:39,408 - INFO - Waiting for VM ctest-TestRoutersBasic-00516689-27729767 to be up.. 2026-04-27 02:30:39,495 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:30:39,495 - INFO - VM name : ctest-TestRoutersBasic-00516689-27729767 2026-04-27 02:30:39,572 - DEBUG - VM ctest-TestRoutersBasic-00516689-27729767 ID is 8e23b4f4-7adc-46df-8276-789b578f05f4 2026-04-27 02:30:39,572 - DEBUG - VM ctest-TestRoutersBasic-00516689-27729767 launched on Node cn-jenkins-deploy-platform-ansible-os-5689-1 2026-04-27 02:30:39,648 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8e23b4f4-7adc-46df-8276-789b578f05f4 2026-04-27 02:30:39,657 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/df03f00f-de9d-4878-b6d5-35a8aedb538d 2026-04-27 02:30:40,897 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.704/2.964/1.260 ms') 2026-04-27 02:30:40,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00516689-27729767 passed 2026-04-27 02:30:41,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:30:41,046 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00516689-27729767, IP 35.142.110.131, Port 22 2026-04-27 02:30:41,202 - DEBUG - VM ctest-TestRoutersBasic-00516689-27729767 is ready for SSH connections 2026-04-27 02:30:41,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:30:41,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.142.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-27 02:30:41,203 - DEBUG - ping -s 56 -c 3 -W 1 35.142.110.131 2026-04-27 02:30:44,898 - DEBUG - PING 35.142.110.131 (35.142.110.131): 56 data bytes 64 bytes from 35.142.110.131: seq=0 ttl=62 time=6.612 ms 64 bytes from 35.142.110.131: seq=1 ttl=62 time=0.867 ms 64 bytes from 35.142.110.131: seq=2 ttl=62 time=0.899 ms --- 35.142.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.792/6.612 ms 2026-04-27 02:30:44,898 - INFO - Ping to IP 35.142.110.131 from VM ctest-TestRoutersBasic-00516689-90305984 passed 2026-04-27 02:30:44,899 - INFO - Deleting interface with subnet_id b3a30bac-27c6-4d22-8b92-b2ae20aab06a, port_id None from router 71e49878-8641-49d1-b079-d47cbc17627d 2026-04-27 02:30:45,093 - INFO - Deleting VM ctest-TestRoutersBasic-00516689-27729767 2026-04-27 02:30:45,159 - INFO - Deleting VM ctest-TestRoutersBasic-00516689-90305984 2026-04-27 02:30:45,237 - INFO - Deleting VN ctest-ext_vn-29126050 2026-04-27 02:30:45,303 - DEBUG - VN 92b5799c-cfec-4976-8f7b-c493ff9580a1 still in use: Unable to complete operation on network 92b5799c-cfec-4976-8f7b-c493ff9580a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fc71c1c-2985-417a-88be-5e02efcb8951'] 2026-04-27 02:30:45,303 - WARNING - Deleting VN ctest-ext_vn-29126050 failed..Will retry 2026-04-27 02:30:47,415 - DEBUG - Response for deleting network () 2026-04-27 02:30:47,415 - INFO - Deleting VN ctest-vn-60256690 2026-04-27 02:30:47,540 - DEBUG - Response for deleting network () 2026-04-27 02:30:47,804 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:30:47,804 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-27 02:30:47,804 - INFO - -------------------------------------------------------------------------------- 2026-04-27 02:30:49,022 - INFO - Deleted project: ctest-TestRoutersBasic-00516689, ID : 21b8f68b-8fb8-48b3-a5ab-c2f7dba1c838