2025-03-19 19:11:44,326 - INFO - Domain Default found not creating 2025-03-19 19:11:44,477 - INFO - Project ctest-TestRoutersBasic-85011840 not found, creating it 2025-03-19 19:11:44,935 - INFO - Created Project:ctest-TestRoutersBasic-85011840, ID : 700a40a6-77dd-45fb-a7d5-775fad22cb93 2025-03-19 19:11:46,413 - INFO - ================================================================================ 2025-03-19 19:11:46,413 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-19 19:11:46,413 - 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-03-19 19:11:46,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.12': '0'}} with 2025-03-19 19:11:46,669 - INFO - Initial checks done. Running the testcase now 2025-03-19 19:11:46,669 - INFO - 2025-03-19 19:11:47,395 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85011840 2025-03-19 19:11:47,495 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85011840 2025-03-19 19:11:47,828 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85011840', 'default']} 2025-03-19 19:11:48,173 - DEBUG - Response for create_network : {'network': {'id': 'f134e96f-2ded-4878-b5d6-dfeee744a802', 'name': 'ctest-vn-62488444', 'tenant_id': '700a40a677dd45fba7d5775fad22cb93', 'project_id': '700a40a677dd45fba7d5775fad22cb93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85011840', 'ctest-vn-62488444'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:11:48,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '27263663-53b3-4a9f-acfe-893608b78d3d', 'name': '', 'tenant_id': '700a40a677dd45fba7d5775fad22cb93', 'network_id': 'f134e96f-2ded-4878-b5d6-dfeee744a802', 'ip_version': 4, 'cidr': '163.60.139.64/26', 'allocation_pools': [{'start': '163.60.139.66', 'end': '163.60.139.126'}], 'gateway_ip': '163.60.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.60.139.66', 'tags': [], 'project_id': '700a40a677dd45fba7d5775fad22cb93'}} 2025-03-19 19:11:48,374 - INFO - Created VN ctest-vn-62488444 2025-03-19 19:11:48,431 - DEBUG - VN ctest-vn-62488444 UUID is f134e96f-2ded-4878-b5d6-dfeee744a802 2025-03-19 19:11:48,817 - DEBUG - Response for create_network : {'network': {'id': '1ec0d6a7-89ed-4c0c-bd87-f78dde686765', 'name': 'ctest-ext_vn-79404308', 'tenant_id': '700a40a677dd45fba7d5775fad22cb93', 'project_id': '700a40a677dd45fba7d5775fad22cb93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85011840', 'ctest-ext_vn-79404308'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:11:49,014 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b546fbd4-0801-4a88-9b7f-483d4d64d86f', 'name': '', 'tenant_id': '700a40a677dd45fba7d5775fad22cb93', 'network_id': '1ec0d6a7-89ed-4c0c-bd87-f78dde686765', 'ip_version': 4, 'cidr': '26.43.28.128/26', 'allocation_pools': [{'start': '26.43.28.130', 'end': '26.43.28.190'}], 'gateway_ip': '26.43.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.43.28.130', 'tags': [], 'project_id': '700a40a677dd45fba7d5775fad22cb93'}} 2025-03-19 19:11:49,032 - INFO - Created VN ctest-ext_vn-79404308 2025-03-19 19:11:49,091 - DEBUG - VN ctest-ext_vn-79404308 UUID is 1ec0d6a7-89ed-4c0c-bd87-f78dde686765 2025-03-19 19:11:49,267 - DEBUG - Services list from nova: [, , ] 2025-03-19 19:11:50,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2922-1) 2025-03-19 19:11:51,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2922-1) 2025-03-19 19:11:51,754 - INFO - Setting gateway for router f1c49a55-8b53-422a-808b-86564f64f182 to network 1ec0d6a7-89ed-4c0c-bd87-f78dde686765 2025-03-19 19:11:51,844 - INFO - Adding interface with subnet_id 27263663-53b3-4a9f-acfe-893608b78d3d, port_id None to router f1c49a55-8b53-422a-808b-86564f64f182 2025-03-19 19:11:52,410 - INFO - Waiting for VM ctest-TestRoutersBasic-85011840-83829545 to be up.. 2025-03-19 19:11:52,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 19:11:57,681 - DEBUG - VM is in ACTIVE state now 2025-03-19 19:11:57,681 - INFO - VM name : ctest-TestRoutersBasic-85011840-83829545 2025-03-19 19:11:57,785 - DEBUG - VM ctest-TestRoutersBasic-85011840-83829545 ID is 6312b1e6-ac66-4c01-88f4-03254bc10598 2025-03-19 19:11:57,814 - DEBUG - VM ctest-TestRoutersBasic-85011840-83829545 launched on Node cn-jenkins-deploy-platform-ansible-os-2922-1 2025-03-19 19:11:57,918 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6312b1e6-ac66-4c01-88f4-03254bc10598 2025-03-19 19:11:58,243 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6312b1e6-ac66-4c01-88f4-03254bc10598 2025-03-19 19:11:58,284 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f006a833-b945-482d-b403-cff4fd6ff33b 2025-03-19 19:12:01,556 - 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 1007ms') 2025-03-19 19:12:01,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85011840-83829545 failed! 2025-03-19 19:12:01,611 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85011840:ctest-vn-62488444 is 163.60.139.65 and allocation pool is NOT set 2025-03-19 19:12:03,680 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.177/3.467/4.757/1.290 ms') 2025-03-19 19:12:03,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85011840-83829545 passed 2025-03-19 19:12:03,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:03,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85011840-83829545, IP 163.60.139.67, Port 22 2025-03-19 19:12:04,017 - DEBUG - VM ctest-TestRoutersBasic-85011840-83829545 is ready for SSH connections 2025-03-19 19:12:04,018 - INFO - Waiting for VM ctest-TestRoutersBasic-85011840-22619300 to be up.. 2025-03-19 19:12:04,104 - DEBUG - VM is in ACTIVE state now 2025-03-19 19:12:04,104 - INFO - VM name : ctest-TestRoutersBasic-85011840-22619300 2025-03-19 19:12:04,204 - DEBUG - VM ctest-TestRoutersBasic-85011840-22619300 ID is 0fdc0e16-2452-4b6c-9071-0dbd0eb61558 2025-03-19 19:12:04,204 - DEBUG - VM ctest-TestRoutersBasic-85011840-22619300 launched on Node cn-jenkins-deploy-platform-ansible-os-2922-1 2025-03-19 19:12:04,283 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0fdc0e16-2452-4b6c-9071-0dbd0eb61558 2025-03-19 19:12:04,292 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9ad29e9a-0f6b-4179-97c2-284f50a2c462 2025-03-19 19:12:05,533 - 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=6.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 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.293/3.687/6.081/2.394 ms') 2025-03-19 19:12:05,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85011840-22619300 passed 2025-03-19 19:12:05,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:05,683 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85011840-22619300, IP 26.43.28.131, Port 22 2025-03-19 19:12:05,852 - DEBUG - VM ctest-TestRoutersBasic-85011840-22619300 is ready for SSH connections 2025-03-19 19:12:05,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:05,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.43.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-19 19:12:05,852 - DEBUG - ping -s 56 -c 3 -W 1 26.43.28.131 2025-03-19 19:12:10,065 - DEBUG - PING 26.43.28.131 (26.43.28.131): 56 data bytes 64 bytes from 26.43.28.131: seq=0 ttl=62 time=6.364 ms 64 bytes from 26.43.28.131: seq=1 ttl=62 time=1.291 ms 64 bytes from 26.43.28.131: seq=2 ttl=62 time=1.302 ms --- 26.43.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.291/2.985/6.364 ms 2025-03-19 19:12:10,065 - INFO - Ping to IP 26.43.28.131 from VM ctest-TestRoutersBasic-85011840-83829545 passed 2025-03-19 19:12:10,065 - INFO - Deleting interface with subnet_id 27263663-53b3-4a9f-acfe-893608b78d3d, port_id None from router f1c49a55-8b53-422a-808b-86564f64f182 2025-03-19 19:12:10,315 - INFO - Deleting VM ctest-TestRoutersBasic-85011840-22619300 2025-03-19 19:12:10,402 - INFO - Deleting VM ctest-TestRoutersBasic-85011840-83829545 2025-03-19 19:12:10,486 - INFO - Deleting VN ctest-ext_vn-79404308 2025-03-19 19:12:10,580 - DEBUG - VN 1ec0d6a7-89ed-4c0c-bd87-f78dde686765 still in use: Unable to complete operation on network 1ec0d6a7-89ed-4c0c-bd87-f78dde686765. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16cf3d7c-1271-4cab-b39e-4c400496f09c'] 2025-03-19 19:12:10,580 - WARNING - Deleting VN ctest-ext_vn-79404308 failed..Will retry 2025-03-19 19:12:12,692 - DEBUG - Response for deleting network () 2025-03-19 19:12:12,692 - INFO - Deleting VN ctest-vn-62488444 2025-03-19 19:12:12,795 - DEBUG - Response for deleting network () 2025-03-19 19:12:13,055 - DEBUG - No XMPP flaps were noticed during the test
2025-03-19 19:12:13,055 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-03-19 19:12:13,055 - INFO - -------------------------------------------------------------------------------- 2025-03-19 19:12:13,856 - INFO - Deleted project: ctest-TestRoutersBasic-85011840, ID : 700a40a6-77dd-45fb-a7d5-775fad22cb93