2025-04-15 06:07:46,195 - INFO - Domain Default found not creating 2025-04-15 06:07:46,389 - INFO - Project ctest-TestRoutersBasic-42067271 not found, creating it 2025-04-15 06:07:46,888 - INFO - Created Project:ctest-TestRoutersBasic-42067271, ID : a2c37e47-b05e-44ab-b01e-d4b7449f86ab 2025-04-15 06:07:48,552 - INFO - ================================================================================ 2025-04-15 06:07:48,552 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 06:07:48,552 - 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-04-15 06:07:48,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 06:07:48,826 - INFO - Initial checks done. Running the testcase now 2025-04-15 06:07:48,826 - INFO - 2025-04-15 06:07:49,538 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42067271 2025-04-15 06:07:49,641 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42067271 2025-04-15 06:07:49,964 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42067271', 'default']} 2025-04-15 06:07:50,267 - DEBUG - Response for create_network : {'network': {'id': '0cd3fc81-5e56-45e6-8158-b4713d78d087', 'name': 'ctest-vn-26933800', 'tenant_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'project_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42067271', 'ctest-vn-26933800'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 06:07:50,456 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2812018-cd3c-4d3e-b49e-67daeb74073c', 'name': '', 'tenant_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'network_id': '0cd3fc81-5e56-45e6-8158-b4713d78d087', 'ip_version': 4, 'cidr': '150.108.207.192/26', 'allocation_pools': [{'start': '150.108.207.194', 'end': '150.108.207.254'}], 'gateway_ip': '150.108.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.108.207.194', 'tags': [], 'project_id': 'a2c37e47b05e44abb01ed4b7449f86ab'}} 2025-04-15 06:07:50,480 - INFO - Created VN ctest-vn-26933800 2025-04-15 06:07:50,532 - DEBUG - VN ctest-vn-26933800 UUID is 0cd3fc81-5e56-45e6-8158-b4713d78d087 2025-04-15 06:07:50,861 - DEBUG - Response for create_network : {'network': {'id': 'b7b230cc-a8b0-42de-b641-52429ee527f1', 'name': 'ctest-ext_vn-80440918', 'tenant_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'project_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42067271', 'ctest-ext_vn-80440918'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 06:07:51,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '5652a2a0-e327-4b68-a0ee-8d71b4f034b1', 'name': '', 'tenant_id': 'a2c37e47b05e44abb01ed4b7449f86ab', 'network_id': 'b7b230cc-a8b0-42de-b641-52429ee527f1', 'ip_version': 4, 'cidr': '115.76.88.0/26', 'allocation_pools': [{'start': '115.76.88.2', 'end': '115.76.88.62'}], 'gateway_ip': '115.76.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.76.88.2', 'tags': [], 'project_id': 'a2c37e47b05e44abb01ed4b7449f86ab'}} 2025-04-15 06:07:51,080 - INFO - Created VN ctest-ext_vn-80440918 2025-04-15 06:07:51,132 - DEBUG - VN ctest-ext_vn-80440918 UUID is b7b230cc-a8b0-42de-b641-52429ee527f1 2025-04-15 06:07:51,337 - DEBUG - Services list from nova: [, , ] 2025-04-15 06:07:52,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3114-1) 2025-04-15 06:07:53,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3114-1) 2025-04-15 06:07:53,755 - INFO - Setting gateway for router cdb6d40a-f7a1-42c8-a97d-6a6fb6273fe4 to network b7b230cc-a8b0-42de-b641-52429ee527f1 2025-04-15 06:07:53,827 - INFO - Adding interface with subnet_id a2812018-cd3c-4d3e-b49e-67daeb74073c, port_id None to router cdb6d40a-f7a1-42c8-a97d-6a6fb6273fe4 2025-04-15 06:07:54,214 - INFO - Waiting for VM ctest-TestRoutersBasic-42067271-96457013 to be up.. 2025-04-15 06:07:54,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 06:07:59,516 - DEBUG - VM is in ACTIVE state now 2025-04-15 06:07:59,516 - INFO - VM name : ctest-TestRoutersBasic-42067271-96457013 2025-04-15 06:07:59,612 - DEBUG - VM ctest-TestRoutersBasic-42067271-96457013 ID is 681ae237-fbb3-4ad1-a985-f1792f38a08f 2025-04-15 06:07:59,633 - DEBUG - VM ctest-TestRoutersBasic-42067271-96457013 launched on Node cn-jenkins-deploy-platform-ansible-os-3114-1 2025-04-15 06:07:59,724 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/681ae237-fbb3-4ad1-a985-f1792f38a08f 2025-04-15 06:08:00,028 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/681ae237-fbb3-4ad1-a985-f1792f38a08f 2025-04-15 06:08:00,067 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e3f9c7a3-525f-4feb-bca9-5f7d7ca50ee0 2025-04-15 06:08:03,339 - 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-04-15 06:08:03,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42067271-96457013 failed! 2025-04-15 06:08:03,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42067271:ctest-vn-26933800 is 150.108.207.193 and allocation pool is NOT set 2025-04-15 06:08:05,467 - 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=3.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.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 = 1.102/2.479/3.856/1.377 ms') 2025-04-15 06:08:05,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42067271-96457013 passed 2025-04-15 06:08:05,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 06:08:05,625 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42067271-96457013, IP 150.108.207.195, Port 22 2025-04-15 06:08:05,781 - DEBUG - VM ctest-TestRoutersBasic-42067271-96457013 is ready for SSH connections 2025-04-15 06:08:05,781 - INFO - Waiting for VM ctest-TestRoutersBasic-42067271-06233608 to be up.. 2025-04-15 06:08:05,877 - DEBUG - VM is in ACTIVE state now 2025-04-15 06:08:05,877 - INFO - VM name : ctest-TestRoutersBasic-42067271-06233608 2025-04-15 06:08:05,975 - DEBUG - VM ctest-TestRoutersBasic-42067271-06233608 ID is 2bde3ab8-f6f4-48a9-9ef7-9e484fc08089 2025-04-15 06:08:05,975 - DEBUG - VM ctest-TestRoutersBasic-42067271-06233608 launched on Node cn-jenkins-deploy-platform-ansible-os-3114-1 2025-04-15 06:08:06,070 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2bde3ab8-f6f4-48a9-9ef7-9e484fc08089 2025-04-15 06:08:06,080 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5f7e7836-b18d-4323-b7a8-17aeabd0e810 2025-04-15 06:08:07,334 - 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=4.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.929 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.929/2.480/4.031/1.551 ms') 2025-04-15 06:08:07,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42067271-06233608 passed 2025-04-15 06:08:07,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 06:08:07,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42067271-06233608, IP 115.76.88.3, Port 22 2025-04-15 06:08:07,663 - DEBUG - VM ctest-TestRoutersBasic-42067271-06233608 is ready for SSH connections 2025-04-15 06:08:07,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 06:08:07,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.76.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 06:08:07,663 - DEBUG - ping -s 56 -c 3 -W 1 115.76.88.3 2025-04-15 06:08:11,393 - DEBUG - PING 115.76.88.3 (115.76.88.3): 56 data bytes 64 bytes from 115.76.88.3: seq=0 ttl=62 time=7.860 ms 64 bytes from 115.76.88.3: seq=1 ttl=62 time=1.074 ms 64 bytes from 115.76.88.3: seq=2 ttl=62 time=1.310 ms --- 115.76.88.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/3.414/7.860 ms 2025-04-15 06:08:11,393 - INFO - Ping to IP 115.76.88.3 from VM ctest-TestRoutersBasic-42067271-96457013 passed 2025-04-15 06:08:11,393 - INFO - Deleting interface with subnet_id a2812018-cd3c-4d3e-b49e-67daeb74073c, port_id None from router cdb6d40a-f7a1-42c8-a97d-6a6fb6273fe4 2025-04-15 06:08:11,618 - INFO - Deleting VM ctest-TestRoutersBasic-42067271-06233608 2025-04-15 06:08:11,694 - INFO - Deleting VM ctest-TestRoutersBasic-42067271-96457013 2025-04-15 06:08:11,786 - INFO - Deleting VN ctest-ext_vn-80440918 2025-04-15 06:08:11,865 - DEBUG - VN b7b230cc-a8b0-42de-b641-52429ee527f1 still in use: Unable to complete operation on network b7b230cc-a8b0-42de-b641-52429ee527f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2109124-1f7a-4ac9-8a9b-983ae67710b1'] 2025-04-15 06:08:11,866 - WARNING - Deleting VN ctest-ext_vn-80440918 failed..Will retry 2025-04-15 06:08:13,985 - DEBUG - Response for deleting network () 2025-04-15 06:08:13,986 - INFO - Deleting VN ctest-vn-26933800 2025-04-15 06:08:14,102 - DEBUG - Response for deleting network () 2025-04-15 06:08:14,363 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 06:08:14,363 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-15 06:08:14,363 - INFO - -------------------------------------------------------------------------------- 2025-04-15 06:08:15,084 - INFO - Deleted project: ctest-TestRoutersBasic-42067271, ID : a2c37e47-b05e-44ab-b01e-d4b7449f86ab