2025-12-16 18:06:33,733 - INFO - Domain Default found not creating 2025-12-16 18:06:33,890 - INFO - Project ctest-TestRoutersBasic-59812503 not found, creating it 2025-12-16 18:06:34,338 - INFO - Created Project:ctest-TestRoutersBasic-59812503, ID : 4b5305ae-257a-4774-905c-620e5a3c9674 2025-12-16 18:06:35,772 - INFO - ================================================================================ 2025-12-16 18:06:35,772 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-16 18:06:35,772 - 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-12-16 18:06:36,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-16 18:06:36,026 - INFO - Initial checks done. Running the testcase now 2025-12-16 18:06:36,026 - INFO - 2025-12-16 18:06:36,722 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59812503 2025-12-16 18:06:36,817 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59812503 2025-12-16 18:06:37,137 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59812503', 'default']} 2025-12-16 18:06:37,417 - DEBUG - Response for create_network : {'network': {'id': '715e17ae-2c04-4fa5-a1d1-41a00cc9c438', 'name': 'ctest-vn-42026470', 'tenant_id': '4b5305ae257a4774905c620e5a3c9674', 'project_id': '4b5305ae257a4774905c620e5a3c9674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59812503', 'ctest-vn-42026470'], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:06:37,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '75a44422-c6ca-49c6-bf14-88bde38962aa', 'name': '', 'tenant_id': '4b5305ae257a4774905c620e5a3c9674', 'network_id': '715e17ae-2c04-4fa5-a1d1-41a00cc9c438', 'ip_version': 4, 'cidr': '134.110.196.192/26', 'allocation_pools': [{'start': '134.110.196.194', 'end': '134.110.196.254'}], 'gateway_ip': '134.110.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.110.196.194', 'tags': [], 'project_id': '4b5305ae257a4774905c620e5a3c9674'}} 2025-12-16 18:06:37,607 - INFO - Created VN ctest-vn-42026470 2025-12-16 18:06:37,657 - DEBUG - VN ctest-vn-42026470 UUID is 715e17ae-2c04-4fa5-a1d1-41a00cc9c438 2025-12-16 18:06:37,951 - DEBUG - Response for create_network : {'network': {'id': '7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb', 'name': 'ctest-ext_vn-68723640', 'tenant_id': '4b5305ae257a4774905c620e5a3c9674', 'project_id': '4b5305ae257a4774905c620e5a3c9674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59812503', 'ctest-ext_vn-68723640'], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:06:38,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '253bbb62-b8cb-4d54-b960-848029974c8d', 'name': '', 'tenant_id': '4b5305ae257a4774905c620e5a3c9674', 'network_id': '7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb', 'ip_version': 4, 'cidr': '206.152.32.64/26', 'allocation_pools': [{'start': '206.152.32.66', 'end': '206.152.32.126'}], 'gateway_ip': '206.152.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.152.32.66', 'tags': [], 'project_id': '4b5305ae257a4774905c620e5a3c9674'}} 2025-12-16 18:06:38,111 - INFO - Created VN ctest-ext_vn-68723640 2025-12-16 18:06:38,161 - DEBUG - VN ctest-ext_vn-68723640 UUID is 7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb 2025-12-16 18:06:38,354 - DEBUG - Services list from nova: [, , ] 2025-12-16 18:06:39,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1) 2025-12-16 18:06:40,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1) 2025-12-16 18:06:40,510 - INFO - Setting gateway for router f227daeb-0b4e-4aca-b13f-d6567cd952a4 to network 7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb 2025-12-16 18:06:40,565 - INFO - Adding interface with subnet_id 75a44422-c6ca-49c6-bf14-88bde38962aa, port_id None to router f227daeb-0b4e-4aca-b13f-d6567cd952a4 2025-12-16 18:06:40,911 - INFO - Waiting for VM ctest-TestRoutersBasic-59812503-81791891 to be up.. 2025-12-16 18:06:41,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-16 18:06:46,094 - DEBUG - VM is in ACTIVE state now 2025-12-16 18:06:46,095 - INFO - VM name : ctest-TestRoutersBasic-59812503-81791891 2025-12-16 18:06:46,166 - DEBUG - VM ctest-TestRoutersBasic-59812503-81791891 ID is bd2b7afa-ae88-47a8-973b-9a3ba1edfef3 2025-12-16 18:06:46,189 - DEBUG - VM ctest-TestRoutersBasic-59812503-81791891 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1 2025-12-16 18:06:46,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd2b7afa-ae88-47a8-973b-9a3ba1edfef3 2025-12-16 18:06:46,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd2b7afa-ae88-47a8-973b-9a3ba1edfef3 2025-12-16 18:06:46,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/af9ee506-1979-44e9-994f-69d189be0007 2025-12-16 18:06:49,839 - 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-12-16 18:06:49,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59812503-81791891 failed! 2025-12-16 18:06:49,893 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59812503:ctest-vn-42026470 is 134.110.196.193 and allocation pool is NOT set 2025-12-16 18:06:51,956 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.386/1.767/3.148/1.381 ms') 2025-12-16 18:06:51,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59812503-81791891 passed 2025-12-16 18:06:52,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:06:52,105 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59812503-81791891, IP 134.110.196.195, Port 22 2025-12-16 18:06:52,260 - DEBUG - VM ctest-TestRoutersBasic-59812503-81791891 is ready for SSH connections 2025-12-16 18:06:52,260 - INFO - Waiting for VM ctest-TestRoutersBasic-59812503-30683625 to be up.. 2025-12-16 18:06:52,331 - DEBUG - VM is in ACTIVE state now 2025-12-16 18:06:52,331 - INFO - VM name : ctest-TestRoutersBasic-59812503-30683625 2025-12-16 18:06:52,403 - DEBUG - VM ctest-TestRoutersBasic-59812503-30683625 ID is 760387cc-c3e6-4569-bfdc-1543859068e0 2025-12-16 18:06:52,404 - DEBUG - VM ctest-TestRoutersBasic-59812503-30683625 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1 2025-12-16 18:06:52,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/760387cc-c3e6-4569-bfdc-1543859068e0 2025-12-16 18:06:52,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6420366-7929-49ed-b324-c20a0dbdffc5 2025-12-16 18:06:53,718 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.829 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.829/2.410/3.992/1.581 ms') 2025-12-16 18:06:53,718 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59812503-30683625 passed 2025-12-16 18:06:53,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:06:53,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59812503-30683625, IP 206.152.32.67, Port 22 2025-12-16 18:06:54,028 - DEBUG - VM ctest-TestRoutersBasic-59812503-30683625 is ready for SSH connections 2025-12-16 18:06:54,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:06:54,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.152.32.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-16 18:06:54,029 - DEBUG - ping -s 56 -c 3 -W 1 206.152.32.67 2025-12-16 18:06:57,702 - DEBUG - PING 206.152.32.67 (206.152.32.67): 56 data bytes 64 bytes from 206.152.32.67: seq=0 ttl=62 time=6.529 ms 64 bytes from 206.152.32.67: seq=1 ttl=62 time=0.785 ms 64 bytes from 206.152.32.67: seq=2 ttl=62 time=1.074 ms --- 206.152.32.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/2.796/6.529 ms 2025-12-16 18:06:57,702 - INFO - Ping to IP 206.152.32.67 from VM ctest-TestRoutersBasic-59812503-81791891 passed 2025-12-16 18:06:57,702 - INFO - Deleting interface with subnet_id 75a44422-c6ca-49c6-bf14-88bde38962aa, port_id None from router f227daeb-0b4e-4aca-b13f-d6567cd952a4 2025-12-16 18:06:57,886 - INFO - Deleting VM ctest-TestRoutersBasic-59812503-30683625 2025-12-16 18:06:57,956 - INFO - Deleting VM ctest-TestRoutersBasic-59812503-81791891 2025-12-16 18:06:58,029 - INFO - Deleting VN ctest-ext_vn-68723640 2025-12-16 18:06:58,097 - DEBUG - VN 7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb still in use: Unable to complete operation on network 7aaeee08-ea8f-4c42-a6c7-dc1b1bd054cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a47bb0f-d579-406a-afc2-ef2571adc9c6'] 2025-12-16 18:06:58,097 - WARNING - Deleting VN ctest-ext_vn-68723640 failed..Will retry 2025-12-16 18:07:00,195 - DEBUG - Response for deleting network () 2025-12-16 18:07:00,195 - INFO - Deleting VN ctest-vn-42026470 2025-12-16 18:07:00,302 - DEBUG - Response for deleting network () 2025-12-16 18:07:00,567 - DEBUG - No XMPP flaps were noticed during the test
2025-12-16 18:07:00,567 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-16 18:07:00,567 - INFO - -------------------------------------------------------------------------------- 2025-12-16 18:07:01,243 - INFO - Deleted project: ctest-TestRoutersBasic-59812503, ID : 4b5305ae-257a-4774-905c-620e5a3c9674