2025-04-09 15:56:46,159 - INFO - Domain Default found not creating 2025-04-09 15:56:46,407 - INFO - Project ctest-TestRoutersBasic-22611085 not found, creating it 2025-04-09 15:56:47,191 - INFO - Created Project:ctest-TestRoutersBasic-22611085, ID : a43f4fbe-9e63-4c20-9f4c-9da97718e426 2025-04-09 15:56:49,129 - INFO - ================================================================================ 2025-04-09 15:56:49,129 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 15:56:49,129 - 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-04-09 15:56:49,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-09 15:56:49,446 - INFO - Initial checks done. Running the testcase now 2025-04-09 15:56:49,447 - INFO - 2025-04-09 15:56:50,419 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22611085 2025-04-09 15:56:50,538 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22611085 2025-04-09 15:56:50,941 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22611085', 'default']} 2025-04-09 15:56:51,345 - DEBUG - Response for create_network : {'network': {'id': '22bb71c0-e75c-4af6-b80e-8a78aae7ea8e', 'name': 'ctest-vn-61783613', 'tenant_id': 'a43f4fbe9e634c209f4c9da97718e426', 'project_id': 'a43f4fbe9e634c209f4c9da97718e426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22611085', 'ctest-vn-61783613'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:56:51,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '5065deff-b335-4bc8-acb0-0fe97d2c6dd3', 'name': '', 'tenant_id': 'a43f4fbe9e634c209f4c9da97718e426', 'network_id': '22bb71c0-e75c-4af6-b80e-8a78aae7ea8e', 'ip_version': 4, 'cidr': '136.222.56.192/26', 'allocation_pools': [{'start': '136.222.56.194', 'end': '136.222.56.254'}], 'gateway_ip': '136.222.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.222.56.194', 'tags': [], 'project_id': 'a43f4fbe9e634c209f4c9da97718e426'}} 2025-04-09 15:56:51,634 - INFO - Created VN ctest-vn-61783613 2025-04-09 15:56:51,690 - DEBUG - VN ctest-vn-61783613 UUID is 22bb71c0-e75c-4af6-b80e-8a78aae7ea8e 2025-04-09 15:56:52,284 - DEBUG - Response for create_network : {'network': {'id': 'b89b957d-52c0-464c-807c-9d7e05ed556a', 'name': 'ctest-ext_vn-82125371', 'tenant_id': 'a43f4fbe9e634c209f4c9da97718e426', 'project_id': 'a43f4fbe9e634c209f4c9da97718e426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22611085', 'ctest-ext_vn-82125371'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:56:52,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb2b186-12dd-47c4-8e8a-657e3946ae3f', 'name': '', 'tenant_id': 'a43f4fbe9e634c209f4c9da97718e426', 'network_id': 'b89b957d-52c0-464c-807c-9d7e05ed556a', 'ip_version': 4, 'cidr': '134.34.119.0/26', 'allocation_pools': [{'start': '134.34.119.2', 'end': '134.34.119.62'}], 'gateway_ip': '134.34.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.34.119.2', 'tags': [], 'project_id': 'a43f4fbe9e634c209f4c9da97718e426'}} 2025-04-09 15:56:52,610 - INFO - Created VN ctest-ext_vn-82125371 2025-04-09 15:56:52,675 - DEBUG - VN ctest-ext_vn-82125371 UUID is b89b957d-52c0-464c-807c-9d7e05ed556a 2025-04-09 15:56:53,028 - DEBUG - Services list from nova: [, , ] 2025-04-09 15:56:54,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3070-1) 2025-04-09 15:56:56,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3070-1) 2025-04-09 15:56:56,391 - INFO - Setting gateway for router d2549f92-e414-4e69-83a1-cba00d32e31c to network b89b957d-52c0-464c-807c-9d7e05ed556a 2025-04-09 15:56:56,471 - INFO - Adding interface with subnet_id 5065deff-b335-4bc8-acb0-0fe97d2c6dd3, port_id None to router d2549f92-e414-4e69-83a1-cba00d32e31c 2025-04-09 15:56:56,927 - INFO - Waiting for VM ctest-TestRoutersBasic-22611085-26605308 to be up.. 2025-04-09 15:56:57,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 15:57:02,254 - DEBUG - VM is in ACTIVE state now 2025-04-09 15:57:02,255 - INFO - VM name : ctest-TestRoutersBasic-22611085-26605308 2025-04-09 15:57:02,349 - DEBUG - VM ctest-TestRoutersBasic-22611085-26605308 ID is db90e1fb-fb02-4994-a1e3-693b6178871d 2025-04-09 15:57:02,387 - DEBUG - VM ctest-TestRoutersBasic-22611085-26605308 launched on Node cn-jenkins-deploy-platform-ansible-os-3070-1 2025-04-09 15:57:02,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db90e1fb-fb02-4994-a1e3-693b6178871d 2025-04-09 15:57:02,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db90e1fb-fb02-4994-a1e3-693b6178871d 2025-04-09 15:57:02,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a633319-13e2-4d60-8db5-ba3dfc27ad61 2025-04-09 15:57:06,255 - 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 1014ms') 2025-04-09 15:57:06,255 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22611085-26605308 failed! 2025-04-09 15:57:06,321 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22611085:ctest-vn-61783613 is 136.222.56.193 and allocation pool is NOT set 2025-04-09 15:57:08,415 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.044/2.360/3.677/1.316 ms') 2025-04-09 15:57:08,415 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22611085-26605308 passed 2025-04-09 15:57:08,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:57:08,590 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22611085-26605308, IP 136.222.56.195, Port 22 2025-04-09 15:57:08,778 - DEBUG - VM ctest-TestRoutersBasic-22611085-26605308 is ready for SSH connections 2025-04-09 15:57:08,778 - INFO - Waiting for VM ctest-TestRoutersBasic-22611085-71494848 to be up.. 2025-04-09 15:57:09,015 - DEBUG - VM is in ACTIVE state now 2025-04-09 15:57:09,016 - INFO - VM name : ctest-TestRoutersBasic-22611085-71494848 2025-04-09 15:57:09,210 - DEBUG - VM ctest-TestRoutersBasic-22611085-71494848 ID is 637b7b76-027e-40a0-a22c-7bedfc021272 2025-04-09 15:57:09,211 - DEBUG - VM ctest-TestRoutersBasic-22611085-71494848 launched on Node cn-jenkins-deploy-platform-ansible-os-3070-1 2025-04-09 15:57:09,357 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/637b7b76-027e-40a0-a22c-7bedfc021272 2025-04-09 15:57:09,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/19565e86-4bc8-4bd6-82d0-9b1a5ef526cf 2025-04-09 15:57:10,704 - 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=10.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.17 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 = 3.166/7.044/10.923/3.878 ms') 2025-04-09 15:57:10,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22611085-71494848 passed 2025-04-09 15:57:10,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:57:10,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22611085-71494848, IP 134.34.119.3, Port 22 2025-04-09 15:57:11,122 - DEBUG - VM ctest-TestRoutersBasic-22611085-71494848 is ready for SSH connections 2025-04-09 15:57:11,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:57:11,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.34.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-09 15:57:11,123 - DEBUG - ping -s 56 -c 3 -W 1 134.34.119.3 2025-04-09 15:57:15,248 - DEBUG - PING 134.34.119.3 (134.34.119.3): 56 data bytes 64 bytes from 134.34.119.3: seq=0 ttl=62 time=7.626 ms 64 bytes from 134.34.119.3: seq=1 ttl=62 time=1.338 ms 64 bytes from 134.34.119.3: seq=2 ttl=62 time=1.070 ms --- 134.34.119.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.070/3.344/7.626 ms 2025-04-09 15:57:15,248 - INFO - Ping to IP 134.34.119.3 from VM ctest-TestRoutersBasic-22611085-26605308 passed 2025-04-09 15:57:15,248 - INFO - Deleting interface with subnet_id 5065deff-b335-4bc8-acb0-0fe97d2c6dd3, port_id None from router d2549f92-e414-4e69-83a1-cba00d32e31c 2025-04-09 15:57:15,549 - INFO - Deleting VM ctest-TestRoutersBasic-22611085-71494848 2025-04-09 15:57:15,636 - INFO - Deleting VM ctest-TestRoutersBasic-22611085-26605308 2025-04-09 15:57:15,727 - INFO - Deleting VN ctest-ext_vn-82125371 2025-04-09 15:57:15,801 - DEBUG - VN b89b957d-52c0-464c-807c-9d7e05ed556a still in use: Unable to complete operation on network b89b957d-52c0-464c-807c-9d7e05ed556a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02b26d75-f519-4685-985e-f5aff176c599'] 2025-04-09 15:57:15,801 - WARNING - Deleting VN ctest-ext_vn-82125371 failed..Will retry 2025-04-09 15:57:18,093 - DEBUG - Response for deleting network () 2025-04-09 15:57:18,093 - INFO - Deleting VN ctest-vn-61783613 2025-04-09 15:57:18,252 - DEBUG - Response for deleting network () 2025-04-09 15:57:18,539 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 15:57:18,539 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-04-09 15:57:18,539 - INFO - -------------------------------------------------------------------------------- 2025-04-09 15:57:19,413 - INFO - Deleted project: ctest-TestRoutersBasic-22611085, ID : a43f4fbe-9e63-4c20-9f4c-9da97718e426