2025-12-05 08:24:13,589 - INFO - Domain Default found not creating 2025-12-05 08:24:13,754 - INFO - Project ctest-TestRoutersBasic-33033004 not found, creating it 2025-12-05 08:24:14,214 - INFO - Created Project:ctest-TestRoutersBasic-33033004, ID : 2fc0f132-5970-42e5-9b5b-afa7fd8055ae 2025-12-05 08:24:15,750 - INFO - ================================================================================ 2025-12-05 08:24:15,751 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-05 08:24:15,751 - 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-05 08:24:16,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-12-05 08:24:16,012 - INFO - Initial checks done. Running the testcase now 2025-12-05 08:24:16,012 - INFO - 2025-12-05 08:24:16,736 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33033004 2025-12-05 08:24:16,830 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33033004 2025-12-05 08:24:17,154 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33033004', 'default']} 2025-12-05 08:24:17,445 - DEBUG - Response for create_network : {'network': {'id': 'ebcad88d-1199-4840-ae17-1550c9746af6', 'name': 'ctest-vn-16569519', 'tenant_id': '2fc0f132597042e59b5bafa7fd8055ae', 'project_id': '2fc0f132597042e59b5bafa7fd8055ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33033004', 'ctest-vn-16569519'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:24:17,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '85f8157b-baf4-44e5-b824-5eafbf7fb5ce', 'name': '', 'tenant_id': '2fc0f132597042e59b5bafa7fd8055ae', 'network_id': 'ebcad88d-1199-4840-ae17-1550c9746af6', 'ip_version': 4, 'cidr': '151.39.235.0/26', 'allocation_pools': [{'start': '151.39.235.2', 'end': '151.39.235.62'}], 'gateway_ip': '151.39.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.39.235.2', 'tags': [], 'project_id': '2fc0f132597042e59b5bafa7fd8055ae'}} 2025-12-05 08:24:17,613 - INFO - Created VN ctest-vn-16569519 2025-12-05 08:24:17,666 - DEBUG - VN ctest-vn-16569519 UUID is ebcad88d-1199-4840-ae17-1550c9746af6 2025-12-05 08:24:18,001 - DEBUG - Response for create_network : {'network': {'id': '69f70eaa-90b5-4a7a-810e-ab9fbb621846', 'name': 'ctest-ext_vn-02022083', 'tenant_id': '2fc0f132597042e59b5bafa7fd8055ae', 'project_id': '2fc0f132597042e59b5bafa7fd8055ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33033004', 'ctest-ext_vn-02022083'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:24:18,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c04782ca-7071-4535-bf97-8371e65dfb9e', 'name': '', 'tenant_id': '2fc0f132597042e59b5bafa7fd8055ae', 'network_id': '69f70eaa-90b5-4a7a-810e-ab9fbb621846', 'ip_version': 4, 'cidr': '206.94.235.128/26', 'allocation_pools': [{'start': '206.94.235.130', 'end': '206.94.235.190'}], 'gateway_ip': '206.94.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.94.235.130', 'tags': [], 'project_id': '2fc0f132597042e59b5bafa7fd8055ae'}} 2025-12-05 08:24:18,190 - INFO - Created VN ctest-ext_vn-02022083 2025-12-05 08:24:18,242 - DEBUG - VN ctest-ext_vn-02022083 UUID is 69f70eaa-90b5-4a7a-810e-ab9fbb621846 2025-12-05 08:24:18,440 - DEBUG - Services list from nova: [, , ] 2025-12-05 08:24:19,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1) 2025-12-05 08:24:20,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1) 2025-12-05 08:24:20,764 - INFO - Setting gateway for router 6e373d94-536c-4c9c-a2d8-02355498d88d to network 69f70eaa-90b5-4a7a-810e-ab9fbb621846 2025-12-05 08:24:20,844 - INFO - Adding interface with subnet_id 85f8157b-baf4-44e5-b824-5eafbf7fb5ce, port_id None to router 6e373d94-536c-4c9c-a2d8-02355498d88d 2025-12-05 08:24:21,188 - INFO - Waiting for VM ctest-TestRoutersBasic-33033004-01815235 to be up.. 2025-12-05 08:24:21,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-05 08:24:26,457 - DEBUG - VM is in ACTIVE state now 2025-12-05 08:24:26,457 - INFO - VM name : ctest-TestRoutersBasic-33033004-01815235 2025-12-05 08:24:26,527 - DEBUG - VM ctest-TestRoutersBasic-33033004-01815235 ID is c3152fbc-9e99-4f11-b7e1-f47b204fcfb1 2025-12-05 08:24:26,546 - DEBUG - VM ctest-TestRoutersBasic-33033004-01815235 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1 2025-12-05 08:24:26,631 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c3152fbc-9e99-4f11-b7e1-f47b204fcfb1 2025-12-05 08:24:26,925 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c3152fbc-9e99-4f11-b7e1-f47b204fcfb1 2025-12-05 08:24:26,960 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c5e0a0c1-c450-4f1d-8732-3a0d9d9a6271 2025-12-05 08:24:30,216 - 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 1023ms') 2025-12-05 08:24:30,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33033004-01815235 failed! 2025-12-05 08:24:30,270 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33033004:ctest-vn-16569519 is 151.39.235.1 and allocation pool is NOT set 2025-12-05 08:24:32,331 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.589/2.748/1.158 ms') 2025-12-05 08:24:32,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33033004-01815235 passed 2025-12-05 08:24:32,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:24:32,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33033004-01815235, IP 151.39.235.3, Port 22 2025-12-05 08:24:32,641 - DEBUG - VM ctest-TestRoutersBasic-33033004-01815235 is ready for SSH connections 2025-12-05 08:24:32,642 - INFO - Waiting for VM ctest-TestRoutersBasic-33033004-89887959 to be up.. 2025-12-05 08:24:32,724 - DEBUG - VM is in ACTIVE state now 2025-12-05 08:24:32,724 - INFO - VM name : ctest-TestRoutersBasic-33033004-89887959 2025-12-05 08:24:32,799 - DEBUG - VM ctest-TestRoutersBasic-33033004-89887959 ID is e083da57-7d4b-43bb-a306-5973868874b6 2025-12-05 08:24:32,799 - DEBUG - VM ctest-TestRoutersBasic-33033004-89887959 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1 2025-12-05 08:24:32,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e083da57-7d4b-43bb-a306-5973868874b6 2025-12-05 08:24:32,879 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6e68ff20-0e70-4e9b-aaab-9428dabbbc4c 2025-12-05 08:24:34,110 - 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=4.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.903 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.903/2.646/4.389/1.743 ms') 2025-12-05 08:24:34,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33033004-89887959 passed 2025-12-05 08:24:34,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:24:34,258 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33033004-89887959, IP 206.94.235.131, Port 22 2025-12-05 08:24:34,413 - DEBUG - VM ctest-TestRoutersBasic-33033004-89887959 is ready for SSH connections 2025-12-05 08:24:34,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:24:34,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.94.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-05 08:24:34,414 - DEBUG - ping -s 56 -c 3 -W 1 206.94.235.131 2025-12-05 08:24:38,400 - DEBUG - PING 206.94.235.131 (206.94.235.131): 56 data bytes 64 bytes from 206.94.235.131: seq=0 ttl=62 time=6.951 ms 64 bytes from 206.94.235.131: seq=1 ttl=62 time=1.075 ms 64 bytes from 206.94.235.131: seq=2 ttl=62 time=0.900 ms --- 206.94.235.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/2.975/6.951 ms 2025-12-05 08:24:38,400 - INFO - Ping to IP 206.94.235.131 from VM ctest-TestRoutersBasic-33033004-01815235 passed 2025-12-05 08:24:38,400 - INFO - Deleting interface with subnet_id 85f8157b-baf4-44e5-b824-5eafbf7fb5ce, port_id None from router 6e373d94-536c-4c9c-a2d8-02355498d88d 2025-12-05 08:24:38,569 - INFO - Deleting VM ctest-TestRoutersBasic-33033004-89887959 2025-12-05 08:24:38,632 - INFO - Deleting VM ctest-TestRoutersBasic-33033004-01815235 2025-12-05 08:24:38,712 - INFO - Deleting VN ctest-ext_vn-02022083 2025-12-05 08:24:38,773 - DEBUG - VN 69f70eaa-90b5-4a7a-810e-ab9fbb621846 still in use: Unable to complete operation on network 69f70eaa-90b5-4a7a-810e-ab9fbb621846. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f8dc474-4559-46bb-a8f1-f516b1f71455'] 2025-12-05 08:24:38,773 - WARNING - Deleting VN ctest-ext_vn-02022083 failed..Will retry 2025-12-05 08:24:40,859 - DEBUG - Response for deleting network () 2025-12-05 08:24:40,859 - INFO - Deleting VN ctest-vn-16569519 2025-12-05 08:24:40,947 - DEBUG - Response for deleting network () 2025-12-05 08:24:41,199 - DEBUG - No XMPP flaps were noticed during the test 2025-12-05 08:24:41,199 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-05 08:24:41,199 - INFO - -------------------------------------------------------------------------------- 2025-12-05 08:24:41,899 - INFO - Deleted project: ctest-TestRoutersBasic-33033004, ID : 2fc0f132-5970-42e5-9b5b-afa7fd8055ae