2025-08-13 13:55:48,237 - INFO - Domain Default found not creating
2025-08-13 13:55:48,370 - INFO - Project ctest-TestRoutersBasic-47080592 not found, creating it
2025-08-13 13:55:48,825 - INFO - Created Project:ctest-TestRoutersBasic-47080592, ID : aa82f969-e6eb-48e5-a7b9-e38169aed6eb
2025-08-13 13:55:50,339 - INFO - ================================================================================
2025-08-13 13:55:50,339 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-13 13:55:50,339 - 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-08-13 13:55:50,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-13 13:55:50,593 - INFO - Initial checks done. Running the testcase now
2025-08-13 13:55:50,593 - INFO -
2025-08-13 13:55:51,374 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47080592
2025-08-13 13:55:51,470 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47080592
2025-08-13 13:55:51,806 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47080592', 'default']}
2025-08-13 13:55:52,110 - DEBUG - Response for create_network : {'network': {'id': '209c528b-e475-4941-8fec-47503179c44a', 'name': 'ctest-vn-86436766', 'tenant_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'project_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47080592', 'ctest-vn-86436766'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 13:55:52,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe82ab28-016d-4249-84ff-648465990235', 'name': '', 'tenant_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'network_id': '209c528b-e475-4941-8fec-47503179c44a', 'ip_version': 4, 'cidr': '2.34.242.0/26', 'allocation_pools': [{'start': '2.34.242.2', 'end': '2.34.242.62'}], 'gateway_ip': '2.34.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.34.242.2', 'tags': [], 'project_id': 'aa82f969e6eb48e5a7b9e38169aed6eb'}}
2025-08-13 13:55:52,298 - INFO - Created VN ctest-vn-86436766
2025-08-13 13:55:52,350 - DEBUG - VN ctest-vn-86436766 UUID is 209c528b-e475-4941-8fec-47503179c44a
2025-08-13 13:55:52,669 - DEBUG - Response for create_network : {'network': {'id': '57c9b9c5-1dc9-4f28-9bbd-d49522349dc3', 'name': 'ctest-ext_vn-12903873', 'tenant_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'project_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47080592', 'ctest-ext_vn-12903873'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 13:55:52,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '401bd063-129a-447c-9372-e167e7b5b19e', 'name': '', 'tenant_id': 'aa82f969e6eb48e5a7b9e38169aed6eb', 'network_id': '57c9b9c5-1dc9-4f28-9bbd-d49522349dc3', 'ip_version': 4, 'cidr': '103.196.175.64/26', 'allocation_pools': [{'start': '103.196.175.66', 'end': '103.196.175.126'}], 'gateway_ip': '103.196.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.196.175.66', 'tags': [], 'project_id': 'aa82f969e6eb48e5a7b9e38169aed6eb'}}
2025-08-13 13:55:52,881 - INFO - Created VN ctest-ext_vn-12903873
2025-08-13 13:55:52,934 - DEBUG - VN ctest-ext_vn-12903873 UUID is 57c9b9c5-1dc9-4f28-9bbd-d49522349dc3
2025-08-13 13:55:53,131 - DEBUG - Services list from nova: [, , ]
2025-08-13 13:55:54,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1)
2025-08-13 13:55:55,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1)
2025-08-13 13:55:55,567 - INFO - Setting gateway for router 91cc72da-976b-4b9d-a3d6-a25f7b8bfaa5 to network 57c9b9c5-1dc9-4f28-9bbd-d49522349dc3
2025-08-13 13:55:55,659 - INFO - Adding interface with subnet_id fe82ab28-016d-4249-84ff-648465990235, port_id None to router 91cc72da-976b-4b9d-a3d6-a25f7b8bfaa5
2025-08-13 13:55:56,312 - INFO - Waiting for VM ctest-TestRoutersBasic-47080592-08053165 to be up..
2025-08-13 13:55:56,475 - DEBUG - VM is in ACTIVE state now
2025-08-13 13:55:56,475 - INFO - VM name : ctest-TestRoutersBasic-47080592-08053165
2025-08-13 13:55:56,576 - DEBUG - VM ctest-TestRoutersBasic-47080592-08053165 ID is 0bd39328-3d75-4ae0-a4e8-d3fd0c914efa
2025-08-13 13:55:56,602 - DEBUG - VM ctest-TestRoutersBasic-47080592-08053165 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1
2025-08-13 13:55:56,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0bd39328-3d75-4ae0-a4e8-d3fd0c914efa
2025-08-13 13:55:57,091 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0bd39328-3d75-4ae0-a4e8-d3fd0c914efa
2025-08-13 13:55:57,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c0236597-3431-46fc-869d-f0f19442ab23
2025-08-13 13:56:00,415 - 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 1012ms')
2025-08-13 13:56:00,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47080592-08053165 failed!
2025-08-13 13:56:00,470 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47080592:ctest-vn-86436766 is 2.34.242.1 and allocation pool is NOT set
2025-08-13 13:56:04,542 - 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 1006ms')
2025-08-13 13:56:04,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47080592-08053165 failed!
2025-08-13 13:56:04,598 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47080592:ctest-vn-86436766 is 2.34.242.1 and allocation pool is NOT set
2025-08-13 13:56:06,665 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.700/3.616/4.532/0.916 ms')
2025-08-13 13:56:06,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47080592-08053165 passed
2025-08-13 13:56:06,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 13:56:06,831 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47080592-08053165, IP 2.34.242.3, Port 22
2025-08-13 13:56:06,997 - DEBUG - VM ctest-TestRoutersBasic-47080592-08053165 is ready for SSH connections
2025-08-13 13:56:06,997 - INFO - Waiting for VM ctest-TestRoutersBasic-47080592-60938785 to be up..
2025-08-13 13:56:07,101 - DEBUG - VM is in ACTIVE state now
2025-08-13 13:56:07,102 - INFO - VM name : ctest-TestRoutersBasic-47080592-60938785
2025-08-13 13:56:07,198 - DEBUG - VM ctest-TestRoutersBasic-47080592-60938785 ID is 6595c724-3866-4f84-841f-6dbf2a412c7d
2025-08-13 13:56:07,198 - DEBUG - VM ctest-TestRoutersBasic-47080592-60938785 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1
2025-08-13 13:56:07,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6595c724-3866-4f84-841f-6dbf2a412c7d
2025-08-13 13:56:07,299 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/119da47e-831e-47e7-963c-8aa1eff8ac82
2025-08-13 13:56:08,556 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.74 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.741/3.041/4.341/1.300 ms')
2025-08-13 13:56:08,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47080592-60938785 passed
2025-08-13 13:56:08,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 13:56:08,715 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47080592-60938785, IP 103.196.175.67, Port 22
2025-08-13 13:56:08,883 - DEBUG - VM ctest-TestRoutersBasic-47080592-60938785 is ready for SSH connections
2025-08-13 13:56:08,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 13:56:08,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.196.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-13 13:56:08,883 - DEBUG - ping -s 56 -c 3 -W 1 103.196.175.67
2025-08-13 13:56:12,634 - DEBUG - PING 103.196.175.67 (103.196.175.67): 56 data bytes
64 bytes from 103.196.175.67: seq=0 ttl=62 time=7.041 ms
64 bytes from 103.196.175.67: seq=1 ttl=62 time=0.912 ms
64 bytes from 103.196.175.67: seq=2 ttl=62 time=0.871 ms
--- 103.196.175.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.871/2.941/7.041 ms
2025-08-13 13:56:12,635 - INFO - Ping to IP 103.196.175.67 from VM ctest-TestRoutersBasic-47080592-08053165 passed
2025-08-13 13:56:12,635 - INFO - Deleting interface with subnet_id fe82ab28-016d-4249-84ff-648465990235, port_id None from router 91cc72da-976b-4b9d-a3d6-a25f7b8bfaa5
2025-08-13 13:56:12,842 - INFO - Deleting VM ctest-TestRoutersBasic-47080592-60938785
2025-08-13 13:56:12,911 - INFO - Deleting VM ctest-TestRoutersBasic-47080592-08053165
2025-08-13 13:56:12,995 - INFO - Deleting VN ctest-ext_vn-12903873
2025-08-13 13:56:13,069 - DEBUG - VN 57c9b9c5-1dc9-4f28-9bbd-d49522349dc3 still in use: Unable to complete operation on network 57c9b9c5-1dc9-4f28-9bbd-d49522349dc3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d9036d80-0766-48c0-b601-de065b436971']
2025-08-13 13:56:13,069 - WARNING - Deleting VN ctest-ext_vn-12903873 failed..Will retry
2025-08-13 13:56:15,178 - DEBUG - Response for deleting network ()
2025-08-13 13:56:15,178 - INFO - Deleting VN ctest-vn-86436766
2025-08-13 13:56:15,289 - DEBUG - Response for deleting network ()
2025-08-13 13:56:15,545 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 13:56:15,545 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-13 13:56:15,545 - INFO - --------------------------------------------------------------------------------
2025-08-13 13:56:16,255 - INFO - Deleted project: ctest-TestRoutersBasic-47080592, ID : aa82f969-e6eb-48e5-a7b9-e38169aed6eb