2025-11-14 17:17:24,801 - INFO - Domain Default found not creating 2025-11-14 17:17:25,224 - INFO - Project ctest-TestRoutersBasic-52978128 not found, creating it 2025-11-14 17:17:25,955 - INFO - Created Project:ctest-TestRoutersBasic-52978128, ID : df5ac0d0-57fb-438f-9447-620536a668ba 2025-11-14 17:17:28,135 - INFO - ================================================================================ 2025-11-14 17:17:28,135 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-14 17:17:28,135 - 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-11-14 17:17:28,455 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-11-14 17:17:28,455 - INFO - Initial checks done. Running the testcase now 2025-11-14 17:17:28,456 - INFO - 2025-11-14 17:17:29,279 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52978128 2025-11-14 17:17:29,388 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52978128 2025-11-14 17:17:29,791 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52978128', 'default']} 2025-11-14 17:17:30,489 - DEBUG - Response for create_network : {'network': {'id': 'c58a72d9-0f23-4c35-9261-521e9e183baf', 'name': 'ctest-vn-34091333', 'tenant_id': 'df5ac0d057fb438f9447620536a668ba', 'project_id': 'df5ac0d057fb438f9447620536a668ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52978128', 'ctest-vn-34091333'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 17:17:30,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a17c440d-a753-4a2c-8b96-3ac7f7d63bef', 'name': '', 'tenant_id': 'df5ac0d057fb438f9447620536a668ba', 'network_id': 'c58a72d9-0f23-4c35-9261-521e9e183baf', 'ip_version': 4, 'cidr': '49.227.113.0/26', 'allocation_pools': [{'start': '49.227.113.2', 'end': '49.227.113.62'}], 'gateway_ip': '49.227.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.227.113.2', 'tags': [], 'project_id': 'df5ac0d057fb438f9447620536a668ba'}} 2025-11-14 17:17:30,743 - INFO - Created VN ctest-vn-34091333 2025-11-14 17:17:30,795 - DEBUG - VN ctest-vn-34091333 UUID is c58a72d9-0f23-4c35-9261-521e9e183baf 2025-11-14 17:17:31,244 - DEBUG - Response for create_network : {'network': {'id': 'a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6', 'name': 'ctest-ext_vn-12405426', 'tenant_id': 'df5ac0d057fb438f9447620536a668ba', 'project_id': 'df5ac0d057fb438f9447620536a668ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52978128', 'ctest-ext_vn-12405426'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 17:17:31,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '48091efc-c50e-47fc-b6fa-65453ead650f', 'name': '', 'tenant_id': 'df5ac0d057fb438f9447620536a668ba', 'network_id': 'a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6', 'ip_version': 4, 'cidr': '192.229.4.0/26', 'allocation_pools': [{'start': '192.229.4.2', 'end': '192.229.4.62'}], 'gateway_ip': '192.229.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.229.4.2', 'tags': [], 'project_id': 'df5ac0d057fb438f9447620536a668ba'}} 2025-11-14 17:17:31,470 - INFO - Created VN ctest-ext_vn-12405426 2025-11-14 17:17:31,527 - DEBUG - VN ctest-ext_vn-12405426 UUID is a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6 2025-11-14 17:17:31,797 - DEBUG - Services list from nova: [, , ] 2025-11-14 17:17:33,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1) 2025-11-14 17:17:34,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1) 2025-11-14 17:17:34,554 - INFO - Setting gateway for router 9bccba82-b30e-4444-adc8-226250933847 to network a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6 2025-11-14 17:17:34,642 - INFO - Adding interface with subnet_id a17c440d-a753-4a2c-8b96-3ac7f7d63bef, port_id None to router 9bccba82-b30e-4444-adc8-226250933847 2025-11-14 17:17:35,100 - INFO - Waiting for VM ctest-TestRoutersBasic-52978128-76610496 to be up.. 2025-11-14 17:17:35,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 17:17:40,430 - DEBUG - VM is in ACTIVE state now 2025-11-14 17:17:40,430 - INFO - VM name : ctest-TestRoutersBasic-52978128-76610496 2025-11-14 17:17:40,544 - DEBUG - VM ctest-TestRoutersBasic-52978128-76610496 ID is f13b6184-3cad-46b7-8926-b7a37dbf5581 2025-11-14 17:17:40,565 - DEBUG - VM ctest-TestRoutersBasic-52978128-76610496 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1 2025-11-14 17:17:40,654 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f13b6184-3cad-46b7-8926-b7a37dbf5581 2025-11-14 17:17:40,948 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f13b6184-3cad-46b7-8926-b7a37dbf5581 2025-11-14 17:17:40,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ce4a7311-17cf-429b-a72f-a1d4ca05c1e0 2025-11-14 17:17:44,333 - 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 1032ms') 2025-11-14 17:17:44,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52978128-76610496 failed! 2025-11-14 17:17:44,391 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52978128:ctest-vn-34091333 is 49.227.113.1 and allocation pool is NOT set 2025-11-14 17:17:46,474 - 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=4.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.739 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.739/2.471/4.203/1.732 ms') 2025-11-14 17:17:46,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52978128-76610496 passed 2025-11-14 17:17:46,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 17:17:46,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52978128-76610496, IP 49.227.113.3, Port 22 2025-11-14 17:17:46,858 - DEBUG - VM ctest-TestRoutersBasic-52978128-76610496 is ready for SSH connections 2025-11-14 17:17:46,858 - INFO - Waiting for VM ctest-TestRoutersBasic-52978128-17267160 to be up.. 2025-11-14 17:17:47,000 - DEBUG - VM is in ACTIVE state now 2025-11-14 17:17:47,000 - INFO - VM name : ctest-TestRoutersBasic-52978128-17267160 2025-11-14 17:17:47,154 - DEBUG - VM ctest-TestRoutersBasic-52978128-17267160 ID is 6e5a5861-6dc2-4685-9e49-015c065ff9c8 2025-11-14 17:17:47,154 - DEBUG - VM ctest-TestRoutersBasic-52978128-17267160 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1 2025-11-14 17:17:47,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e5a5861-6dc2-4685-9e49-015c065ff9c8 2025-11-14 17:17:47,342 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ab94ef28-6d87-43da-9795-f55de6b4d87a 2025-11-14 17:17:48,634 - 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=3.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.162/2.342/3.523/1.180 ms') 2025-11-14 17:17:48,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52978128-17267160 passed 2025-11-14 17:17:48,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 17:17:48,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52978128-17267160, IP 192.229.4.3, Port 22 2025-11-14 17:17:48,999 - DEBUG - VM ctest-TestRoutersBasic-52978128-17267160 is ready for SSH connections 2025-11-14 17:17:48,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 17:17:48,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.229.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-14 17:17:48,999 - DEBUG - ping -s 56 -c 3 -W 1 192.229.4.3 2025-11-14 17:17:53,020 - DEBUG - PING 192.229.4.3 (192.229.4.3): 56 data bytes 64 bytes from 192.229.4.3: seq=0 ttl=62 time=6.053 ms 64 bytes from 192.229.4.3: seq=1 ttl=62 time=2.744 ms 64 bytes from 192.229.4.3: seq=2 ttl=62 time=1.725 ms --- 192.229.4.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.725/3.507/6.053 ms 2025-11-14 17:17:53,021 - INFO - Ping to IP 192.229.4.3 from VM ctest-TestRoutersBasic-52978128-76610496 passed 2025-11-14 17:17:53,021 - INFO - Deleting interface with subnet_id a17c440d-a753-4a2c-8b96-3ac7f7d63bef, port_id None from router 9bccba82-b30e-4444-adc8-226250933847 2025-11-14 17:17:53,311 - INFO - Deleting VM ctest-TestRoutersBasic-52978128-17267160 2025-11-14 17:17:53,391 - INFO - Deleting VM ctest-TestRoutersBasic-52978128-76610496 2025-11-14 17:17:53,481 - INFO - Deleting VN ctest-ext_vn-12405426 2025-11-14 17:17:53,557 - DEBUG - VN a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6 still in use: Unable to complete operation on network a779db6d-7e9e-42db-8a7f-0e7b7b35e2b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1cf1bec-aa66-457d-b63a-763a7c6ee482'] 2025-11-14 17:17:53,557 - WARNING - Deleting VN ctest-ext_vn-12405426 failed..Will retry 2025-11-14 17:17:55,782 - DEBUG - Response for deleting network () 2025-11-14 17:17:55,783 - INFO - Deleting VN ctest-vn-34091333 2025-11-14 17:17:55,936 - DEBUG - Response for deleting network () 2025-11-14 17:17:56,257 - DEBUG - No XMPP flaps were noticed during the test 2025-11-14 17:17:56,257 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-14 17:17:56,257 - INFO - -------------------------------------------------------------------------------- 2025-11-14 17:17:57,201 - INFO - Deleted project: ctest-TestRoutersBasic-52978128, ID : df5ac0d0-57fb-438f-9447-620536a668ba