2025-10-31 00:23:42,327 - INFO - Domain Default found not creating 2025-10-31 00:23:42,498 - INFO - Project ctest-TestRoutersBasic-76828462 not found, creating it 2025-10-31 00:23:42,967 - INFO - Created Project:ctest-TestRoutersBasic-76828462, ID : 79f301ef-93d2-4e66-a36b-ff6652c2b6d8 2025-10-31 00:23:44,470 - INFO - ================================================================================ 2025-10-31 00:23:44,471 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 00:23:44,471 - 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-10-31 00:23:44,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.241': '0'}} with 2025-10-31 00:23:44,737 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:23:44,738 - INFO - 2025-10-31 00:23:45,483 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76828462 2025-10-31 00:23:45,583 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76828462 2025-10-31 00:23:45,914 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76828462', 'default']} 2025-10-31 00:23:46,207 - DEBUG - Response for create_network : {'network': {'id': 'a809fa25-3431-4646-bf54-2ace8c955101', 'name': 'ctest-vn-62944785', 'tenant_id': '79f301ef93d24e66a36bff6652c2b6d8', 'project_id': '79f301ef93d24e66a36bff6652c2b6d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76828462', 'ctest-vn-62944785'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:23:46,376 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f55c136-f9db-4a36-ba49-7386a52d3b35', 'name': '', 'tenant_id': '79f301ef93d24e66a36bff6652c2b6d8', 'network_id': 'a809fa25-3431-4646-bf54-2ace8c955101', 'ip_version': 4, 'cidr': '87.211.238.128/26', 'allocation_pools': [{'start': '87.211.238.130', 'end': '87.211.238.190'}], 'gateway_ip': '87.211.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.211.238.130', 'tags': [], 'project_id': '79f301ef93d24e66a36bff6652c2b6d8'}} 2025-10-31 00:23:46,393 - INFO - Created VN ctest-vn-62944785 2025-10-31 00:23:46,442 - DEBUG - VN ctest-vn-62944785 UUID is a809fa25-3431-4646-bf54-2ace8c955101 2025-10-31 00:23:46,759 - DEBUG - Response for create_network : {'network': {'id': '8c3ee98a-689e-406f-b390-28692c1ecc43', 'name': 'ctest-ext_vn-32562436', 'tenant_id': '79f301ef93d24e66a36bff6652c2b6d8', 'project_id': '79f301ef93d24e66a36bff6652c2b6d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76828462', 'ctest-ext_vn-32562436'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:23:46,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a7f87b6-608a-4c54-9401-1c0cff0e6e60', 'name': '', 'tenant_id': '79f301ef93d24e66a36bff6652c2b6d8', 'network_id': '8c3ee98a-689e-406f-b390-28692c1ecc43', 'ip_version': 4, 'cidr': '187.170.146.128/26', 'allocation_pools': [{'start': '187.170.146.130', 'end': '187.170.146.190'}], 'gateway_ip': '187.170.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.170.146.130', 'tags': [], 'project_id': '79f301ef93d24e66a36bff6652c2b6d8'}} 2025-10-31 00:23:46,983 - INFO - Created VN ctest-ext_vn-32562436 2025-10-31 00:23:47,034 - DEBUG - VN ctest-ext_vn-32562436 UUID is 8c3ee98a-689e-406f-b390-28692c1ecc43 2025-10-31 00:23:47,246 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:23:48,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:23:49,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:23:49,514 - INFO - Setting gateway for router d0df9110-0de8-44fa-8d1a-1198a829aa2b to network 8c3ee98a-689e-406f-b390-28692c1ecc43 2025-10-31 00:23:49,615 - INFO - Adding interface with subnet_id 4f55c136-f9db-4a36-ba49-7386a52d3b35, port_id None to router d0df9110-0de8-44fa-8d1a-1198a829aa2b 2025-10-31 00:23:50,287 - INFO - Waiting for VM ctest-TestRoutersBasic-76828462-09182796 to be up.. 2025-10-31 00:23:50,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:23:55,533 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:23:55,533 - INFO - VM name : ctest-TestRoutersBasic-76828462-09182796 2025-10-31 00:23:55,618 - DEBUG - VM ctest-TestRoutersBasic-76828462-09182796 ID is 7c3a085f-c8a9-46a8-ad99-1e24aaa478c0 2025-10-31 00:23:55,638 - DEBUG - VM ctest-TestRoutersBasic-76828462-09182796 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:23:55,724 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7c3a085f-c8a9-46a8-ad99-1e24aaa478c0 2025-10-31 00:23:56,027 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7c3a085f-c8a9-46a8-ad99-1e24aaa478c0 2025-10-31 00:23:56,058 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/01e95835-d1f0-4f48-8656-30f773d645da 2025-10-31 00:23:59,329 - 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-10-31 00:23:59,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76828462-09182796 failed! 2025-10-31 00:23:59,382 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76828462:ctest-vn-62944785 is 87.211.238.129 and allocation pool is NOT set 2025-10-31 00:24:01,450 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.747/2.839/3.932/1.092 ms') 2025-10-31 00:24:01,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76828462-09182796 passed 2025-10-31 00:24:01,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:01,598 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76828462-09182796, IP 87.211.238.131, Port 22 2025-10-31 00:24:01,754 - DEBUG - VM ctest-TestRoutersBasic-76828462-09182796 is ready for SSH connections 2025-10-31 00:24:01,754 - INFO - Waiting for VM ctest-TestRoutersBasic-76828462-50957804 to be up.. 2025-10-31 00:24:01,853 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:01,853 - INFO - VM name : ctest-TestRoutersBasic-76828462-50957804 2025-10-31 00:24:01,946 - DEBUG - VM ctest-TestRoutersBasic-76828462-50957804 ID is ae76b403-f1d9-423f-9d50-5d0db269a303 2025-10-31 00:24:01,946 - DEBUG - VM ctest-TestRoutersBasic-76828462-50957804 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:24:02,035 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ae76b403-f1d9-423f-9d50-5d0db269a303 2025-10-31 00:24:02,044 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6d40dfaa-c12b-4008-9ae2-370c8189cb42 2025-10-31 00:24:03,283 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/1.939/3.332/1.393 ms') 2025-10-31 00:24:03,283 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76828462-50957804 passed 2025-10-31 00:24:03,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:03,438 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76828462-50957804, IP 187.170.146.131, Port 22 2025-10-31 00:24:03,599 - DEBUG - VM ctest-TestRoutersBasic-76828462-50957804 is ready for SSH connections 2025-10-31 00:24:03,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:03,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.170.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-31 00:24:03,599 - DEBUG - ping -s 56 -c 3 -W 1 187.170.146.131 2025-10-31 00:24:07,319 - DEBUG - PING 187.170.146.131 (187.170.146.131): 56 data bytes 64 bytes from 187.170.146.131: seq=0 ttl=62 time=7.542 ms 64 bytes from 187.170.146.131: seq=1 ttl=62 time=1.219 ms 64 bytes from 187.170.146.131: seq=2 ttl=62 time=1.024 ms --- 187.170.146.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.024/3.261/7.542 ms 2025-10-31 00:24:07,319 - INFO - Ping to IP 187.170.146.131 from VM ctest-TestRoutersBasic-76828462-09182796 passed 2025-10-31 00:24:07,319 - INFO - Deleting interface with subnet_id 4f55c136-f9db-4a36-ba49-7386a52d3b35, port_id None from router d0df9110-0de8-44fa-8d1a-1198a829aa2b 2025-10-31 00:24:07,507 - INFO - Deleting VM ctest-TestRoutersBasic-76828462-50957804 2025-10-31 00:24:07,579 - INFO - Deleting VM ctest-TestRoutersBasic-76828462-09182796 2025-10-31 00:24:07,665 - INFO - Deleting VN ctest-ext_vn-32562436 2025-10-31 00:24:07,731 - DEBUG - VN 8c3ee98a-689e-406f-b390-28692c1ecc43 still in use: Unable to complete operation on network 8c3ee98a-689e-406f-b390-28692c1ecc43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-585f1ff2-4d49-4e7f-be88-464892e7657e'] 2025-10-31 00:24:07,731 - WARNING - Deleting VN ctest-ext_vn-32562436 failed..Will retry 2025-10-31 00:24:09,836 - DEBUG - Response for deleting network () 2025-10-31 00:24:09,836 - INFO - Deleting VN ctest-vn-62944785 2025-10-31 00:24:09,939 - DEBUG - Response for deleting network () 2025-10-31 00:24:10,201 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:24:10,201 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-31 00:24:10,201 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:24:10,905 - INFO - Deleted project: ctest-TestRoutersBasic-76828462, ID : 79f301ef-93d2-4e66-a36b-ff6652c2b6d8