2026-03-30 03:45:16,630 - INFO - Domain Default found not creating 2026-03-30 03:45:16,808 - INFO - Project ctest-TestRoutersBasic-01070965 not found, creating it 2026-03-30 03:45:17,285 - INFO - Created Project:ctest-TestRoutersBasic-01070965, ID : ae36336f-d8a4-411a-8c03-96a86ae66552 2026-03-30 03:45:18,912 - INFO - ================================================================================ 2026-03-30 03:45:18,912 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-30 03:45:18,912 - 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-03-30 03:45:19,168 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.129': '0'}} with 2026-03-30 03:45:19,168 - INFO - Initial checks done. Running the testcase now 2026-03-30 03:45:19,168 - INFO - 2026-03-30 03:45:19,976 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01070965 2026-03-30 03:45:20,074 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01070965 2026-03-30 03:45:20,394 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01070965', 'default']} 2026-03-30 03:45:20,723 - DEBUG - Response for create_network : {'network': {'id': '076b08e2-2164-411e-a4cf-a49f9528b508', 'name': 'ctest-vn-02472339', 'tenant_id': 'ae36336fd8a4411a8c0396a86ae66552', 'project_id': 'ae36336fd8a4411a8c0396a86ae66552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01070965', 'ctest-vn-02472339'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:45:20,957 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd35185eb-3d6b-4c10-98a2-f49feb448768', 'name': '', 'tenant_id': 'ae36336fd8a4411a8c0396a86ae66552', 'network_id': '076b08e2-2164-411e-a4cf-a49f9528b508', 'ip_version': 4, 'cidr': '186.13.22.128/26', 'allocation_pools': [{'start': '186.13.22.130', 'end': '186.13.22.190'}], 'gateway_ip': '186.13.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.13.22.130', 'tags': [], 'project_id': 'ae36336fd8a4411a8c0396a86ae66552'}} 2026-03-30 03:45:20,978 - INFO - Created VN ctest-vn-02472339 2026-03-30 03:45:21,037 - DEBUG - VN ctest-vn-02472339 UUID is 076b08e2-2164-411e-a4cf-a49f9528b508 2026-03-30 03:45:21,389 - DEBUG - Response for create_network : {'network': {'id': '0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15', 'name': 'ctest-ext_vn-11033877', 'tenant_id': 'ae36336fd8a4411a8c0396a86ae66552', 'project_id': 'ae36336fd8a4411a8c0396a86ae66552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01070965', 'ctest-ext_vn-11033877'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:45:21,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '11c317d2-598b-409d-bd0e-4da13e5088a7', 'name': '', 'tenant_id': 'ae36336fd8a4411a8c0396a86ae66552', 'network_id': '0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15', 'ip_version': 4, 'cidr': '33.84.91.192/26', 'allocation_pools': [{'start': '33.84.91.194', 'end': '33.84.91.254'}], 'gateway_ip': '33.84.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.84.91.194', 'tags': [], 'project_id': 'ae36336fd8a4411a8c0396a86ae66552'}} 2026-03-30 03:45:21,588 - INFO - Created VN ctest-ext_vn-11033877 2026-03-30 03:45:21,663 - DEBUG - VN ctest-ext_vn-11033877 UUID is 0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15 2026-03-30 03:45:21,875 - DEBUG - Services list from nova: [, , ] 2026-03-30 03:45:23,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5558-1) 2026-03-30 03:45:24,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5558-1) 2026-03-30 03:45:24,397 - INFO - Setting gateway for router 3e99d66d-364b-4a4e-9bfa-e3903625c80e to network 0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15 2026-03-30 03:45:24,475 - INFO - Adding interface with subnet_id d35185eb-3d6b-4c10-98a2-f49feb448768, port_id None to router 3e99d66d-364b-4a4e-9bfa-e3903625c80e 2026-03-30 03:45:24,898 - INFO - Waiting for VM ctest-TestRoutersBasic-01070965-25955007 to be up.. 2026-03-30 03:45:25,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 03:45:30,221 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:45:30,221 - INFO - VM name : ctest-TestRoutersBasic-01070965-25955007 2026-03-30 03:45:30,322 - DEBUG - VM ctest-TestRoutersBasic-01070965-25955007 ID is bd28a29d-a81c-430e-b79c-70d2201f4f99 2026-03-30 03:45:30,345 - DEBUG - VM ctest-TestRoutersBasic-01070965-25955007 launched on Node cn-jenkins-deploy-platform-ansible-os-5558-1 2026-03-30 03:45:30,444 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bd28a29d-a81c-430e-b79c-70d2201f4f99 2026-03-30 03:45:30,793 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bd28a29d-a81c-430e-b79c-70d2201f4f99 2026-03-30 03:45:30,850 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/276072fd-a81d-4bbe-9334-9119a48adb11 2026-03-30 03:45:34,110 - 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 1005ms') 2026-03-30 03:45:34,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01070965-25955007 failed! 2026-03-30 03:45:34,166 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01070965:ctest-vn-02472339 is 186.13.22.129 and allocation pool is NOT set 2026-03-30 03:45:36,227 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/2.978/5.014/2.035 ms') 2026-03-30 03:45:36,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01070965-25955007 passed 2026-03-30 03:45:36,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:45:36,386 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01070965-25955007, IP 186.13.22.131, Port 22 2026-03-30 03:45:36,550 - DEBUG - VM ctest-TestRoutersBasic-01070965-25955007 is ready for SSH connections 2026-03-30 03:45:36,550 - INFO - Waiting for VM ctest-TestRoutersBasic-01070965-16493187 to be up.. 2026-03-30 03:45:36,628 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:45:36,629 - INFO - VM name : ctest-TestRoutersBasic-01070965-16493187 2026-03-30 03:45:36,704 - DEBUG - VM ctest-TestRoutersBasic-01070965-16493187 ID is d1f7f736-e5c5-43f5-aca8-b16bbeb5c596 2026-03-30 03:45:36,704 - DEBUG - VM ctest-TestRoutersBasic-01070965-16493187 launched on Node cn-jenkins-deploy-platform-ansible-os-5558-1 2026-03-30 03:45:36,780 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d1f7f736-e5c5-43f5-aca8-b16bbeb5c596 2026-03-30 03:45:36,788 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ad3d5de9-0f1b-4c2c-bf26-9027460abc55 2026-03-30 03:45:38,024 - 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=3.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.982 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.982/2.373/3.765/1.391 ms') 2026-03-30 03:45:38,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01070965-16493187 passed 2026-03-30 03:45:38,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:45:38,174 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01070965-16493187, IP 33.84.91.195, Port 22 2026-03-30 03:45:38,341 - DEBUG - VM ctest-TestRoutersBasic-01070965-16493187 is ready for SSH connections 2026-03-30 03:45:38,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:45:38,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.84.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-30 03:45:38,341 - DEBUG - ping -s 56 -c 3 -W 1 33.84.91.195 2026-03-30 03:45:42,189 - DEBUG - PING 33.84.91.195 (33.84.91.195): 56 data bytes 64 bytes from 33.84.91.195: seq=0 ttl=62 time=8.474 ms 64 bytes from 33.84.91.195: seq=1 ttl=62 time=0.899 ms 64 bytes from 33.84.91.195: seq=2 ttl=62 time=1.233 ms --- 33.84.91.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/3.535/8.474 ms 2026-03-30 03:45:42,189 - INFO - Ping to IP 33.84.91.195 from VM ctest-TestRoutersBasic-01070965-25955007 passed 2026-03-30 03:45:42,189 - INFO - Deleting interface with subnet_id d35185eb-3d6b-4c10-98a2-f49feb448768, port_id None from router 3e99d66d-364b-4a4e-9bfa-e3903625c80e 2026-03-30 03:45:42,412 - INFO - Deleting VM ctest-TestRoutersBasic-01070965-16493187 2026-03-30 03:45:42,495 - INFO - Deleting VM ctest-TestRoutersBasic-01070965-25955007 2026-03-30 03:45:42,605 - INFO - Deleting VN ctest-ext_vn-11033877 2026-03-30 03:45:42,679 - DEBUG - VN 0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15 still in use: Unable to complete operation on network 0a1d3aa2-0418-4ba5-87fd-36e6e52cdb15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-feeeb7da-592c-4640-b579-a1a3425b5e26'] 2026-03-30 03:45:42,679 - WARNING - Deleting VN ctest-ext_vn-11033877 failed..Will retry 2026-03-30 03:45:44,785 - DEBUG - Response for deleting network () 2026-03-30 03:45:44,785 - INFO - Deleting VN ctest-vn-02472339 2026-03-30 03:45:44,903 - DEBUG - Response for deleting network () 2026-03-30 03:45:45,160 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 03:45:45,160 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-03-30 03:45:45,160 - INFO - -------------------------------------------------------------------------------- 2026-03-30 03:45:45,880 - INFO - Deleted project: ctest-TestRoutersBasic-01070965, ID : ae36336f-d8a4-411a-8c03-96a86ae66552