2025-10-14 18:13:01,929 - INFO - Domain Default found not creating 2025-10-14 18:13:02,072 - INFO - Project ctest-TestRoutersBasic-55521635 not found, creating it 2025-10-14 18:13:03,077 - INFO - Created Project:ctest-TestRoutersBasic-55521635, ID : de41267e-0f63-4d33-b7fb-8385e0a97a87 2025-10-14 18:13:04,534 - INFO - ================================================================================ 2025-10-14 18:13:04,534 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-14 18:13:04,534 - 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-10-14 18:13:04,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-14 18:13:04,792 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:13:04,792 - INFO - 2025-10-14 18:13:05,461 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55521635 2025-10-14 18:13:05,556 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55521635 2025-10-14 18:13:05,871 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55521635', 'default']} 2025-10-14 18:13:06,152 - DEBUG - Response for create_network : {'network': {'id': 'bf4bf78e-2094-4ba4-9e7c-fd7a38059af2', 'name': 'ctest-vn-20090978', 'tenant_id': 'de41267e0f634d33b7fb8385e0a97a87', 'project_id': 'de41267e0f634d33b7fb8385e0a97a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55521635', 'ctest-vn-20090978'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:06,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '9752ab91-d008-406a-9037-d636f008144a', 'name': '', 'tenant_id': 'de41267e0f634d33b7fb8385e0a97a87', 'network_id': 'bf4bf78e-2094-4ba4-9e7c-fd7a38059af2', 'ip_version': 4, 'cidr': '1.50.29.64/26', 'allocation_pools': [{'start': '1.50.29.66', 'end': '1.50.29.126'}], 'gateway_ip': '1.50.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.50.29.66', 'tags': [], 'project_id': 'de41267e0f634d33b7fb8385e0a97a87'}} 2025-10-14 18:13:06,374 - INFO - Created VN ctest-vn-20090978 2025-10-14 18:13:06,424 - DEBUG - VN ctest-vn-20090978 UUID is bf4bf78e-2094-4ba4-9e7c-fd7a38059af2 2025-10-14 18:13:06,740 - DEBUG - Response for create_network : {'network': {'id': 'f651b790-292b-49c7-af49-d3fd435be8e3', 'name': 'ctest-ext_vn-06405996', 'tenant_id': 'de41267e0f634d33b7fb8385e0a97a87', 'project_id': 'de41267e0f634d33b7fb8385e0a97a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55521635', 'ctest-ext_vn-06405996'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:06,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '24f6c717-c561-4f97-85e1-668b0f0baefb', 'name': '', 'tenant_id': 'de41267e0f634d33b7fb8385e0a97a87', 'network_id': 'f651b790-292b-49c7-af49-d3fd435be8e3', 'ip_version': 4, 'cidr': '208.237.200.192/26', 'allocation_pools': [{'start': '208.237.200.194', 'end': '208.237.200.254'}], 'gateway_ip': '208.237.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.237.200.194', 'tags': [], 'project_id': 'de41267e0f634d33b7fb8385e0a97a87'}} 2025-10-14 18:13:06,935 - INFO - Created VN ctest-ext_vn-06405996 2025-10-14 18:13:06,988 - DEBUG - VN ctest-ext_vn-06405996 UUID is f651b790-292b-49c7-af49-d3fd435be8e3 2025-10-14 18:13:07,184 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:13:08,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:13:09,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:13:09,316 - INFO - Setting gateway for router e65bd154-0abf-4f73-a287-6fc96b270f43 to network f651b790-292b-49c7-af49-d3fd435be8e3 2025-10-14 18:13:09,369 - INFO - Adding interface with subnet_id 9752ab91-d008-406a-9037-d636f008144a, port_id None to router e65bd154-0abf-4f73-a287-6fc96b270f43 2025-10-14 18:13:09,785 - INFO - Waiting for VM ctest-TestRoutersBasic-55521635-92185329 to be up.. 2025-10-14 18:13:10,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:13:15,089 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:13:15,089 - INFO - VM name : ctest-TestRoutersBasic-55521635-92185329 2025-10-14 18:13:15,176 - DEBUG - VM ctest-TestRoutersBasic-55521635-92185329 ID is 67dd4e0a-c78a-4570-b8b8-be0636bd4960 2025-10-14 18:13:15,195 - DEBUG - VM ctest-TestRoutersBasic-55521635-92185329 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:13:15,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67dd4e0a-c78a-4570-b8b8-be0636bd4960 2025-10-14 18:13:15,560 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67dd4e0a-c78a-4570-b8b8-be0636bd4960 2025-10-14 18:13:15,590 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4472d891-6b70-4be9-bda8-a3458ccffeb8 2025-10-14 18:13:18,833 - 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 1003ms') 2025-10-14 18:13:18,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55521635-92185329 failed! 2025-10-14 18:13:18,888 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55521635:ctest-vn-20090978 is 1.50.29.65 and allocation pool is NOT set 2025-10-14 18:13:20,951 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/1.729/2.995/1.265 ms') 2025-10-14 18:13:20,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55521635-92185329 passed 2025-10-14 18:13:21,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:13:21,100 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55521635-92185329, IP 1.50.29.67, Port 22 2025-10-14 18:13:21,251 - DEBUG - VM ctest-TestRoutersBasic-55521635-92185329 is ready for SSH connections 2025-10-14 18:13:21,251 - INFO - Waiting for VM ctest-TestRoutersBasic-55521635-02171094 to be up.. 2025-10-14 18:13:21,319 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:13:21,319 - INFO - VM name : ctest-TestRoutersBasic-55521635-02171094 2025-10-14 18:13:21,385 - DEBUG - VM ctest-TestRoutersBasic-55521635-02171094 ID is e428e5d1-ee7b-4d7a-bf1f-3881974cf65f 2025-10-14 18:13:21,385 - DEBUG - VM ctest-TestRoutersBasic-55521635-02171094 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:13:21,447 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e428e5d1-ee7b-4d7a-bf1f-3881974cf65f 2025-10-14 18:13:21,454 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a478c3f1-5a39-454a-bef9-d43170a644e4 2025-10-14 18:13:22,687 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.489/2.638/1.148 ms') 2025-10-14 18:13:22,687 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55521635-02171094 passed 2025-10-14 18:13:22,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:13:22,836 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55521635-02171094, IP 208.237.200.195, Port 22 2025-10-14 18:13:22,987 - DEBUG - VM ctest-TestRoutersBasic-55521635-02171094 is ready for SSH connections 2025-10-14 18:13:22,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:13:22,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.237.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:13:22,987 - DEBUG - ping -s 56 -c 3 -W 1 208.237.200.195 2025-10-14 18:13:26,961 - DEBUG - PING 208.237.200.195 (208.237.200.195): 56 data bytes 64 bytes from 208.237.200.195: seq=0 ttl=62 time=4.513 ms 64 bytes from 208.237.200.195: seq=1 ttl=62 time=0.792 ms 64 bytes from 208.237.200.195: seq=2 ttl=62 time=0.935 ms --- 208.237.200.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/2.080/4.513 ms 2025-10-14 18:13:26,962 - INFO - Ping to IP 208.237.200.195 from VM ctest-TestRoutersBasic-55521635-92185329 passed 2025-10-14 18:13:26,962 - INFO - Deleting interface with subnet_id 9752ab91-d008-406a-9037-d636f008144a, port_id None from router e65bd154-0abf-4f73-a287-6fc96b270f43 2025-10-14 18:13:27,139 - INFO - Deleting VM ctest-TestRoutersBasic-55521635-02171094 2025-10-14 18:13:27,199 - INFO - Deleting VM ctest-TestRoutersBasic-55521635-92185329 2025-10-14 18:13:27,271 - INFO - Deleting VN ctest-ext_vn-06405996 2025-10-14 18:13:27,327 - DEBUG - VN f651b790-292b-49c7-af49-d3fd435be8e3 still in use: Unable to complete operation on network f651b790-292b-49c7-af49-d3fd435be8e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15aa1162-7769-424b-8c69-cb40c9c1263a'] 2025-10-14 18:13:27,327 - WARNING - Deleting VN ctest-ext_vn-06405996 failed..Will retry 2025-10-14 18:13:29,417 - DEBUG - Response for deleting network () 2025-10-14 18:13:29,417 - INFO - Deleting VN ctest-vn-20090978 2025-10-14 18:13:29,511 - DEBUG - Response for deleting network () 2025-10-14 18:13:29,764 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 18:13:29,764 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-14 18:13:29,764 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:13:30,436 - INFO - Deleted project: ctest-TestRoutersBasic-55521635, ID : de41267e-0f63-4d33-b7fb-8385e0a97a87