2025-06-23 20:04:45,467 - INFO - Domain Default found not creating
2025-06-23 20:04:45,628 - INFO - Project ctest-TestRoutersBasic-63436654 not found, creating it
2025-06-23 20:04:46,071 - INFO - Created Project:ctest-TestRoutersBasic-63436654, ID : b3449ea6-ae16-4bbe-86ba-7054e027cf55
2025-06-23 20:04:47,461 - INFO - ================================================================================
2025-06-23 20:04:47,462 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-23 20:04:47,462 - 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-23 20:04:47,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with
2025-06-23 20:04:47,715 - INFO - Initial checks done. Running the testcase now
2025-06-23 20:04:47,715 - INFO -
2025-06-23 20:04:48,410 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63436654
2025-06-23 20:04:48,505 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63436654
2025-06-23 20:04:48,829 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63436654', 'default']}
2025-06-23 20:04:49,124 - DEBUG - Response for create_network : {'network': {'id': '25c38fd5-db84-4be8-97b8-c2baea6cc09e', 'name': 'ctest-vn-02132514', 'tenant_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'project_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63436654', 'ctest-vn-02132514'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 20:04:49,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '885c36a0-c371-41d7-8573-58eeeac5f890', 'name': '', 'tenant_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'network_id': '25c38fd5-db84-4be8-97b8-c2baea6cc09e', 'ip_version': 4, 'cidr': '44.18.20.128/26', 'allocation_pools': [{'start': '44.18.20.130', 'end': '44.18.20.190'}], 'gateway_ip': '44.18.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.18.20.130', 'tags': [], 'project_id': 'b3449ea6ae164bbe86ba7054e027cf55'}}
2025-06-23 20:04:49,326 - INFO - Created VN ctest-vn-02132514
2025-06-23 20:04:49,377 - DEBUG - VN ctest-vn-02132514 UUID is 25c38fd5-db84-4be8-97b8-c2baea6cc09e
2025-06-23 20:04:49,717 - DEBUG - Response for create_network : {'network': {'id': '6e37bfaa-465a-4734-87cb-2ff0cfc256bd', 'name': 'ctest-ext_vn-90461264', 'tenant_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'project_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63436654', 'ctest-ext_vn-90461264'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 20:04:49,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '4da93c36-b7cb-4a2b-83af-292e1bda4fdc', 'name': '', 'tenant_id': 'b3449ea6ae164bbe86ba7054e027cf55', 'network_id': '6e37bfaa-465a-4734-87cb-2ff0cfc256bd', 'ip_version': 4, 'cidr': '194.254.240.192/26', 'allocation_pools': [{'start': '194.254.240.194', 'end': '194.254.240.254'}], 'gateway_ip': '194.254.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.254.240.194', 'tags': [], 'project_id': 'b3449ea6ae164bbe86ba7054e027cf55'}}
2025-06-23 20:04:49,927 - INFO - Created VN ctest-ext_vn-90461264
2025-06-23 20:04:49,982 - DEBUG - VN ctest-ext_vn-90461264 UUID is 6e37bfaa-465a-4734-87cb-2ff0cfc256bd
2025-06-23 20:04:50,184 - DEBUG - Services list from nova: [, , ]
2025-06-23 20:04:51,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3524-1)
2025-06-23 20:04:52,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3524-1)
2025-06-23 20:04:52,472 - INFO - Setting gateway for router 27cb084a-c500-455c-9e11-e877073a2bb4 to network 6e37bfaa-465a-4734-87cb-2ff0cfc256bd
2025-06-23 20:04:52,548 - INFO - Adding interface with subnet_id 885c36a0-c371-41d7-8573-58eeeac5f890, port_id None to router 27cb084a-c500-455c-9e11-e877073a2bb4
2025-06-23 20:04:52,992 - INFO - Waiting for VM ctest-TestRoutersBasic-63436654-32461191 to be up..
2025-06-23 20:04:53,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 20:04:58,263 - DEBUG - VM is in ACTIVE state now
2025-06-23 20:04:58,264 - INFO - VM name : ctest-TestRoutersBasic-63436654-32461191
2025-06-23 20:04:58,351 - DEBUG - VM ctest-TestRoutersBasic-63436654-32461191 ID is 7856d1a2-611d-430b-9eff-6e90a1847359
2025-06-23 20:04:58,369 - DEBUG - VM ctest-TestRoutersBasic-63436654-32461191 launched on Node cn-jenkins-deploy-platform-ansible-os-3524-1.
2025-06-23 20:04:58,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7856d1a2-611d-430b-9eff-6e90a1847359
2025-06-23 20:04:58,743 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7856d1a2-611d-430b-9eff-6e90a1847359
2025-06-23 20:04:58,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd098e0c-1d3e-4914-9f76-e47113a21499
2025-06-23 20:05:02,027 - 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 1002ms')
2025-06-23 20:05:02,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63436654-32461191 failed!
2025-06-23 20:05:02,081 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63436654:ctest-vn-02132514 is 44.18.20.129 and allocation pool is NOT set
2025-06-23 20:05:04,144 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/1.495/2.620/1.124 ms')
2025-06-23 20:05:04,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63436654-32461191 passed
2025-06-23 20:05:04,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 20:05:04,301 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63436654-32461191, IP 44.18.20.131, Port 22
2025-06-23 20:05:04,457 - DEBUG - VM ctest-TestRoutersBasic-63436654-32461191 is ready for SSH connections
2025-06-23 20:05:04,457 - INFO - Waiting for VM ctest-TestRoutersBasic-63436654-70341173 to be up..
2025-06-23 20:05:04,543 - DEBUG - VM is in ACTIVE state now
2025-06-23 20:05:04,543 - INFO - VM name : ctest-TestRoutersBasic-63436654-70341173
2025-06-23 20:05:04,614 - DEBUG - VM ctest-TestRoutersBasic-63436654-70341173 ID is b2f9e945-775b-49ce-b824-5b0c224f4b16
2025-06-23 20:05:04,614 - DEBUG - VM ctest-TestRoutersBasic-63436654-70341173 launched on Node cn-jenkins-deploy-platform-ansible-os-3524-1.
2025-06-23 20:05:04,695 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b2f9e945-775b-49ce-b824-5b0c224f4b16
2025-06-23 20:05:04,703 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bf940a0c-5d98-490e-a8a1-1dd35bd7e581
2025-06-23 20:05:05,942 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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 = 0.470/1.847/3.225/1.377 ms')
2025-06-23 20:05:05,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63436654-70341173 passed
2025-06-23 20:05:06,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 20:05:06,090 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63436654-70341173, IP 194.254.240.195, Port 22
2025-06-23 20:05:06,245 - DEBUG - VM ctest-TestRoutersBasic-63436654-70341173 is ready for SSH connections
2025-06-23 20:05:06,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 20:05:06,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.254.240.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-23 20:05:06,245 - DEBUG - ping -s 56 -c 3 -W 1 194.254.240.195
2025-06-23 20:05:09,970 - DEBUG - PING 194.254.240.195 (194.254.240.195): 56 data bytes
64 bytes from 194.254.240.195: seq=0 ttl=62 time=4.205 ms
64 bytes from 194.254.240.195: seq=1 ttl=62 time=1.168 ms
64 bytes from 194.254.240.195: seq=2 ttl=62 time=0.885 ms
--- 194.254.240.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.885/2.086/4.205 ms
2025-06-23 20:05:09,970 - INFO - Ping to IP 194.254.240.195 from VM ctest-TestRoutersBasic-63436654-32461191 passed
2025-06-23 20:05:09,970 - INFO - Deleting interface with subnet_id 885c36a0-c371-41d7-8573-58eeeac5f890, port_id None from router 27cb084a-c500-455c-9e11-e877073a2bb4
2025-06-23 20:05:10,176 - INFO - Deleting VM ctest-TestRoutersBasic-63436654-70341173
2025-06-23 20:05:10,249 - INFO - Deleting VM ctest-TestRoutersBasic-63436654-32461191
2025-06-23 20:05:10,347 - INFO - Deleting VN ctest-ext_vn-90461264
2025-06-23 20:05:10,439 - DEBUG - VN 6e37bfaa-465a-4734-87cb-2ff0cfc256bd still in use: Unable to complete operation on network 6e37bfaa-465a-4734-87cb-2ff0cfc256bd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d827dcab-540a-4389-88ff-15804e028f40']
2025-06-23 20:05:10,439 - WARNING - Deleting VN ctest-ext_vn-90461264 failed..Will retry
2025-06-23 20:05:12,568 - DEBUG - Response for deleting network ()
2025-06-23 20:05:12,568 - INFO - Deleting VN ctest-vn-02132514
2025-06-23 20:05:12,694 - DEBUG - Response for deleting network ()
2025-06-23 20:05:12,946 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 20:05:12,946 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-23 20:05:12,946 - INFO - --------------------------------------------------------------------------------
2025-06-23 20:05:13,654 - INFO - Deleted project: ctest-TestRoutersBasic-63436654, ID : b3449ea6-ae16-4bbe-86ba-7054e027cf55