2025-09-15 02:01:26,215 - INFO - Domain Default found not creating 2025-09-15 02:01:26,373 - INFO - Project ctest-TestRoutersBasic-77623585 not found, creating it 2025-09-15 02:01:26,842 - INFO - Created Project:ctest-TestRoutersBasic-77623585, ID : e96b3d58-6fa9-47e3-a48b-fcb25aabcfb9 2025-09-15 02:01:28,260 - INFO - ================================================================================ 2025-09-15 02:01:28,260 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 02:01:28,261 - 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-09-15 02:01:28,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 02:01:28,521 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:01:28,521 - INFO - 2025-09-15 02:01:29,228 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77623585 2025-09-15 02:01:29,325 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77623585 2025-09-15 02:01:29,649 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77623585', 'default']} 2025-09-15 02:01:29,936 - DEBUG - Response for create_network : {'network': {'id': 'a970e250-b2fa-4b1c-ad81-224c2607f385', 'name': 'ctest-vn-18576085', 'tenant_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'project_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77623585', 'ctest-vn-18576085'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:01:30,121 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2d8ca00-58e5-4273-af27-24a049a05acf', 'name': '', 'tenant_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'network_id': 'a970e250-b2fa-4b1c-ad81-224c2607f385', 'ip_version': 4, 'cidr': '209.74.160.192/26', 'allocation_pools': [{'start': '209.74.160.194', 'end': '209.74.160.254'}], 'gateway_ip': '209.74.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.74.160.194', 'tags': [], 'project_id': 'e96b3d586fa947e3a48bfcb25aabcfb9'}} 2025-09-15 02:01:30,138 - INFO - Created VN ctest-vn-18576085 2025-09-15 02:01:30,189 - DEBUG - VN ctest-vn-18576085 UUID is a970e250-b2fa-4b1c-ad81-224c2607f385 2025-09-15 02:01:30,534 - DEBUG - Response for create_network : {'network': {'id': '25ee0b53-04e4-43c5-8c91-829d31053fde', 'name': 'ctest-ext_vn-23897784', 'tenant_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'project_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77623585', 'ctest-ext_vn-23897784'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:01:30,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f17e5f0c-8e36-4cab-962f-6fc9d3c02ff4', 'name': '', 'tenant_id': 'e96b3d586fa947e3a48bfcb25aabcfb9', 'network_id': '25ee0b53-04e4-43c5-8c91-829d31053fde', 'ip_version': 4, 'cidr': '163.172.46.64/26', 'allocation_pools': [{'start': '163.172.46.66', 'end': '163.172.46.126'}], 'gateway_ip': '163.172.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.172.46.66', 'tags': [], 'project_id': 'e96b3d586fa947e3a48bfcb25aabcfb9'}} 2025-09-15 02:01:30,721 - INFO - Created VN ctest-ext_vn-23897784 2025-09-15 02:01:30,773 - DEBUG - VN ctest-ext_vn-23897784 UUID is 25ee0b53-04e4-43c5-8c91-829d31053fde 2025-09-15 02:01:30,985 - DEBUG - Services list from nova: [, , ] 2025-09-15 02:01:32,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:01:33,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:01:33,207 - INFO - Setting gateway for router 373801ef-f585-4c8e-906d-6015342c9acc to network 25ee0b53-04e4-43c5-8c91-829d31053fde 2025-09-15 02:01:33,263 - INFO - Adding interface with subnet_id c2d8ca00-58e5-4273-af27-24a049a05acf, port_id None to router 373801ef-f585-4c8e-906d-6015342c9acc 2025-09-15 02:01:33,608 - INFO - Waiting for VM ctest-TestRoutersBasic-77623585-41331465 to be up.. 2025-09-15 02:01:33,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:01:38,811 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:01:38,811 - INFO - VM name : ctest-TestRoutersBasic-77623585-41331465 2025-09-15 02:01:38,880 - DEBUG - VM ctest-TestRoutersBasic-77623585-41331465 ID is bb59ccb3-c4c6-4fae-868a-0956dff2e7a6 2025-09-15 02:01:38,898 - DEBUG - VM ctest-TestRoutersBasic-77623585-41331465 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:01:38,967 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb59ccb3-c4c6-4fae-868a-0956dff2e7a6 2025-09-15 02:01:39,264 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb59ccb3-c4c6-4fae-868a-0956dff2e7a6 2025-09-15 02:01:39,295 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef3889a2-eb9c-43e6-94d3-626f3655d406 2025-09-15 02:01:42,576 - 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 1034ms') 2025-09-15 02:01:42,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77623585-41331465 failed! 2025-09-15 02:01:42,629 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77623585:ctest-vn-18576085 is 209.74.160.193 and allocation pool is NOT set 2025-09-15 02:01:44,685 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.848/3.247/1.398 ms') 2025-09-15 02:01:44,686 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77623585-41331465 passed 2025-09-15 02:01:44,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:01:44,837 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77623585-41331465, IP 209.74.160.195, Port 22 2025-09-15 02:01:44,993 - DEBUG - VM ctest-TestRoutersBasic-77623585-41331465 is ready for SSH connections 2025-09-15 02:01:44,993 - INFO - Waiting for VM ctest-TestRoutersBasic-77623585-23481274 to be up.. 2025-09-15 02:01:45,062 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:01:45,062 - INFO - VM name : ctest-TestRoutersBasic-77623585-23481274 2025-09-15 02:01:45,127 - DEBUG - VM ctest-TestRoutersBasic-77623585-23481274 ID is db66412f-41de-441b-b4fb-7cdd0be1ec58 2025-09-15 02:01:45,127 - DEBUG - VM ctest-TestRoutersBasic-77623585-23481274 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:01:45,196 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db66412f-41de-441b-b4fb-7cdd0be1ec58 2025-09-15 02:01:45,203 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c9ce15c5-3bc4-42f2-bb39-f4730b61f19e 2025-09-15 02:01:46,443 - 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.479 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.479/1.894/3.310/1.415 ms') 2025-09-15 02:01:46,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77623585-23481274 passed 2025-09-15 02:01:46,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:01:46,589 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77623585-23481274, IP 163.172.46.67, Port 22 2025-09-15 02:01:46,745 - DEBUG - VM ctest-TestRoutersBasic-77623585-23481274 is ready for SSH connections 2025-09-15 02:01:46,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:01:46,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.172.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 02:01:46,745 - DEBUG - ping -s 56 -c 3 -W 1 163.172.46.67 2025-09-15 02:01:50,755 - DEBUG - PING 163.172.46.67 (163.172.46.67): 56 data bytes 64 bytes from 163.172.46.67: seq=0 ttl=62 time=4.588 ms 64 bytes from 163.172.46.67: seq=1 ttl=62 time=0.801 ms 64 bytes from 163.172.46.67: seq=2 ttl=62 time=0.988 ms --- 163.172.46.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/2.125/4.588 ms 2025-09-15 02:01:50,755 - INFO - Ping to IP 163.172.46.67 from VM ctest-TestRoutersBasic-77623585-41331465 passed 2025-09-15 02:01:50,755 - INFO - Deleting interface with subnet_id c2d8ca00-58e5-4273-af27-24a049a05acf, port_id None from router 373801ef-f585-4c8e-906d-6015342c9acc 2025-09-15 02:01:50,980 - INFO - Deleting VM ctest-TestRoutersBasic-77623585-23481274 2025-09-15 02:01:51,048 - INFO - Deleting VM ctest-TestRoutersBasic-77623585-41331465 2025-09-15 02:01:51,124 - INFO - Deleting VN ctest-ext_vn-23897784 2025-09-15 02:01:51,192 - DEBUG - VN 25ee0b53-04e4-43c5-8c91-829d31053fde still in use: Unable to complete operation on network 25ee0b53-04e4-43c5-8c91-829d31053fde. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c137ab76-8cc6-4261-900f-d54ce6dce78e'] 2025-09-15 02:01:51,192 - WARNING - Deleting VN ctest-ext_vn-23897784 failed..Will retry 2025-09-15 02:01:53,289 - DEBUG - Response for deleting network () 2025-09-15 02:01:53,289 - INFO - Deleting VN ctest-vn-18576085 2025-09-15 02:01:53,397 - DEBUG - Response for deleting network () 2025-09-15 02:01:53,650 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:01:53,650 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-15 02:01:53,650 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:01:54,366 - INFO - Deleted project: ctest-TestRoutersBasic-77623585, ID : e96b3d58-6fa9-47e3-a48b-fcb25aabcfb9