2025-11-17 02:05:35,779 - INFO - Domain Default found not creating 2025-11-17 02:05:35,931 - INFO - Project ctest-TestRoutersBasic-03388069 not found, creating it 2025-11-17 02:05:36,379 - INFO - Created Project:ctest-TestRoutersBasic-03388069, ID : a40e7424-7755-41f1-bdd6-021c2b3b7ee1 2025-11-17 02:05:38,033 - INFO - ================================================================================ 2025-11-17 02:05:38,033 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-17 02:05:38,033 - 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-11-17 02:05:38,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:05:38,294 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:05:38,294 - INFO - 2025-11-17 02:05:39,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03388069 2025-11-17 02:05:39,171 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03388069 2025-11-17 02:05:39,487 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03388069', 'default']} 2025-11-17 02:05:39,775 - DEBUG - Response for create_network : {'network': {'id': 'd48c849e-8fec-4b15-87e5-30d91de8edaf', 'name': 'ctest-vn-72681583', 'tenant_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'project_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03388069', 'ctest-vn-72681583'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:05:39,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '18903097-6df8-405b-8d46-2c19b880e0d5', 'name': '', 'tenant_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'network_id': 'd48c849e-8fec-4b15-87e5-30d91de8edaf', 'ip_version': 4, 'cidr': '158.20.202.0/26', 'allocation_pools': [{'start': '158.20.202.2', 'end': '158.20.202.62'}], 'gateway_ip': '158.20.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.20.202.2', 'tags': [], 'project_id': 'a40e7424775541f1bdd6021c2b3b7ee1'}} 2025-11-17 02:05:39,934 - INFO - Created VN ctest-vn-72681583 2025-11-17 02:05:39,983 - DEBUG - VN ctest-vn-72681583 UUID is d48c849e-8fec-4b15-87e5-30d91de8edaf 2025-11-17 02:05:40,384 - DEBUG - Response for create_network : {'network': {'id': 'c6d063c0-9089-408b-92f6-b44b3e824a55', 'name': 'ctest-ext_vn-48450347', 'tenant_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'project_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03388069', 'ctest-ext_vn-48450347'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:05:40,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e547f4f-e2a6-44f9-a214-4e4c073e959c', 'name': '', 'tenant_id': 'a40e7424775541f1bdd6021c2b3b7ee1', 'network_id': 'c6d063c0-9089-408b-92f6-b44b3e824a55', 'ip_version': 4, 'cidr': '84.32.14.192/26', 'allocation_pools': [{'start': '84.32.14.194', 'end': '84.32.14.254'}], 'gateway_ip': '84.32.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.32.14.194', 'tags': [], 'project_id': 'a40e7424775541f1bdd6021c2b3b7ee1'}} 2025-11-17 02:05:40,656 - INFO - Created VN ctest-ext_vn-48450347 2025-11-17 02:05:40,707 - DEBUG - VN ctest-ext_vn-48450347 UUID is c6d063c0-9089-408b-92f6-b44b3e824a55 2025-11-17 02:05:40,912 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:05:41,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:05:43,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:05:43,253 - INFO - Setting gateway for router bc27899d-fcc9-4f20-9732-64d43dbe2095 to network c6d063c0-9089-408b-92f6-b44b3e824a55 2025-11-17 02:05:43,304 - INFO - Adding interface with subnet_id 18903097-6df8-405b-8d46-2c19b880e0d5, port_id None to router bc27899d-fcc9-4f20-9732-64d43dbe2095 2025-11-17 02:05:43,549 - INFO - Waiting for VM ctest-TestRoutersBasic-03388069-70237319 to be up.. 2025-11-17 02:05:43,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:05:48,842 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:05:48,842 - INFO - VM name : ctest-TestRoutersBasic-03388069-70237319 2025-11-17 02:05:48,914 - DEBUG - VM ctest-TestRoutersBasic-03388069-70237319 ID is ec1967af-4744-498f-acf8-8ab422cc9b0a 2025-11-17 02:05:48,934 - DEBUG - VM ctest-TestRoutersBasic-03388069-70237319 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:05:49,006 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec1967af-4744-498f-acf8-8ab422cc9b0a 2025-11-17 02:05:49,344 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec1967af-4744-498f-acf8-8ab422cc9b0a 2025-11-17 02:05:49,375 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fedba470-b571-41e1-94f4-15697c4f0a88 2025-11-17 02:05:52,628 - 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 1011ms') 2025-11-17 02:05:52,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03388069-70237319 failed! 2025-11-17 02:05:52,683 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03388069:ctest-vn-72681583 is 158.20.202.1 and allocation pool is NOT set 2025-11-17 02:05:54,748 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/2.114/3.792/1.677 ms') 2025-11-17 02:05:54,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03388069-70237319 passed 2025-11-17 02:05:54,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:54,895 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03388069-70237319, IP 158.20.202.3, Port 22 2025-11-17 02:05:55,054 - DEBUG - VM ctest-TestRoutersBasic-03388069-70237319 is ready for SSH connections 2025-11-17 02:05:55,054 - INFO - Waiting for VM ctest-TestRoutersBasic-03388069-48675158 to be up.. 2025-11-17 02:05:55,129 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:05:55,129 - INFO - VM name : ctest-TestRoutersBasic-03388069-48675158 2025-11-17 02:05:55,199 - DEBUG - VM ctest-TestRoutersBasic-03388069-48675158 ID is 13c68564-0fce-4ded-803a-aa4c99ffce2e 2025-11-17 02:05:55,199 - DEBUG - VM ctest-TestRoutersBasic-03388069-48675158 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:05:55,271 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/13c68564-0fce-4ded-803a-aa4c99ffce2e 2025-11-17 02:05:55,279 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e3437161-5e51-4e93-ac2a-87baf11ad00b 2025-11-17 02:05:56,521 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/2.132/3.358/1.226 ms') 2025-11-17 02:05:56,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03388069-48675158 passed 2025-11-17 02:05:56,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:56,671 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03388069-48675158, IP 84.32.14.195, Port 22 2025-11-17 02:05:56,830 - DEBUG - VM ctest-TestRoutersBasic-03388069-48675158 is ready for SSH connections 2025-11-17 02:05:56,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:56,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.32.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:56,831 - DEBUG - ping -s 56 -c 3 -W 1 84.32.14.195 2025-11-17 02:06:00,561 - DEBUG - PING 84.32.14.195 (84.32.14.195): 56 data bytes 64 bytes from 84.32.14.195: seq=0 ttl=62 time=4.913 ms 64 bytes from 84.32.14.195: seq=1 ttl=62 time=0.819 ms 64 bytes from 84.32.14.195: seq=2 ttl=62 time=1.044 ms --- 84.32.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.258/4.913 ms 2025-11-17 02:06:00,562 - INFO - Ping to IP 84.32.14.195 from VM ctest-TestRoutersBasic-03388069-70237319 passed 2025-11-17 02:06:00,562 - INFO - Deleting interface with subnet_id 18903097-6df8-405b-8d46-2c19b880e0d5, port_id None from router bc27899d-fcc9-4f20-9732-64d43dbe2095 2025-11-17 02:06:00,721 - INFO - Deleting VM ctest-TestRoutersBasic-03388069-48675158 2025-11-17 02:06:00,790 - INFO - Deleting VM ctest-TestRoutersBasic-03388069-70237319 2025-11-17 02:06:00,862 - INFO - Deleting VN ctest-ext_vn-48450347 2025-11-17 02:06:00,926 - DEBUG - VN c6d063c0-9089-408b-92f6-b44b3e824a55 still in use: Unable to complete operation on network c6d063c0-9089-408b-92f6-b44b3e824a55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a861ad7-3f0c-43b1-9487-1ef48c5205c9'] 2025-11-17 02:06:00,927 - WARNING - Deleting VN ctest-ext_vn-48450347 failed..Will retry 2025-11-17 02:06:03,027 - DEBUG - Response for deleting network () 2025-11-17 02:06:03,027 - INFO - Deleting VN ctest-vn-72681583 2025-11-17 02:06:03,146 - DEBUG - Response for deleting network () 2025-11-17 02:06:03,400 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:06:03,400 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-17 02:06:03,400 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:06:04,126 - INFO - Deleted project: ctest-TestRoutersBasic-03388069, ID : a40e7424-7755-41f1-bdd6-021c2b3b7ee1