2025-07-31 02:21:39,594 - INFO - Domain Default found not creating 2025-07-31 02:21:39,724 - INFO - Project ctest-TestRoutersBasic-92816697 not found, creating it 2025-07-31 02:21:40,159 - INFO - Created Project:ctest-TestRoutersBasic-92816697, ID : 20d91165-075c-45d8-8d33-d395ec43fcbc 2025-07-31 02:21:41,544 - INFO - ================================================================================ 2025-07-31 02:21:41,544 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 02:21:41,544 - 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 2025-07-31 02:21:41,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-31 02:21:41,805 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:21:41,805 - INFO - 2025-07-31 02:21:42,488 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92816697 2025-07-31 02:21:42,583 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92816697 2025-07-31 02:21:42,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92816697', 'default']} 2025-07-31 02:21:43,209 - DEBUG - Response for create_network : {'network': {'id': 'e652268e-5f71-4b8e-923b-059fbabb298a', 'name': 'ctest-vn-93983414', 'tenant_id': '20d91165075c45d88d33d395ec43fcbc', 'project_id': '20d91165075c45d88d33d395ec43fcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92816697', 'ctest-vn-93983414'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:21:43,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '021521ea-1a03-4757-9d78-2d4f5e0caf37', 'name': '', 'tenant_id': '20d91165075c45d88d33d395ec43fcbc', 'network_id': 'e652268e-5f71-4b8e-923b-059fbabb298a', 'ip_version': 4, 'cidr': '110.144.53.128/26', 'allocation_pools': [{'start': '110.144.53.130', 'end': '110.144.53.190'}], 'gateway_ip': '110.144.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.144.53.130', 'tags': [], 'project_id': '20d91165075c45d88d33d395ec43fcbc'}} 2025-07-31 02:21:43,415 - INFO - Created VN ctest-vn-93983414 2025-07-31 02:21:43,467 - DEBUG - VN ctest-vn-93983414 UUID is e652268e-5f71-4b8e-923b-059fbabb298a 2025-07-31 02:21:43,763 - DEBUG - Response for create_network : {'network': {'id': 'ac23d943-e624-4fdf-ac8d-65c88b15d2c6', 'name': 'ctest-ext_vn-83896747', 'tenant_id': '20d91165075c45d88d33d395ec43fcbc', 'project_id': '20d91165075c45d88d33d395ec43fcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92816697', 'ctest-ext_vn-83896747'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:21:43,957 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eacb1de3-c5d8-4b5e-b16f-175ebff18e9a', 'name': '', 'tenant_id': '20d91165075c45d88d33d395ec43fcbc', 'network_id': 'ac23d943-e624-4fdf-ac8d-65c88b15d2c6', 'ip_version': 4, 'cidr': '3.85.138.0/26', 'allocation_pools': [{'start': '3.85.138.2', 'end': '3.85.138.62'}], 'gateway_ip': '3.85.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.85.138.2', 'tags': [], 'project_id': '20d91165075c45d88d33d395ec43fcbc'}} 2025-07-31 02:21:43,976 - INFO - Created VN ctest-ext_vn-83896747 2025-07-31 02:21:44,027 - DEBUG - VN ctest-ext_vn-83896747 UUID is ac23d943-e624-4fdf-ac8d-65c88b15d2c6 2025-07-31 02:21:44,225 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:21:45,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3728-1) 2025-07-31 02:21:46,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3728-1) 2025-07-31 02:21:46,440 - INFO - Setting gateway for router 09048f60-4764-4ddc-94ea-2acc8384ed38 to network ac23d943-e624-4fdf-ac8d-65c88b15d2c6 2025-07-31 02:21:46,528 - INFO - Adding interface with subnet_id 021521ea-1a03-4757-9d78-2d4f5e0caf37, port_id None to router 09048f60-4764-4ddc-94ea-2acc8384ed38 2025-07-31 02:21:46,995 - INFO - Waiting for VM ctest-TestRoutersBasic-92816697-24172170 to be up.. 2025-07-31 02:21:47,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:21:52,188 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:21:52,188 - INFO - VM name : ctest-TestRoutersBasic-92816697-24172170 2025-07-31 02:21:52,259 - DEBUG - VM ctest-TestRoutersBasic-92816697-24172170 ID is ef731c37-4874-4765-a79f-c1f41d5dc12d 2025-07-31 02:21:52,278 - DEBUG - VM ctest-TestRoutersBasic-92816697-24172170 launched on Node cn-jenkins-deploy-platform-ansible-os-3728-1 2025-07-31 02:21:52,348 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ef731c37-4874-4765-a79f-c1f41d5dc12d 2025-07-31 02:21:52,640 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ef731c37-4874-4765-a79f-c1f41d5dc12d 2025-07-31 02:21:52,671 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e4247f54-02ba-42e0-91a4-be2103dfd2b3 2025-07-31 02:21:55,940 - 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 1026ms') 2025-07-31 02:21:55,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92816697-24172170 failed! 2025-07-31 02:21:55,995 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92816697:ctest-vn-93983414 is 110.144.53.129 and allocation pool is NOT set 2025-07-31 02:21:58,062 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.701/2.984/1.283 ms') 2025-07-31 02:21:58,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92816697-24172170 passed 2025-07-31 02:21:58,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:21:58,211 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92816697-24172170, IP 110.144.53.131, Port 22 2025-07-31 02:21:58,376 - DEBUG - VM ctest-TestRoutersBasic-92816697-24172170 is ready for SSH connections 2025-07-31 02:21:58,377 - INFO - Waiting for VM ctest-TestRoutersBasic-92816697-98668363 to be up.. 2025-07-31 02:21:58,449 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:21:58,450 - INFO - VM name : ctest-TestRoutersBasic-92816697-98668363 2025-07-31 02:21:58,520 - DEBUG - VM ctest-TestRoutersBasic-92816697-98668363 ID is 62cdc8b3-78dc-4d16-8b24-b75a344bce64 2025-07-31 02:21:58,520 - DEBUG - VM ctest-TestRoutersBasic-92816697-98668363 launched on Node cn-jenkins-deploy-platform-ansible-os-3728-1 2025-07-31 02:21:58,587 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/62cdc8b3-78dc-4d16-8b24-b75a344bce64 2025-07-31 02:21:58,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2239b32b-2dd7-41ea-904a-1f50a6337d24 2025-07-31 02:21:59,826 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.622/2.881/1.258 ms') 2025-07-31 02:21:59,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92816697-98668363 passed 2025-07-31 02:21:59,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:21:59,979 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92816697-98668363, IP 3.85.138.3, Port 22 2025-07-31 02:22:00,135 - DEBUG - VM ctest-TestRoutersBasic-92816697-98668363 is ready for SSH connections 2025-07-31 02:22:00,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:22:00,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.85.138.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-31 02:22:00,135 - DEBUG - ping -s 56 -c 3 -W 1 3.85.138.3 2025-07-31 02:22:03,812 - DEBUG - PING 3.85.138.3 (3.85.138.3): 56 data bytes 64 bytes from 3.85.138.3: seq=0 ttl=62 time=4.735 ms 64 bytes from 3.85.138.3: seq=1 ttl=62 time=1.128 ms 64 bytes from 3.85.138.3: seq=2 ttl=62 time=1.097 ms --- 3.85.138.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.097/2.320/4.735 ms 2025-07-31 02:22:03,812 - INFO - Ping to IP 3.85.138.3 from VM ctest-TestRoutersBasic-92816697-24172170 passed 2025-07-31 02:22:03,812 - INFO - Deleting interface with subnet_id 021521ea-1a03-4757-9d78-2d4f5e0caf37, port_id None from router 09048f60-4764-4ddc-94ea-2acc8384ed38 2025-07-31 02:22:03,988 - INFO - Deleting VM ctest-TestRoutersBasic-92816697-98668363 2025-07-31 02:22:04,054 - INFO - Deleting VM ctest-TestRoutersBasic-92816697-24172170 2025-07-31 02:22:04,131 - INFO - Deleting VN ctest-ext_vn-83896747 2025-07-31 02:22:04,197 - DEBUG - VN ac23d943-e624-4fdf-ac8d-65c88b15d2c6 still in use: Unable to complete operation on network ac23d943-e624-4fdf-ac8d-65c88b15d2c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-679e19c0-a0c7-492e-ac8a-c2c43c2d0dd2'] 2025-07-31 02:22:04,197 - WARNING - Deleting VN ctest-ext_vn-83896747 failed..Will retry 2025-07-31 02:22:06,292 - DEBUG - Response for deleting network () 2025-07-31 02:22:06,292 - INFO - Deleting VN ctest-vn-93983414 2025-07-31 02:22:06,392 - DEBUG - Response for deleting network () 2025-07-31 02:22:06,652 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 02:22:06,653 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-31 02:22:06,653 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:22:07,334 - INFO - Deleted project: ctest-TestRoutersBasic-92816697, ID : 20d91165-075c-45d8-8d33-d395ec43fcbc