2025-06-02 03:59:15,658 - INFO - Domain Default found not creating 2025-06-02 03:59:15,819 - INFO - Project ctest-TestRoutersBasic-68779816 not found, creating it 2025-06-02 03:59:16,299 - INFO - Created Project:ctest-TestRoutersBasic-68779816, ID : 75ebba67-cd19-4df5-9430-9320fcd3e8d2 2025-06-02 03:59:17,761 - INFO - ================================================================================ 2025-06-02 03:59:17,761 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-02 03:59:17,762 - 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-06-02 03:59:18,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-02 03:59:18,017 - INFO - Initial checks done. Running the testcase now 2025-06-02 03:59:18,018 - INFO - 2025-06-02 03:59:18,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68779816 2025-06-02 03:59:18,839 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68779816 2025-06-02 03:59:19,262 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68779816', 'default']} 2025-06-02 03:59:19,660 - DEBUG - Response for create_network : {'network': {'id': '5ea7c8a7-b863-4acd-b6c5-d07092bb6071', 'name': 'ctest-vn-54233432', 'tenant_id': '75ebba67cd194df594309320fcd3e8d2', 'project_id': '75ebba67cd194df594309320fcd3e8d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68779816', 'ctest-vn-54233432'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:19,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '5399a9ec-4d19-4a26-8c94-10c2f6711392', 'name': '', 'tenant_id': '75ebba67cd194df594309320fcd3e8d2', 'network_id': '5ea7c8a7-b863-4acd-b6c5-d07092bb6071', 'ip_version': 4, 'cidr': '144.75.147.64/26', 'allocation_pools': [{'start': '144.75.147.66', 'end': '144.75.147.126'}], 'gateway_ip': '144.75.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.75.147.66', 'tags': [], 'project_id': '75ebba67cd194df594309320fcd3e8d2'}} 2025-06-02 03:59:19,906 - INFO - Created VN ctest-vn-54233432 2025-06-02 03:59:19,962 - DEBUG - VN ctest-vn-54233432 UUID is 5ea7c8a7-b863-4acd-b6c5-d07092bb6071 2025-06-02 03:59:20,364 - DEBUG - Response for create_network : {'network': {'id': 'acb42935-fd49-4731-940f-2e9060a38523', 'name': 'ctest-ext_vn-95449542', 'tenant_id': '75ebba67cd194df594309320fcd3e8d2', 'project_id': '75ebba67cd194df594309320fcd3e8d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68779816', 'ctest-ext_vn-95449542'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:20,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5bc760d-d74e-41ad-9aa6-4ad818502b88', 'name': '', 'tenant_id': '75ebba67cd194df594309320fcd3e8d2', 'network_id': 'acb42935-fd49-4731-940f-2e9060a38523', 'ip_version': 4, 'cidr': '23.67.115.64/26', 'allocation_pools': [{'start': '23.67.115.66', 'end': '23.67.115.126'}], 'gateway_ip': '23.67.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.67.115.66', 'tags': [], 'project_id': '75ebba67cd194df594309320fcd3e8d2'}} 2025-06-02 03:59:20,556 - INFO - Created VN ctest-ext_vn-95449542 2025-06-02 03:59:20,610 - DEBUG - VN ctest-ext_vn-95449542 UUID is acb42935-fd49-4731-940f-2e9060a38523 2025-06-02 03:59:20,790 - DEBUG - Services list from nova: [, , ] 2025-06-02 03:59:21,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3385-1) 2025-06-02 03:59:23,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3385-1) 2025-06-02 03:59:23,183 - INFO - Setting gateway for router 2e50c693-ef8f-4555-bf30-21fdd6e79419 to network acb42935-fd49-4731-940f-2e9060a38523 2025-06-02 03:59:23,279 - INFO - Adding interface with subnet_id 5399a9ec-4d19-4a26-8c94-10c2f6711392, port_id None to router 2e50c693-ef8f-4555-bf30-21fdd6e79419 2025-06-02 03:59:23,617 - INFO - Waiting for VM ctest-TestRoutersBasic-68779816-85924328 to be up.. 2025-06-02 03:59:23,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 03:59:28,872 - DEBUG - VM is in ACTIVE state now 2025-06-02 03:59:28,873 - INFO - VM name : ctest-TestRoutersBasic-68779816-85924328 2025-06-02 03:59:28,958 - DEBUG - VM ctest-TestRoutersBasic-68779816-85924328 ID is 020c7d22-c14e-4fbc-bde2-e353e0622cb3 2025-06-02 03:59:28,978 - DEBUG - VM ctest-TestRoutersBasic-68779816-85924328 launched on Node cn-jenkins-deploy-platform-ansible-os-3385-1 2025-06-02 03:59:29,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/020c7d22-c14e-4fbc-bde2-e353e0622cb3 2025-06-02 03:59:29,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/020c7d22-c14e-4fbc-bde2-e353e0622cb3 2025-06-02 03:59:29,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee8a8fe9-3428-4553-949c-c0848cb2f257 2025-06-02 03:59:32,658 - 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 1034ms') 2025-06-02 03:59:32,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68779816-85924328 failed! 2025-06-02 03:59:32,715 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68779816:ctest-vn-54233432 is 144.75.147.65 and allocation pool is NOT set 2025-06-02 03:59:34,778 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.842 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.842/2.246/3.650/1.404 ms') 2025-06-02 03:59:34,778 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68779816-85924328 passed 2025-06-02 03:59:34,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 03:59:34,935 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68779816-85924328, IP 144.75.147.67, Port 22 2025-06-02 03:59:35,101 - DEBUG - VM ctest-TestRoutersBasic-68779816-85924328 is ready for SSH connections 2025-06-02 03:59:35,101 - INFO - Waiting for VM ctest-TestRoutersBasic-68779816-75962695 to be up.. 2025-06-02 03:59:35,184 - DEBUG - VM is in ACTIVE state now 2025-06-02 03:59:35,184 - INFO - VM name : ctest-TestRoutersBasic-68779816-75962695 2025-06-02 03:59:35,262 - DEBUG - VM ctest-TestRoutersBasic-68779816-75962695 ID is c0df09cf-516c-4e56-a41f-b044fb65b8d8 2025-06-02 03:59:35,262 - DEBUG - VM ctest-TestRoutersBasic-68779816-75962695 launched on Node cn-jenkins-deploy-platform-ansible-os-3385-1 2025-06-02 03:59:35,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0df09cf-516c-4e56-a41f-b044fb65b8d8 2025-06-02 03:59:35,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d9666fe1-d9b7-4f9b-bc1e-d25344a22814 2025-06-02 03:59:36,600 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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.277/2.958/4.639/1.681 ms') 2025-06-02 03:59:36,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68779816-75962695 passed 2025-06-02 03:59:36,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 03:59:36,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68779816-75962695, IP 23.67.115.67, Port 22 2025-06-02 03:59:36,925 - DEBUG - VM ctest-TestRoutersBasic-68779816-75962695 is ready for SSH connections 2025-06-02 03:59:36,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 03:59:36,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.67.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-02 03:59:36,925 - DEBUG - ping -s 56 -c 3 -W 1 23.67.115.67 2025-06-02 03:59:41,016 - DEBUG - PING 23.67.115.67 (23.67.115.67): 56 data bytes 64 bytes from 23.67.115.67: seq=0 ttl=62 time=8.078 ms 64 bytes from 23.67.115.67: seq=1 ttl=62 time=0.973 ms 64 bytes from 23.67.115.67: seq=2 ttl=62 time=0.871 ms --- 23.67.115.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/3.307/8.078 ms 2025-06-02 03:59:41,016 - INFO - Ping to IP 23.67.115.67 from VM ctest-TestRoutersBasic-68779816-85924328 passed 2025-06-02 03:59:41,016 - INFO - Deleting interface with subnet_id 5399a9ec-4d19-4a26-8c94-10c2f6711392, port_id None from router 2e50c693-ef8f-4555-bf30-21fdd6e79419 2025-06-02 03:59:41,269 - INFO - Deleting VM ctest-TestRoutersBasic-68779816-75962695 2025-06-02 03:59:41,349 - INFO - Deleting VM ctest-TestRoutersBasic-68779816-85924328 2025-06-02 03:59:41,477 - INFO - Deleting VN ctest-ext_vn-95449542 2025-06-02 03:59:41,564 - DEBUG - VN acb42935-fd49-4731-940f-2e9060a38523 still in use: Unable to complete operation on network acb42935-fd49-4731-940f-2e9060a38523. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5f85b68-4294-4ea3-a805-e49ce6308f74'] 2025-06-02 03:59:41,564 - WARNING - Deleting VN ctest-ext_vn-95449542 failed..Will retry 2025-06-02 03:59:43,677 - DEBUG - Response for deleting network () 2025-06-02 03:59:43,677 - INFO - Deleting VN ctest-vn-54233432 2025-06-02 03:59:43,783 - DEBUG - Response for deleting network () 2025-06-02 03:59:44,041 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 03:59:44,041 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-02 03:59:44,041 - INFO - -------------------------------------------------------------------------------- 2025-06-02 03:59:44,824 - INFO - Deleted project: ctest-TestRoutersBasic-68779816, ID : 75ebba67-cd19-4df5-9430-9320fcd3e8d2