2025-06-18 05:25:41,740 - INFO - Domain Default found not creating 2025-06-18 05:25:41,881 - INFO - Project ctest-TestRoutersBasic-36452944 not found, creating it 2025-06-18 05:25:42,346 - INFO - Created Project:ctest-TestRoutersBasic-36452944, ID : 88cdeb53-8967-40e5-adfe-f0e41b58df49 2025-06-18 05:25:43,900 - INFO - ================================================================================ 2025-06-18 05:25:43,900 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 05:25:43,900 - 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-18 05:25:44,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 05:25:44,160 - INFO - Initial checks done. Running the testcase now 2025-06-18 05:25:44,160 - INFO - 2025-06-18 05:25:44,940 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36452944 2025-06-18 05:25:45,037 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36452944 2025-06-18 05:25:45,361 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36452944', 'default']} 2025-06-18 05:25:45,662 - DEBUG - Response for create_network : {'network': {'id': 'cbbac281-8e1a-4385-ab3b-39eb04e54d0f', 'name': 'ctest-vn-92707160', 'tenant_id': '88cdeb53896740e5adfef0e41b58df49', 'project_id': '88cdeb53896740e5adfef0e41b58df49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36452944', 'ctest-vn-92707160'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:25:45,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd60ad00c-9950-475b-8a24-1383be712428', 'name': '', 'tenant_id': '88cdeb53896740e5adfef0e41b58df49', 'network_id': 'cbbac281-8e1a-4385-ab3b-39eb04e54d0f', 'ip_version': 4, 'cidr': '135.238.230.0/26', 'allocation_pools': [{'start': '135.238.230.2', 'end': '135.238.230.62'}], 'gateway_ip': '135.238.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.238.230.2', 'tags': [], 'project_id': '88cdeb53896740e5adfef0e41b58df49'}} 2025-06-18 05:25:45,896 - INFO - Created VN ctest-vn-92707160 2025-06-18 05:25:45,949 - DEBUG - VN ctest-vn-92707160 UUID is cbbac281-8e1a-4385-ab3b-39eb04e54d0f 2025-06-18 05:25:46,293 - DEBUG - Response for create_network : {'network': {'id': 'b91f6b3d-977c-44b4-867a-a240ac5268ea', 'name': 'ctest-ext_vn-14424443', 'tenant_id': '88cdeb53896740e5adfef0e41b58df49', 'project_id': '88cdeb53896740e5adfef0e41b58df49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36452944', 'ctest-ext_vn-14424443'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:25:46,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '1719ecae-d4d2-464a-b9f5-d0e13dc51522', 'name': '', 'tenant_id': '88cdeb53896740e5adfef0e41b58df49', 'network_id': 'b91f6b3d-977c-44b4-867a-a240ac5268ea', 'ip_version': 4, 'cidr': '218.47.119.64/26', 'allocation_pools': [{'start': '218.47.119.66', 'end': '218.47.119.126'}], 'gateway_ip': '218.47.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.47.119.66', 'tags': [], 'project_id': '88cdeb53896740e5adfef0e41b58df49'}} 2025-06-18 05:25:46,515 - INFO - Created VN ctest-ext_vn-14424443 2025-06-18 05:25:46,569 - DEBUG - VN ctest-ext_vn-14424443 UUID is b91f6b3d-977c-44b4-867a-a240ac5268ea 2025-06-18 05:25:46,737 - DEBUG - Services list from nova: [, , ] 2025-06-18 05:25:47,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:25:49,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:25:49,193 - INFO - Setting gateway for router 1daf8175-7372-4a55-afa8-24c074b41369 to network b91f6b3d-977c-44b4-867a-a240ac5268ea 2025-06-18 05:25:49,279 - INFO - Adding interface with subnet_id d60ad00c-9950-475b-8a24-1383be712428, port_id None to router 1daf8175-7372-4a55-afa8-24c074b41369 2025-06-18 05:25:49,667 - INFO - Waiting for VM ctest-TestRoutersBasic-36452944-66968635 to be up.. 2025-06-18 05:25:49,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 05:25:54,937 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:25:54,938 - INFO - VM name : ctest-TestRoutersBasic-36452944-66968635 2025-06-18 05:25:55,018 - DEBUG - VM ctest-TestRoutersBasic-36452944-66968635 ID is a94f6469-4029-4c5d-87d2-6ad1a82debbd 2025-06-18 05:25:55,037 - DEBUG - VM ctest-TestRoutersBasic-36452944-66968635 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:25:55,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a94f6469-4029-4c5d-87d2-6ad1a82debbd 2025-06-18 05:25:55,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a94f6469-4029-4c5d-87d2-6ad1a82debbd 2025-06-18 05:25:55,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/723476b2-8cc2-43f4-97d9-5f987ff3bb93 2025-06-18 05:25:58,755 - 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 1019ms') 2025-06-18 05:25:58,755 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36452944-66968635 failed! 2025-06-18 05:25:58,813 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36452944:ctest-vn-92707160 is 135.238.230.1 and allocation pool is NOT set 2025-06-18 05:26:00,870 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.936 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 = 0.936/2.911/4.886/1.975 ms') 2025-06-18 05:26:00,871 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36452944-66968635 passed 2025-06-18 05:26:01,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:01,025 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36452944-66968635, IP 135.238.230.3, Port 22 2025-06-18 05:26:01,189 - DEBUG - VM ctest-TestRoutersBasic-36452944-66968635 is ready for SSH connections 2025-06-18 05:26:01,189 - INFO - Waiting for VM ctest-TestRoutersBasic-36452944-32004846 to be up.. 2025-06-18 05:26:01,276 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:26:01,276 - INFO - VM name : ctest-TestRoutersBasic-36452944-32004846 2025-06-18 05:26:01,352 - DEBUG - VM ctest-TestRoutersBasic-36452944-32004846 ID is d25ec944-9898-4640-9e7e-a5dd3797c872 2025-06-18 05:26:01,352 - DEBUG - VM ctest-TestRoutersBasic-36452944-32004846 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:26:01,430 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d25ec944-9898-4640-9e7e-a5dd3797c872 2025-06-18 05:26:01,440 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e90e7dba-d97a-449d-9cca-9d6a7c4c11d4 2025-06-18 05:26:02,683 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 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 = 2.701/2.954/3.208/0.253 ms') 2025-06-18 05:26:02,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36452944-32004846 passed 2025-06-18 05:26:02,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:02,841 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36452944-32004846, IP 218.47.119.67, Port 22 2025-06-18 05:26:02,896 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-18 05:26:02,974 - DEBUG - VM ctest-TestRoutersBasic-36452944-32004846 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-18 05:26:07,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:07,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36452944-32004846, IP 218.47.119.67, Port 22 2025-06-18 05:26:08,133 - DEBUG - VM ctest-TestRoutersBasic-36452944-32004846 is ready for SSH connections 2025-06-18 05:26:08,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:08,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.47.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 05:26:08,133 - DEBUG - ping -s 56 -c 3 -W 1 218.47.119.67 2025-06-18 05:26:11,859 - DEBUG - PING 218.47.119.67 (218.47.119.67): 56 data bytes 64 bytes from 218.47.119.67: seq=0 ttl=62 time=4.414 ms 64 bytes from 218.47.119.67: seq=1 ttl=62 time=0.796 ms 64 bytes from 218.47.119.67: seq=2 ttl=62 time=0.909 ms --- 218.47.119.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.039/4.414 ms 2025-06-18 05:26:11,859 - INFO - Ping to IP 218.47.119.67 from VM ctest-TestRoutersBasic-36452944-66968635 passed 2025-06-18 05:26:11,859 - INFO - Deleting interface with subnet_id d60ad00c-9950-475b-8a24-1383be712428, port_id None from router 1daf8175-7372-4a55-afa8-24c074b41369 2025-06-18 05:26:12,056 - INFO - Deleting VM ctest-TestRoutersBasic-36452944-32004846 2025-06-18 05:26:12,126 - INFO - Deleting VM ctest-TestRoutersBasic-36452944-66968635 2025-06-18 05:26:12,220 - INFO - Deleting VN ctest-ext_vn-14424443 2025-06-18 05:26:12,293 - DEBUG - VN b91f6b3d-977c-44b4-867a-a240ac5268ea still in use: Unable to complete operation on network b91f6b3d-977c-44b4-867a-a240ac5268ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-937fc33d-11f9-4745-8627-0fc497a3a05a'] 2025-06-18 05:26:12,293 - WARNING - Deleting VN ctest-ext_vn-14424443 failed..Will retry 2025-06-18 05:26:14,399 - DEBUG - Response for deleting network () 2025-06-18 05:26:14,399 - INFO - Deleting VN ctest-vn-92707160 2025-06-18 05:26:14,540 - DEBUG - Response for deleting network () 2025-06-18 05:26:14,804 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 05:26:14,804 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-06-18 05:26:14,804 - INFO - -------------------------------------------------------------------------------- 2025-06-18 05:26:15,594 - INFO - Deleted project: ctest-TestRoutersBasic-36452944, ID : 88cdeb53-8967-40e5-adfe-f0e41b58df49