2026-01-04 03:59:39,782 - INFO - Domain Default found not creating 2026-01-04 03:59:39,979 - INFO - Project ctest-TestRoutersBasic-53164933 not found, creating it 2026-01-04 03:59:40,515 - INFO - Created Project:ctest-TestRoutersBasic-53164933, ID : 0de52060-0546-4caa-9271-8a79e382344c 2026-01-04 03:59:42,081 - INFO - ================================================================================ 2026-01-04 03:59:42,082 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-04 03:59:42,082 - 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 2026-01-04 03:59:42,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-04 03:59:42,346 - INFO - Initial checks done. Running the testcase now 2026-01-04 03:59:42,346 - INFO - 2026-01-04 03:59:43,076 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53164933 2026-01-04 03:59:43,170 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53164933 2026-01-04 03:59:43,494 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53164933', 'default']} 2026-01-04 03:59:43,781 - DEBUG - Response for create_network : {'network': {'id': 'd21a7a92-3a6a-4b51-bf7e-757c4ecb8579', 'name': 'ctest-vn-83006488', 'tenant_id': '0de5206005464caa92718a79e382344c', 'project_id': '0de5206005464caa92718a79e382344c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53164933', 'ctest-vn-83006488'], 'port_security_enabled': True, 'description': ''}} 2026-01-04 03:59:44,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eb98560-7802-4b9d-8895-9ec6b519643b', 'name': '', 'tenant_id': '0de5206005464caa92718a79e382344c', 'network_id': 'd21a7a92-3a6a-4b51-bf7e-757c4ecb8579', 'ip_version': 4, 'cidr': '216.189.95.64/26', 'allocation_pools': [{'start': '216.189.95.66', 'end': '216.189.95.126'}], 'gateway_ip': '216.189.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.189.95.66', 'tags': [], 'project_id': '0de5206005464caa92718a79e382344c'}} 2026-01-04 03:59:44,034 - INFO - Created VN ctest-vn-83006488 2026-01-04 03:59:44,086 - DEBUG - VN ctest-vn-83006488 UUID is d21a7a92-3a6a-4b51-bf7e-757c4ecb8579 2026-01-04 03:59:44,426 - DEBUG - Response for create_network : {'network': {'id': '192addf7-f777-485b-9388-c291ba75f40c', 'name': 'ctest-ext_vn-78002288', 'tenant_id': '0de5206005464caa92718a79e382344c', 'project_id': '0de5206005464caa92718a79e382344c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53164933', 'ctest-ext_vn-78002288'], 'port_security_enabled': True, 'description': ''}} 2026-01-04 03:59:44,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '76e1a7a5-6917-4472-bf0b-5aa11e509715', 'name': '', 'tenant_id': '0de5206005464caa92718a79e382344c', 'network_id': '192addf7-f777-485b-9388-c291ba75f40c', 'ip_version': 4, 'cidr': '108.243.64.0/26', 'allocation_pools': [{'start': '108.243.64.2', 'end': '108.243.64.62'}], 'gateway_ip': '108.243.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.243.64.2', 'tags': [], 'project_id': '0de5206005464caa92718a79e382344c'}} 2026-01-04 03:59:44,652 - INFO - Created VN ctest-ext_vn-78002288 2026-01-04 03:59:44,706 - DEBUG - VN ctest-ext_vn-78002288 UUID is 192addf7-f777-485b-9388-c291ba75f40c 2026-01-04 03:59:44,880 - DEBUG - Services list from nova: [, , ] 2026-01-04 03:59:45,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4955-1) 2026-01-04 03:59:47,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4955-1) 2026-01-04 03:59:47,131 - INFO - Setting gateway for router c1129917-6930-4566-ad28-95f27080db98 to network 192addf7-f777-485b-9388-c291ba75f40c 2026-01-04 03:59:47,185 - INFO - Adding interface with subnet_id 0eb98560-7802-4b9d-8895-9ec6b519643b, port_id None to router c1129917-6930-4566-ad28-95f27080db98 2026-01-04 03:59:47,518 - INFO - Waiting for VM ctest-TestRoutersBasic-53164933-98782333 to be up.. 2026-01-04 03:59:47,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-04 03:59:52,733 - DEBUG - VM is in ACTIVE state now 2026-01-04 03:59:52,733 - INFO - VM name : ctest-TestRoutersBasic-53164933-98782333 2026-01-04 03:59:52,806 - DEBUG - VM ctest-TestRoutersBasic-53164933-98782333 ID is 5eb5dc3d-af9f-454c-97ec-d46713571580 2026-01-04 03:59:52,823 - DEBUG - VM ctest-TestRoutersBasic-53164933-98782333 launched on Node cn-jenkins-deploy-platform-ansible-os-4955-1 2026-01-04 03:59:52,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5eb5dc3d-af9f-454c-97ec-d46713571580 2026-01-04 03:59:53,204 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5eb5dc3d-af9f-454c-97ec-d46713571580 2026-01-04 03:59:53,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/254c6de2-ec59-4a8b-a508-bc49f9c86a15 2026-01-04 03:59:56,497 - 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 1005ms') 2026-01-04 03:59:56,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53164933-98782333 failed! 2026-01-04 03:59:56,550 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53164933:ctest-vn-83006488 is 216.189.95.65 and allocation pool is NOT set 2026-01-04 03:59:58,609 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.100/2.633/4.167/1.533 ms') 2026-01-04 03:59:58,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53164933-98782333 passed 2026-01-04 03:59:58,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 03:59:58,763 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53164933-98782333, IP 216.189.95.67, Port 22 2026-01-04 03:59:58,913 - DEBUG - VM ctest-TestRoutersBasic-53164933-98782333 is ready for SSH connections 2026-01-04 03:59:58,913 - INFO - Waiting for VM ctest-TestRoutersBasic-53164933-65008897 to be up.. 2026-01-04 03:59:58,997 - DEBUG - VM is in ACTIVE state now 2026-01-04 03:59:58,998 - INFO - VM name : ctest-TestRoutersBasic-53164933-65008897 2026-01-04 03:59:59,069 - DEBUG - VM ctest-TestRoutersBasic-53164933-65008897 ID is 74cb588e-6e9b-4e54-8018-192367841167 2026-01-04 03:59:59,069 - DEBUG - VM ctest-TestRoutersBasic-53164933-65008897 launched on Node cn-jenkins-deploy-platform-ansible-os-4955-1 2026-01-04 03:59:59,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74cb588e-6e9b-4e54-8018-192367841167 2026-01-04 03:59:59,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c109f2fe-e557-4160-b3f2-0220df264305 2026-01-04 04:00:00,377 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.930/3.308/1.378 ms') 2026-01-04 04:00:00,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53164933-65008897 passed 2026-01-04 04:00:00,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:00,531 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53164933-65008897, IP 108.243.64.3, Port 22 2026-01-04 04:00:00,699 - DEBUG - VM ctest-TestRoutersBasic-53164933-65008897 is ready for SSH connections 2026-01-04 04:00:00,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:00,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.243.64.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-04 04:00:00,700 - DEBUG - ping -s 56 -c 3 -W 1 108.243.64.3 2026-01-04 04:00:04,475 - DEBUG - PING 108.243.64.3 (108.243.64.3): 56 data bytes 64 bytes from 108.243.64.3: seq=0 ttl=62 time=4.652 ms 64 bytes from 108.243.64.3: seq=1 ttl=62 time=0.870 ms 64 bytes from 108.243.64.3: seq=2 ttl=62 time=0.994 ms --- 108.243.64.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.172/4.652 ms 2026-01-04 04:00:04,475 - INFO - Ping to IP 108.243.64.3 from VM ctest-TestRoutersBasic-53164933-98782333 passed 2026-01-04 04:00:04,475 - INFO - Deleting interface with subnet_id 0eb98560-7802-4b9d-8895-9ec6b519643b, port_id None from router c1129917-6930-4566-ad28-95f27080db98 2026-01-04 04:00:04,638 - INFO - Deleting VM ctest-TestRoutersBasic-53164933-65008897 2026-01-04 04:00:04,695 - INFO - Deleting VM ctest-TestRoutersBasic-53164933-98782333 2026-01-04 04:00:04,769 - INFO - Deleting VN ctest-ext_vn-78002288 2026-01-04 04:00:04,840 - DEBUG - VN 192addf7-f777-485b-9388-c291ba75f40c still in use: Unable to complete operation on network 192addf7-f777-485b-9388-c291ba75f40c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91638a2e-67fb-404b-b7ee-4944c679f9a8'] 2026-01-04 04:00:04,840 - WARNING - Deleting VN ctest-ext_vn-78002288 failed..Will retry 2026-01-04 04:00:06,940 - DEBUG - Response for deleting network () 2026-01-04 04:00:06,940 - INFO - Deleting VN ctest-vn-83006488 2026-01-04 04:00:07,046 - DEBUG - Response for deleting network () 2026-01-04 04:00:07,304 - DEBUG - No XMPP flaps were noticed during the test
2026-01-04 04:00:07,305 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-04 04:00:07,305 - INFO - -------------------------------------------------------------------------------- 2026-01-04 04:00:07,988 - INFO - Deleted project: ctest-TestRoutersBasic-53164933, ID : 0de52060-0546-4caa-9271-8a79e382344c