2026-09-09 10:32:02,940 - INFO - Domain Default found not creating 2026-09-09 10:32:03,126 - INFO - Project ctest-TestRoutersBasic-17307355 not found, creating it 2026-09-09 10:32:03,716 - INFO - Created Project:ctest-TestRoutersBasic-17307355, ID : 92ce441b-9825-4622-8893-8f3f86be5c1b 2026-09-09 10:32:05,293 - INFO - ================================================================================ 2026-09-09 10:32:05,294 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-09 10:32:05,294 - 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-09 10:32:05,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with 2026-09-09 10:32:05,551 - INFO - Initial checks done. Running the testcase now 2026-09-09 10:32:05,551 - INFO - 2026-09-09 10:32:06,334 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17307355 2026-09-09 10:32:06,435 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17307355 2026-09-09 10:32:06,767 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17307355', 'default']} 2026-09-09 10:32:07,066 - DEBUG - Response for create_network : {'network': {'id': 'ccedd47b-caba-4d49-ac4e-f77a784d623c', 'name': 'ctest-vn-58423320', 'tenant_id': '92ce441b9825462288938f3f86be5c1b', 'project_id': '92ce441b9825462288938f3f86be5c1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17307355', 'ctest-vn-58423320'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 10:32:07,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f0398ed-4b18-4ecf-838e-c4b8b82d694f', 'name': '', 'tenant_id': '92ce441b9825462288938f3f86be5c1b', 'network_id': 'ccedd47b-caba-4d49-ac4e-f77a784d623c', 'ip_version': 4, 'cidr': '145.173.174.0/26', 'allocation_pools': [{'start': '145.173.174.2', 'end': '145.173.174.62'}], 'gateway_ip': '145.173.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.173.174.2', 'tags': [], 'project_id': '92ce441b9825462288938f3f86be5c1b'}} 2026-09-09 10:32:07,302 - INFO - Created VN ctest-vn-58423320 2026-09-09 10:32:07,351 - DEBUG - VN ctest-vn-58423320 UUID is ccedd47b-caba-4d49-ac4e-f77a784d623c 2026-09-09 10:32:07,703 - DEBUG - Response for create_network : {'network': {'id': '5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d', 'name': 'ctest-ext_vn-34607222', 'tenant_id': '92ce441b9825462288938f3f86be5c1b', 'project_id': '92ce441b9825462288938f3f86be5c1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17307355', 'ctest-ext_vn-34607222'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 10:32:07,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '65b393c3-026c-4193-98d0-c3f6be838504', 'name': '', 'tenant_id': '92ce441b9825462288938f3f86be5c1b', 'network_id': '5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d', 'ip_version': 4, 'cidr': '30.196.38.0/26', 'allocation_pools': [{'start': '30.196.38.2', 'end': '30.196.38.62'}], 'gateway_ip': '30.196.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.196.38.2', 'tags': [], 'project_id': '92ce441b9825462288938f3f86be5c1b'}} 2026-09-09 10:32:07,928 - INFO - Created VN ctest-ext_vn-34607222 2026-09-09 10:32:07,979 - DEBUG - VN ctest-ext_vn-34607222 UUID is 5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d 2026-09-09 10:32:08,151 - DEBUG - Services list from nova: [, , ] 2026-09-09 10:32:08,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6266-1) 2026-09-09 10:32:08,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6266-1) 2026-09-09 10:32:08,909 - INFO - Setting gateway for router 9a4ca5e7-a286-4ba1-bfa7-a90075a622a5 to network 5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d 2026-09-09 10:32:08,966 - INFO - Adding interface with subnet_id 6f0398ed-4b18-4ecf-838e-c4b8b82d694f, port_id None to router 9a4ca5e7-a286-4ba1-bfa7-a90075a622a5 2026-09-09 10:32:09,210 - INFO - Waiting for VM ctest-TestRoutersBasic-17307355-21568810 to be up.. 2026-09-09 10:32:09,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:14,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:19,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:24,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:29,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:34,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:39,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:44,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 10:32:50,009 - DEBUG - VM is in ACTIVE state now 2026-09-09 10:32:50,009 - INFO - VM name : ctest-TestRoutersBasic-17307355-21568810 2026-09-09 10:32:50,100 - DEBUG - VM ctest-TestRoutersBasic-17307355-21568810 ID is 06cb023d-9a31-4ac8-879a-546ec19d833f 2026-09-09 10:32:50,124 - DEBUG - VM ctest-TestRoutersBasic-17307355-21568810 launched on Node cn-jenkins-deploy-platform-ansible-os-6266-1 2026-09-09 10:32:50,212 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/06cb023d-9a31-4ac8-879a-546ec19d833f 2026-09-09 10:32:50,552 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/06cb023d-9a31-4ac8-879a-546ec19d833f 2026-09-09 10:32:50,592 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/1f9607e5-a5d9-4ff8-b719-f98dc2c30e05 2026-09-09 10:32:53,848 - 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=2 ttl=63 time=9.05 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 9.045/9.045/9.045/0.000 ms') 2026-09-09 10:32:53,848 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17307355-21568810 passed 2026-09-09 10:32:53,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 10:32:54,000 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17307355-21568810, IP 145.173.174.3, Port 22 2026-09-09 10:32:54,166 - DEBUG - VM ctest-TestRoutersBasic-17307355-21568810 is ready for SSH connections 2026-09-09 10:32:54,166 - INFO - Waiting for VM ctest-TestRoutersBasic-17307355-07244468 to be up.. 2026-09-09 10:32:54,243 - DEBUG - VM is in ACTIVE state now 2026-09-09 10:32:54,244 - INFO - VM name : ctest-TestRoutersBasic-17307355-07244468 2026-09-09 10:32:54,314 - DEBUG - VM ctest-TestRoutersBasic-17307355-07244468 ID is 59b0ea1c-7632-4f3c-a9fe-cdbff9a2ba71 2026-09-09 10:32:54,314 - DEBUG - VM ctest-TestRoutersBasic-17307355-07244468 launched on Node cn-jenkins-deploy-platform-ansible-os-6266-1 2026-09-09 10:32:54,390 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/59b0ea1c-7632-4f3c-a9fe-cdbff9a2ba71 2026-09-09 10:32:54,399 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/246dbe43-5701-4960-9022-920a1274c431 2026-09-09 10:32:57,652 - 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=2 ttl=63 time=5.53 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 5.534/5.534/5.534/0.000 ms') 2026-09-09 10:32:57,653 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-17307355-07244468 passed 2026-09-09 10:32:57,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 10:32:57,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17307355-07244468, IP 30.196.38.4, Port 22 2026-09-09 10:32:57,983 - DEBUG - VM ctest-TestRoutersBasic-17307355-07244468 is ready for SSH connections 2026-09-09 10:32:57,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 10:32:57,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.196.38.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-09 10:32:57,983 - DEBUG - ping -s 56 -c 3 -W 1 30.196.38.4 2026-09-09 10:33:00,949 - DEBUG - PING 30.196.38.4 (30.196.38.4): 56 data bytes 64 bytes from 30.196.38.4: seq=0 ttl=62 time=8.005 ms 64 bytes from 30.196.38.4: seq=1 ttl=62 time=1.149 ms 64 bytes from 30.196.38.4: seq=2 ttl=62 time=1.173 ms --- 30.196.38.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.149/3.442/8.005 ms 2026-09-09 10:33:00,950 - INFO - Ping to IP 30.196.38.4 from VM ctest-TestRoutersBasic-17307355-21568810 passed 2026-09-09 10:33:00,950 - INFO - Deleting interface with subnet_id 6f0398ed-4b18-4ecf-838e-c4b8b82d694f, port_id None from router 9a4ca5e7-a286-4ba1-bfa7-a90075a622a5 2026-09-09 10:33:01,173 - INFO - Deleting VM ctest-TestRoutersBasic-17307355-07244468 2026-09-09 10:33:01,250 - INFO - Deleting VM ctest-TestRoutersBasic-17307355-21568810 2026-09-09 10:33:01,322 - INFO - Deleting VN ctest-ext_vn-34607222 2026-09-09 10:33:01,406 - DEBUG - VN 5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d still in use: Unable to complete operation on network 5d931a67-ffe4-474a-8c8e-e1bc6fd6ed9d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13625219-8918-45a2-9b61-21ad40be4503'] 2026-09-09 10:33:01,406 - WARNING - Deleting VN ctest-ext_vn-34607222 failed..Will retry 2026-09-09 10:33:03,645 - DEBUG - Response for deleting network () 2026-09-09 10:33:03,645 - INFO - Deleting VN ctest-vn-58423320 2026-09-09 10:33:03,780 - DEBUG - Response for deleting network () 2026-09-09 10:33:04,046 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 10:33:04,046 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-09-09 10:33:04,046 - INFO - -------------------------------------------------------------------------------- 2026-09-09 10:33:04,821 - INFO - Deleted project: ctest-TestRoutersBasic-17307355, ID : 92ce441b-9825-4622-8893-8f3f86be5c1b