2025-08-18 15:37:43,612 - INFO - Domain Default found not creating 2025-08-18 15:37:43,768 - INFO - Project ctest-TestRoutersBasic-49324927 not found, creating it 2025-08-18 15:37:44,212 - INFO - Created Project:ctest-TestRoutersBasic-49324927, ID : c0c5618a-69ed-4c34-9bfe-2811bb8ae005 2025-08-18 15:37:45,678 - INFO - ================================================================================ 2025-08-18 15:37:45,679 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 15:37:45,679 - 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-08-18 15:37:45,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 15:37:45,931 - INFO - Initial checks done. Running the testcase now 2025-08-18 15:37:45,931 - INFO - 2025-08-18 15:37:46,707 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49324927 2025-08-18 15:37:46,802 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49324927 2025-08-18 15:37:47,125 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49324927', 'default']} 2025-08-18 15:37:47,436 - DEBUG - Response for create_network : {'network': {'id': '781b7adf-5054-471e-a42f-d9838e5abdad', 'name': 'ctest-vn-52626317', 'tenant_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'project_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49324927', 'ctest-vn-52626317'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:37:47,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ee6df37-c5ae-489b-8fda-452735f31a68', 'name': '', 'tenant_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'network_id': '781b7adf-5054-471e-a42f-d9838e5abdad', 'ip_version': 4, 'cidr': '214.76.44.128/26', 'allocation_pools': [{'start': '214.76.44.130', 'end': '214.76.44.190'}], 'gateway_ip': '214.76.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.76.44.130', 'tags': [], 'project_id': 'c0c5618a69ed4c349bfe2811bb8ae005'}} 2025-08-18 15:37:47,624 - INFO - Created VN ctest-vn-52626317 2025-08-18 15:37:47,678 - DEBUG - VN ctest-vn-52626317 UUID is 781b7adf-5054-471e-a42f-d9838e5abdad 2025-08-18 15:37:48,041 - DEBUG - Response for create_network : {'network': {'id': 'e64ba966-b3f3-4b0a-b0e7-4070462308a7', 'name': 'ctest-ext_vn-60169338', 'tenant_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'project_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49324927', 'ctest-ext_vn-60169338'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:37:48,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b685234c-db0b-4222-83d4-f1eeec5c5015', 'name': '', 'tenant_id': 'c0c5618a69ed4c349bfe2811bb8ae005', 'network_id': 'e64ba966-b3f3-4b0a-b0e7-4070462308a7', 'ip_version': 4, 'cidr': '112.94.73.64/26', 'allocation_pools': [{'start': '112.94.73.66', 'end': '112.94.73.126'}], 'gateway_ip': '112.94.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.94.73.66', 'tags': [], 'project_id': 'c0c5618a69ed4c349bfe2811bb8ae005'}} 2025-08-18 15:37:48,255 - INFO - Created VN ctest-ext_vn-60169338 2025-08-18 15:37:48,305 - DEBUG - VN ctest-ext_vn-60169338 UUID is e64ba966-b3f3-4b0a-b0e7-4070462308a7 2025-08-18 15:37:48,495 - DEBUG - Services list from nova: [, , ] 2025-08-18 15:37:49,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1) 2025-08-18 15:37:50,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1) 2025-08-18 15:37:50,922 - INFO - Setting gateway for router dada0997-bbfd-4968-bb34-a26991dcb7e4 to network e64ba966-b3f3-4b0a-b0e7-4070462308a7 2025-08-18 15:37:50,988 - INFO - Adding interface with subnet_id 6ee6df37-c5ae-489b-8fda-452735f31a68, port_id None to router dada0997-bbfd-4968-bb34-a26991dcb7e4 2025-08-18 15:37:51,275 - INFO - Waiting for VM ctest-TestRoutersBasic-49324927-27329335 to be up.. 2025-08-18 15:37:51,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 15:37:56,492 - DEBUG - VM is in ACTIVE state now 2025-08-18 15:37:56,492 - INFO - VM name : ctest-TestRoutersBasic-49324927-27329335 2025-08-18 15:37:56,564 - DEBUG - VM ctest-TestRoutersBasic-49324927-27329335 ID is 1c039926-1090-40fb-8057-6c540e1442c1 2025-08-18 15:37:56,582 - DEBUG - VM ctest-TestRoutersBasic-49324927-27329335 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1. 2025-08-18 15:37:56,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1c039926-1090-40fb-8057-6c540e1442c1 2025-08-18 15:37:56,988 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1c039926-1090-40fb-8057-6c540e1442c1 2025-08-18 15:37:57,017 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/627704cc-1161-4730-b03e-91d719ad0c62 2025-08-18 15:38:00,296 - 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 1035ms') 2025-08-18 15:38:00,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49324927-27329335 failed! 2025-08-18 15:38:00,350 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49324927:ctest-vn-52626317 is 214.76.44.129 and allocation pool is NOT set 2025-08-18 15:38:02,406 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.408/1.996/3.584/1.588 ms') 2025-08-18 15:38:02,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49324927-27329335 passed 2025-08-18 15:38:02,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:02,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49324927-27329335, IP 214.76.44.131, Port 22 2025-08-18 15:38:02,713 - DEBUG - VM ctest-TestRoutersBasic-49324927-27329335 is ready for SSH connections 2025-08-18 15:38:02,713 - INFO - Waiting for VM ctest-TestRoutersBasic-49324927-07450051 to be up.. 2025-08-18 15:38:02,796 - DEBUG - VM is in ACTIVE state now 2025-08-18 15:38:02,796 - INFO - VM name : ctest-TestRoutersBasic-49324927-07450051 2025-08-18 15:38:02,884 - DEBUG - VM ctest-TestRoutersBasic-49324927-07450051 ID is 156fb1dd-1eba-4b95-bc05-3f8451c982bb 2025-08-18 15:38:02,884 - DEBUG - VM ctest-TestRoutersBasic-49324927-07450051 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1. 2025-08-18 15:38:02,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/156fb1dd-1eba-4b95-bc05-3f8451c982bb 2025-08-18 15:38:02,974 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4a9bdb3-b5fc-42ad-9f91-53b8795fe343 2025-08-18 15:38:04,206 - 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=5.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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 = 1.990/3.703/5.417/1.713 ms') 2025-08-18 15:38:04,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49324927-07450051 passed 2025-08-18 15:38:04,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:04,358 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49324927-07450051, IP 112.94.73.67, Port 22 2025-08-18 15:38:04,513 - DEBUG - VM ctest-TestRoutersBasic-49324927-07450051 is ready for SSH connections 2025-08-18 15:38:04,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:04,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.94.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 15:38:04,514 - DEBUG - ping -s 56 -c 3 -W 1 112.94.73.67 2025-08-18 15:38:08,570 - DEBUG - PING 112.94.73.67 (112.94.73.67): 56 data bytes 64 bytes from 112.94.73.67: seq=0 ttl=62 time=5.054 ms 64 bytes from 112.94.73.67: seq=1 ttl=62 time=0.876 ms 64 bytes from 112.94.73.67: seq=2 ttl=62 time=0.796 ms --- 112.94.73.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.242/5.054 ms 2025-08-18 15:38:08,570 - INFO - Ping to IP 112.94.73.67 from VM ctest-TestRoutersBasic-49324927-27329335 passed 2025-08-18 15:38:08,570 - INFO - Deleting interface with subnet_id 6ee6df37-c5ae-489b-8fda-452735f31a68, port_id None from router dada0997-bbfd-4968-bb34-a26991dcb7e4 2025-08-18 15:38:08,790 - INFO - Deleting VM ctest-TestRoutersBasic-49324927-07450051 2025-08-18 15:38:08,864 - INFO - Deleting VM ctest-TestRoutersBasic-49324927-27329335 2025-08-18 15:38:08,952 - INFO - Deleting VN ctest-ext_vn-60169338 2025-08-18 15:38:09,024 - DEBUG - VN e64ba966-b3f3-4b0a-b0e7-4070462308a7 still in use: Unable to complete operation on network e64ba966-b3f3-4b0a-b0e7-4070462308a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f52fb466-3c20-44bf-a8d6-f6c03922f345'] 2025-08-18 15:38:09,024 - WARNING - Deleting VN ctest-ext_vn-60169338 failed..Will retry 2025-08-18 15:38:11,118 - DEBUG - Response for deleting network () 2025-08-18 15:38:11,119 - INFO - Deleting VN ctest-vn-52626317 2025-08-18 15:38:11,231 - DEBUG - Response for deleting network () 2025-08-18 15:38:11,494 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 15:38:11,494 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-18 15:38:11,494 - INFO - -------------------------------------------------------------------------------- 2025-08-18 15:38:12,215 - INFO - Deleted project: ctest-TestRoutersBasic-49324927, ID : c0c5618a-69ed-4c34-9bfe-2811bb8ae005