2025-10-06 17:32:46,950 - INFO - Domain Default found not creating 2025-10-06 17:32:47,097 - INFO - Project ctest-TestRoutersBasic-04128318 not found, creating it 2025-10-06 17:32:47,560 - INFO - Created Project:ctest-TestRoutersBasic-04128318, ID : d726f4c6-6ff3-40dc-a0c1-18b372f042c2 2025-10-06 17:32:48,980 - INFO - ================================================================================ 2025-10-06 17:32:48,980 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-06 17:32:48,980 - 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-06 17:32:49,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 17:32:49,236 - INFO - Initial checks done. Running the testcase now 2025-10-06 17:32:49,236 - INFO - 2025-10-06 17:32:49,942 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04128318 2025-10-06 17:32:50,038 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04128318 2025-10-06 17:32:50,366 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04128318', 'default']} 2025-10-06 17:32:50,655 - DEBUG - Response for create_network : {'network': {'id': 'aab7a4d5-95b7-4e18-9223-4aaf5f3dc3a7', 'name': 'ctest-vn-70325501', 'tenant_id': 'd726f4c66ff340dca0c118b372f042c2', 'project_id': 'd726f4c66ff340dca0c118b372f042c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04128318', 'ctest-vn-70325501'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:32:50,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ef5c93f-48be-4a1b-96c1-eb7d7f14f8c7', 'name': '', 'tenant_id': 'd726f4c66ff340dca0c118b372f042c2', 'network_id': 'aab7a4d5-95b7-4e18-9223-4aaf5f3dc3a7', 'ip_version': 4, 'cidr': '67.118.162.0/26', 'allocation_pools': [{'start': '67.118.162.2', 'end': '67.118.162.62'}], 'gateway_ip': '67.118.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.118.162.2', 'tags': [], 'project_id': 'd726f4c66ff340dca0c118b372f042c2'}} 2025-10-06 17:32:50,883 - INFO - Created VN ctest-vn-70325501 2025-10-06 17:32:50,934 - DEBUG - VN ctest-vn-70325501 UUID is aab7a4d5-95b7-4e18-9223-4aaf5f3dc3a7 2025-10-06 17:32:51,258 - DEBUG - Response for create_network : {'network': {'id': 'c181e35f-8c91-49a1-8553-45fe63aa8f2f', 'name': 'ctest-ext_vn-86023059', 'tenant_id': 'd726f4c66ff340dca0c118b372f042c2', 'project_id': 'd726f4c66ff340dca0c118b372f042c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04128318', 'ctest-ext_vn-86023059'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:32:51,468 - DEBUG - Response for create_subnet : {'subnet': {'id': '80f37e2d-5035-4f39-9d7c-22751b5d03ac', 'name': '', 'tenant_id': 'd726f4c66ff340dca0c118b372f042c2', 'network_id': 'c181e35f-8c91-49a1-8553-45fe63aa8f2f', 'ip_version': 4, 'cidr': '77.160.230.64/26', 'allocation_pools': [{'start': '77.160.230.66', 'end': '77.160.230.126'}], 'gateway_ip': '77.160.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.160.230.66', 'tags': [], 'project_id': 'd726f4c66ff340dca0c118b372f042c2'}} 2025-10-06 17:32:51,485 - INFO - Created VN ctest-ext_vn-86023059 2025-10-06 17:32:51,538 - DEBUG - VN ctest-ext_vn-86023059 UUID is c181e35f-8c91-49a1-8553-45fe63aa8f2f 2025-10-06 17:32:51,747 - DEBUG - Services list from nova: [, , ] 2025-10-06 17:32:52,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:32:53,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:32:54,062 - INFO - Setting gateway for router 9c63058a-580c-4af9-9382-b6249c7c732d to network c181e35f-8c91-49a1-8553-45fe63aa8f2f 2025-10-06 17:32:54,134 - INFO - Adding interface with subnet_id 6ef5c93f-48be-4a1b-96c1-eb7d7f14f8c7, port_id None to router 9c63058a-580c-4af9-9382-b6249c7c732d 2025-10-06 17:32:54,546 - INFO - Waiting for VM ctest-TestRoutersBasic-04128318-29036617 to be up.. 2025-10-06 17:32:54,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 17:32:59,796 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:32:59,796 - INFO - VM name : ctest-TestRoutersBasic-04128318-29036617 2025-10-06 17:32:59,884 - DEBUG - VM ctest-TestRoutersBasic-04128318-29036617 ID is 72f31d35-e902-4a43-8e79-ae2077b24223 2025-10-06 17:32:59,901 - DEBUG - VM ctest-TestRoutersBasic-04128318-29036617 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:32:59,972 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/72f31d35-e902-4a43-8e79-ae2077b24223 2025-10-06 17:33:00,268 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/72f31d35-e902-4a43-8e79-ae2077b24223 2025-10-06 17:33:00,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c4a816c-1526-4b84-a5d5-4cb5bac20551 2025-10-06 17:33:03,582 - 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 1027ms') 2025-10-06 17:33:03,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04128318-29036617 failed! 2025-10-06 17:33:03,638 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04128318:ctest-vn-70325501 is 67.118.162.1 and allocation pool is NOT set 2025-10-06 17:33:05,696 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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 = 0.426/1.852/3.279/1.426 ms') 2025-10-06 17:33:05,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04128318-29036617 passed 2025-10-06 17:33:05,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:05,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04128318-29036617, IP 67.118.162.3, Port 22 2025-10-06 17:33:06,014 - DEBUG - VM ctest-TestRoutersBasic-04128318-29036617 is ready for SSH connections 2025-10-06 17:33:06,014 - INFO - Waiting for VM ctest-TestRoutersBasic-04128318-50302662 to be up.. 2025-10-06 17:33:06,091 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:33:06,091 - INFO - VM name : ctest-TestRoutersBasic-04128318-50302662 2025-10-06 17:33:06,171 - DEBUG - VM ctest-TestRoutersBasic-04128318-50302662 ID is 17c65bea-a5ac-4fb2-8fb6-66664da71cd9 2025-10-06 17:33:06,171 - DEBUG - VM ctest-TestRoutersBasic-04128318-50302662 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:33:06,240 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/17c65bea-a5ac-4fb2-8fb6-66664da71cd9 2025-10-06 17:33:06,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/784d7629-ccd8-4530-af9a-46550b749593 2025-10-06 17:33:07,487 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.591 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.591/2.048/3.505/1.457 ms') 2025-10-06 17:33:07,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04128318-50302662 passed 2025-10-06 17:33:07,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:07,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04128318-50302662, IP 77.160.230.67, Port 22 2025-10-06 17:33:07,798 - DEBUG - VM ctest-TestRoutersBasic-04128318-50302662 is ready for SSH connections 2025-10-06 17:33:07,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:07,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.160.230.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:33:07,798 - DEBUG - ping -s 56 -c 3 -W 1 77.160.230.67 2025-10-06 17:33:11,488 - DEBUG - PING 77.160.230.67 (77.160.230.67): 56 data bytes 64 bytes from 77.160.230.67: seq=0 ttl=62 time=8.431 ms 64 bytes from 77.160.230.67: seq=1 ttl=62 time=0.914 ms 64 bytes from 77.160.230.67: seq=2 ttl=62 time=1.076 ms --- 77.160.230.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/3.473/8.431 ms 2025-10-06 17:33:11,488 - INFO - Ping to IP 77.160.230.67 from VM ctest-TestRoutersBasic-04128318-29036617 passed 2025-10-06 17:33:11,489 - INFO - Deleting interface with subnet_id 6ef5c93f-48be-4a1b-96c1-eb7d7f14f8c7, port_id None from router 9c63058a-580c-4af9-9382-b6249c7c732d 2025-10-06 17:33:11,689 - INFO - Deleting VM ctest-TestRoutersBasic-04128318-50302662 2025-10-06 17:33:11,757 - INFO - Deleting VM ctest-TestRoutersBasic-04128318-29036617 2025-10-06 17:33:11,842 - INFO - Deleting VN ctest-ext_vn-86023059 2025-10-06 17:33:11,901 - DEBUG - VN c181e35f-8c91-49a1-8553-45fe63aa8f2f still in use: Unable to complete operation on network c181e35f-8c91-49a1-8553-45fe63aa8f2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6313f3c1-7ee4-411a-bfc1-c25a4329bcd1'] 2025-10-06 17:33:11,901 - WARNING - Deleting VN ctest-ext_vn-86023059 failed..Will retry 2025-10-06 17:33:14,014 - DEBUG - Response for deleting network () 2025-10-06 17:33:14,014 - INFO - Deleting VN ctest-vn-70325501 2025-10-06 17:33:14,117 - DEBUG - Response for deleting network () 2025-10-06 17:33:14,375 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 17:33:14,376 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-06 17:33:14,376 - INFO - -------------------------------------------------------------------------------- 2025-10-06 17:33:15,140 - INFO - Deleted project: ctest-TestRoutersBasic-04128318, ID : d726f4c6-6ff3-40dc-a0c1-18b372f042c2