2026-05-29 12:58:17,540 - INFO - Domain Default found not creating 2026-05-29 12:58:17,707 - INFO - Project ctest-TestRoutersBasic-44905286 not found, creating it 2026-05-29 12:58:18,181 - INFO - Created Project:ctest-TestRoutersBasic-44905286, ID : 0860fc83-affa-423b-8df2-2c700ef17dc9 2026-05-29 12:58:19,690 - INFO - ================================================================================ 2026-05-29 12:58:19,690 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-29 12:58:19,690 - 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-05-29 12:58:19,943 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-05-29 12:58:19,943 - INFO - Initial checks done. Running the testcase now 2026-05-29 12:58:19,943 - INFO - 2026-05-29 12:58:20,656 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44905286 2026-05-29 12:58:20,750 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44905286 2026-05-29 12:58:21,073 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44905286', 'default']} 2026-05-29 12:58:21,376 - DEBUG - Response for create_network : {'network': {'id': '3865be63-e881-4856-87ef-e559e8d438a7', 'name': 'ctest-vn-64451016', 'tenant_id': '0860fc83affa423b8df22c700ef17dc9', 'project_id': '0860fc83affa423b8df22c700ef17dc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44905286', 'ctest-vn-64451016'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:58:21,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '33b68ef3-a2ad-455b-8fb8-777034f2de09', 'name': '', 'tenant_id': '0860fc83affa423b8df22c700ef17dc9', 'network_id': '3865be63-e881-4856-87ef-e559e8d438a7', 'ip_version': 4, 'cidr': '204.113.146.128/26', 'allocation_pools': [{'start': '204.113.146.130', 'end': '204.113.146.190'}], 'gateway_ip': '204.113.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.113.146.130', 'tags': [], 'project_id': '0860fc83affa423b8df22c700ef17dc9'}} 2026-05-29 12:58:21,597 - INFO - Created VN ctest-vn-64451016 2026-05-29 12:58:21,650 - DEBUG - VN ctest-vn-64451016 UUID is 3865be63-e881-4856-87ef-e559e8d438a7 2026-05-29 12:58:21,997 - DEBUG - Response for create_network : {'network': {'id': 'f73911d9-59fd-44d1-b7dd-8b234843b096', 'name': 'ctest-ext_vn-05956957', 'tenant_id': '0860fc83affa423b8df22c700ef17dc9', 'project_id': '0860fc83affa423b8df22c700ef17dc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44905286', 'ctest-ext_vn-05956957'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:58:22,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '0285cee3-69e5-4e23-97b7-8a4b0669c782', 'name': '', 'tenant_id': '0860fc83affa423b8df22c700ef17dc9', 'network_id': 'f73911d9-59fd-44d1-b7dd-8b234843b096', 'ip_version': 4, 'cidr': '78.186.192.64/26', 'allocation_pools': [{'start': '78.186.192.66', 'end': '78.186.192.126'}], 'gateway_ip': '78.186.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.186.192.66', 'tags': [], 'project_id': '0860fc83affa423b8df22c700ef17dc9'}} 2026-05-29 12:58:22,179 - INFO - Created VN ctest-ext_vn-05956957 2026-05-29 12:58:22,230 - DEBUG - VN ctest-ext_vn-05956957 UUID is f73911d9-59fd-44d1-b7dd-8b234843b096 2026-05-29 12:58:22,393 - DEBUG - Services list from nova: [, , ] 2026-05-29 12:58:23,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5850-1) 2026-05-29 12:58:24,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5850-1) 2026-05-29 12:58:24,613 - INFO - Setting gateway for router 716cf4cd-cf51-4c86-9338-087b60549b1b to network f73911d9-59fd-44d1-b7dd-8b234843b096 2026-05-29 12:58:24,667 - INFO - Adding interface with subnet_id 33b68ef3-a2ad-455b-8fb8-777034f2de09, port_id None to router 716cf4cd-cf51-4c86-9338-087b60549b1b 2026-05-29 12:58:25,063 - INFO - Waiting for VM ctest-TestRoutersBasic-44905286-73985946 to be up.. 2026-05-29 12:58:25,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 12:58:30,279 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:58:30,279 - INFO - VM name : ctest-TestRoutersBasic-44905286-73985946 2026-05-29 12:58:30,351 - DEBUG - VM ctest-TestRoutersBasic-44905286-73985946 ID is 810a529d-3c2e-4286-b317-65a0786b16c6 2026-05-29 12:58:30,370 - DEBUG - VM ctest-TestRoutersBasic-44905286-73985946 launched on Node cn-jenkins-deploy-platform-ansible-os-5850-1 2026-05-29 12:58:30,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/810a529d-3c2e-4286-b317-65a0786b16c6 2026-05-29 12:58:30,741 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/810a529d-3c2e-4286-b317-65a0786b16c6 2026-05-29 12:58:30,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6efeff10-96ab-4dd5-acd7-fa103aee4aef 2026-05-29 12:58:34,044 - 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 1031ms') 2026-05-29 12:58:34,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44905286-73985946 failed! 2026-05-29 12:58:34,098 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44905286:ctest-vn-64451016 is 204.113.146.129 and allocation pool is NOT set 2026-05-29 12:58:36,166 - 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=2.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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 = 0.477/1.533/2.590/1.056 ms') 2026-05-29 12:58:36,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44905286-73985946 passed 2026-05-29 12:58:36,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:58:36,318 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44905286-73985946, IP 204.113.146.131, Port 22 2026-05-29 12:58:36,473 - DEBUG - VM ctest-TestRoutersBasic-44905286-73985946 is ready for SSH connections 2026-05-29 12:58:36,473 - INFO - Waiting for VM ctest-TestRoutersBasic-44905286-84455613 to be up.. 2026-05-29 12:58:36,548 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:58:36,548 - INFO - VM name : ctest-TestRoutersBasic-44905286-84455613 2026-05-29 12:58:36,620 - DEBUG - VM ctest-TestRoutersBasic-44905286-84455613 ID is 283c471b-8411-458f-a8de-b250f11f4898 2026-05-29 12:58:36,620 - DEBUG - VM ctest-TestRoutersBasic-44905286-84455613 launched on Node cn-jenkins-deploy-platform-ansible-os-5850-1 2026-05-29 12:58:36,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/283c471b-8411-458f-a8de-b250f11f4898 2026-05-29 12:58:36,702 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0bcfed3d-5950-492a-b638-4be7b1cc602c 2026-05-29 12:58:37,938 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.575/2.739/1.164 ms') 2026-05-29 12:58:37,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44905286-84455613 passed 2026-05-29 12:58:38,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:58:38,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44905286-84455613, IP 78.186.192.67, Port 22 2026-05-29 12:58:38,253 - DEBUG - VM ctest-TestRoutersBasic-44905286-84455613 is ready for SSH connections 2026-05-29 12:58:38,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:58:38,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.186.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 12:58:38,253 - DEBUG - ping -s 56 -c 3 -W 1 78.186.192.67 2026-05-29 12:58:41,941 - DEBUG - PING 78.186.192.67 (78.186.192.67): 56 data bytes 64 bytes from 78.186.192.67: seq=0 ttl=62 time=7.864 ms 64 bytes from 78.186.192.67: seq=1 ttl=62 time=0.977 ms 64 bytes from 78.186.192.67: seq=2 ttl=62 time=1.067 ms --- 78.186.192.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/3.302/7.864 ms 2026-05-29 12:58:41,942 - INFO - Ping to IP 78.186.192.67 from VM ctest-TestRoutersBasic-44905286-73985946 passed 2026-05-29 12:58:41,942 - INFO - Deleting interface with subnet_id 33b68ef3-a2ad-455b-8fb8-777034f2de09, port_id None from router 716cf4cd-cf51-4c86-9338-087b60549b1b 2026-05-29 12:58:42,123 - INFO - Deleting VM ctest-TestRoutersBasic-44905286-84455613 2026-05-29 12:58:42,211 - INFO - Deleting VM ctest-TestRoutersBasic-44905286-73985946 2026-05-29 12:58:42,300 - INFO - Deleting VN ctest-ext_vn-05956957 2026-05-29 12:58:42,396 - DEBUG - VN f73911d9-59fd-44d1-b7dd-8b234843b096 still in use: Unable to complete operation on network f73911d9-59fd-44d1-b7dd-8b234843b096. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31b1b098-dfdf-401a-9f83-262bb6f85c57'] 2026-05-29 12:58:42,396 - WARNING - Deleting VN ctest-ext_vn-05956957 failed..Will retry 2026-05-29 12:58:44,502 - DEBUG - Response for deleting network () 2026-05-29 12:58:44,502 - INFO - Deleting VN ctest-vn-64451016 2026-05-29 12:58:44,607 - DEBUG - Response for deleting network () 2026-05-29 12:58:44,875 - DEBUG - No XMPP flaps were noticed during the test 2026-05-29 12:58:44,875 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-05-29 12:58:44,875 - INFO - -------------------------------------------------------------------------------- 2026-05-29 12:58:45,556 - INFO - Deleted project: ctest-TestRoutersBasic-44905286, ID : 0860fc83-affa-423b-8df2-2c700ef17dc9