2025-10-27 13:56:33,250 - INFO - Domain Default found not creating 2025-10-27 13:56:33,435 - INFO - Project ctest-TestRoutersBasic-93990376 not found, creating it 2025-10-27 13:56:33,907 - INFO - Created Project:ctest-TestRoutersBasic-93990376, ID : 908a6c6e-f8a7-407e-a0e9-7d5f8ad3798c 2025-10-27 13:56:35,446 - INFO - ================================================================================ 2025-10-27 13:56:35,446 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 13:56:35,447 - 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-27 13:56:35,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 13:56:35,708 - INFO - Initial checks done. Running the testcase now 2025-10-27 13:56:35,708 - INFO - 2025-10-27 13:56:36,462 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93990376 2025-10-27 13:56:36,561 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93990376 2025-10-27 13:56:36,897 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93990376', 'default']} 2025-10-27 13:56:37,205 - DEBUG - Response for create_network : {'network': {'id': '7214161c-4021-45df-a720-63eb865ff75c', 'name': 'ctest-vn-14358878', 'tenant_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'project_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93990376', 'ctest-vn-14358878'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:56:37,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ffa730c-272f-42c9-99e8-26ee846f5285', 'name': '', 'tenant_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'network_id': '7214161c-4021-45df-a720-63eb865ff75c', 'ip_version': 4, 'cidr': '62.229.9.0/26', 'allocation_pools': [{'start': '62.229.9.2', 'end': '62.229.9.62'}], 'gateway_ip': '62.229.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.229.9.2', 'tags': [], 'project_id': '908a6c6ef8a7407ea0e97d5f8ad3798c'}} 2025-10-27 13:56:37,432 - INFO - Created VN ctest-vn-14358878 2025-10-27 13:56:37,485 - DEBUG - VN ctest-vn-14358878 UUID is 7214161c-4021-45df-a720-63eb865ff75c 2025-10-27 13:56:37,815 - DEBUG - Response for create_network : {'network': {'id': '735fec59-4730-4b11-9d60-c90cce6e5ef9', 'name': 'ctest-ext_vn-94622835', 'tenant_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'project_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93990376', 'ctest-ext_vn-94622835'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:56:38,019 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae9a3462-34a3-4d24-bdb1-ac09029ac2b6', 'name': '', 'tenant_id': '908a6c6ef8a7407ea0e97d5f8ad3798c', 'network_id': '735fec59-4730-4b11-9d60-c90cce6e5ef9', 'ip_version': 4, 'cidr': '33.186.229.64/26', 'allocation_pools': [{'start': '33.186.229.66', 'end': '33.186.229.126'}], 'gateway_ip': '33.186.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.186.229.66', 'tags': [], 'project_id': '908a6c6ef8a7407ea0e97d5f8ad3798c'}} 2025-10-27 13:56:38,042 - INFO - Created VN ctest-ext_vn-94622835 2025-10-27 13:56:38,097 - DEBUG - VN ctest-ext_vn-94622835 UUID is 735fec59-4730-4b11-9d60-c90cce6e5ef9 2025-10-27 13:56:38,284 - DEBUG - Services list from nova: [, , ] 2025-10-27 13:56:39,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:56:40,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:56:40,664 - INFO - Setting gateway for router 3aa64472-7b9a-41ee-90ff-74c5ab0bec78 to network 735fec59-4730-4b11-9d60-c90cce6e5ef9 2025-10-27 13:56:40,767 - INFO - Adding interface with subnet_id 4ffa730c-272f-42c9-99e8-26ee846f5285, port_id None to router 3aa64472-7b9a-41ee-90ff-74c5ab0bec78 2025-10-27 13:56:41,163 - INFO - Waiting for VM ctest-TestRoutersBasic-93990376-00301280 to be up.. 2025-10-27 13:56:41,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 13:56:46,408 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:56:46,409 - INFO - VM name : ctest-TestRoutersBasic-93990376-00301280 2025-10-27 13:56:46,494 - DEBUG - VM ctest-TestRoutersBasic-93990376-00301280 ID is 627abfbc-daf5-4c29-85c5-1e5f0bea6a71 2025-10-27 13:56:46,516 - DEBUG - VM ctest-TestRoutersBasic-93990376-00301280 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:56:46,602 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/627abfbc-daf5-4c29-85c5-1e5f0bea6a71 2025-10-27 13:56:46,920 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/627abfbc-daf5-4c29-85c5-1e5f0bea6a71 2025-10-27 13:56:46,957 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b5b3c4f9-f0fb-4605-ab3e-33c615368d97 2025-10-27 13:56:50,227 - 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-10-27 13:56:50,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93990376-00301280 failed! 2025-10-27 13:56:50,281 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93990376:ctest-vn-14358878 is 62.229.9.1 and allocation pool is NOT set 2025-10-27 13:56:52,348 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.777/3.101/1.324 ms') 2025-10-27 13:56:52,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93990376-00301280 passed 2025-10-27 13:56:52,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:52,497 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93990376-00301280, IP 62.229.9.3, Port 22 2025-10-27 13:56:52,657 - DEBUG - VM ctest-TestRoutersBasic-93990376-00301280 is ready for SSH connections 2025-10-27 13:56:52,657 - INFO - Waiting for VM ctest-TestRoutersBasic-93990376-67118879 to be up.. 2025-10-27 13:56:52,757 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:56:52,757 - INFO - VM name : ctest-TestRoutersBasic-93990376-67118879 2025-10-27 13:56:52,855 - DEBUG - VM ctest-TestRoutersBasic-93990376-67118879 ID is 17159a47-c975-4b01-b955-7cda35c6490e 2025-10-27 13:56:52,855 - DEBUG - VM ctest-TestRoutersBasic-93990376-67118879 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:56:52,937 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/17159a47-c975-4b01-b955-7cda35c6490e 2025-10-27 13:56:52,946 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d5b0cffb-d578-43dc-af7e-90ee3ce674c5 2025-10-27 13:56:54,202 - 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=5.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.544/3.525/5.507/1.981 ms') 2025-10-27 13:56:54,203 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93990376-67118879 passed 2025-10-27 13:56:54,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:54,353 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93990376-67118879, IP 33.186.229.67, Port 22 2025-10-27 13:56:54,513 - DEBUG - VM ctest-TestRoutersBasic-93990376-67118879 is ready for SSH connections 2025-10-27 13:56:54,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:54,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.186.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:54,513 - DEBUG - ping -s 56 -c 3 -W 1 33.186.229.67 2025-10-27 13:56:58,247 - DEBUG - PING 33.186.229.67 (33.186.229.67): 56 data bytes 64 bytes from 33.186.229.67: seq=0 ttl=62 time=5.752 ms 64 bytes from 33.186.229.67: seq=1 ttl=62 time=1.014 ms 64 bytes from 33.186.229.67: seq=2 ttl=62 time=1.004 ms --- 33.186.229.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.004/2.590/5.752 ms 2025-10-27 13:56:58,247 - INFO - Ping to IP 33.186.229.67 from VM ctest-TestRoutersBasic-93990376-00301280 passed 2025-10-27 13:56:58,248 - INFO - Deleting interface with subnet_id 4ffa730c-272f-42c9-99e8-26ee846f5285, port_id None from router 3aa64472-7b9a-41ee-90ff-74c5ab0bec78 2025-10-27 13:56:58,472 - INFO - Deleting VM ctest-TestRoutersBasic-93990376-67118879 2025-10-27 13:56:58,557 - INFO - Deleting VM ctest-TestRoutersBasic-93990376-00301280 2025-10-27 13:56:58,660 - INFO - Deleting VN ctest-ext_vn-94622835 2025-10-27 13:56:58,763 - DEBUG - VN 735fec59-4730-4b11-9d60-c90cce6e5ef9 still in use: Unable to complete operation on network 735fec59-4730-4b11-9d60-c90cce6e5ef9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0c18793-b10a-4e67-907b-9ee818724c91'] 2025-10-27 13:56:58,763 - WARNING - Deleting VN ctest-ext_vn-94622835 failed..Will retry 2025-10-27 13:57:00,874 - DEBUG - Response for deleting network () 2025-10-27 13:57:00,874 - INFO - Deleting VN ctest-vn-14358878 2025-10-27 13:57:00,986 - DEBUG - Response for deleting network () 2025-10-27 13:57:01,248 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 13:57:01,248 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-27 13:57:01,248 - INFO - -------------------------------------------------------------------------------- 2025-10-27 13:57:01,964 - INFO - Deleted project: ctest-TestRoutersBasic-93990376, ID : 908a6c6e-f8a7-407e-a0e9-7d5f8ad3798c