2025-07-19 08:06:23,910 - INFO - Domain Default found not creating 2025-07-19 08:06:24,046 - INFO - Project ctest-TestRoutersBasic-40397971 not found, creating it 2025-07-19 08:06:24,479 - INFO - Created Project:ctest-TestRoutersBasic-40397971, ID : b218d22b-c75a-4735-b993-72eab482d909 2025-07-19 08:06:25,789 - INFO - ================================================================================ 2025-07-19 08:06:25,789 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-19 08:06:25,789 - 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-07-19 08:06:26,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.193': '0'}} with 2025-07-19 08:06:26,044 - INFO - Initial checks done. Running the testcase now 2025-07-19 08:06:26,044 - INFO - 2025-07-19 08:06:26,720 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40397971 2025-07-19 08:06:26,814 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40397971 2025-07-19 08:06:27,130 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397971', 'default']} 2025-07-19 08:06:27,408 - DEBUG - Response for create_network : {'network': {'id': 'b9b53c5d-6ad2-4539-a03d-342f531c9974', 'name': 'ctest-vn-33429212', 'tenant_id': 'b218d22bc75a4735b99372eab482d909', 'project_id': 'b218d22bc75a4735b99372eab482d909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397971', 'ctest-vn-33429212'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:06:27,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a62ece02-7425-4388-8261-0065788054bb', 'name': '', 'tenant_id': 'b218d22bc75a4735b99372eab482d909', 'network_id': 'b9b53c5d-6ad2-4539-a03d-342f531c9974', 'ip_version': 4, 'cidr': '211.60.85.128/26', 'allocation_pools': [{'start': '211.60.85.130', 'end': '211.60.85.190'}], 'gateway_ip': '211.60.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.60.85.130', 'tags': [], 'project_id': 'b218d22bc75a4735b99372eab482d909'}} 2025-07-19 08:06:27,648 - INFO - Created VN ctest-vn-33429212 2025-07-19 08:06:27,702 - DEBUG - VN ctest-vn-33429212 UUID is b9b53c5d-6ad2-4539-a03d-342f531c9974 2025-07-19 08:06:28,028 - DEBUG - Response for create_network : {'network': {'id': 'd828efb7-59fb-458b-8508-bc6c3b87404c', 'name': 'ctest-ext_vn-48660047', 'tenant_id': 'b218d22bc75a4735b99372eab482d909', 'project_id': 'b218d22bc75a4735b99372eab482d909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397971', 'ctest-ext_vn-48660047'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:06:28,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae94e9e-2780-4405-95e4-cbe080ef43e5', 'name': '', 'tenant_id': 'b218d22bc75a4735b99372eab482d909', 'network_id': 'd828efb7-59fb-458b-8508-bc6c3b87404c', 'ip_version': 4, 'cidr': '13.227.178.128/26', 'allocation_pools': [{'start': '13.227.178.130', 'end': '13.227.178.190'}], 'gateway_ip': '13.227.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.227.178.130', 'tags': [], 'project_id': 'b218d22bc75a4735b99372eab482d909'}} 2025-07-19 08:06:28,271 - INFO - Created VN ctest-ext_vn-48660047 2025-07-19 08:06:28,322 - DEBUG - VN ctest-ext_vn-48660047 UUID is d828efb7-59fb-458b-8508-bc6c3b87404c 2025-07-19 08:06:28,520 - DEBUG - Services list from nova: [, , ] 2025-07-19 08:06:29,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3671-1) 2025-07-19 08:06:30,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3671-1) 2025-07-19 08:06:30,588 - INFO - Setting gateway for router 5f729463-2b67-4bc5-8c59-a1717af2c72b to network d828efb7-59fb-458b-8508-bc6c3b87404c 2025-07-19 08:06:30,650 - INFO - Adding interface with subnet_id a62ece02-7425-4388-8261-0065788054bb, port_id None to router 5f729463-2b67-4bc5-8c59-a1717af2c72b 2025-07-19 08:06:31,038 - INFO - Waiting for VM ctest-TestRoutersBasic-40397971-62585282 to be up.. 2025-07-19 08:06:31,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 08:06:36,248 - DEBUG - VM is in ACTIVE state now 2025-07-19 08:06:36,248 - INFO - VM name : ctest-TestRoutersBasic-40397971-62585282 2025-07-19 08:06:36,316 - DEBUG - VM ctest-TestRoutersBasic-40397971-62585282 ID is 4cd5758e-9032-496c-abb6-fb13a0ea514f 2025-07-19 08:06:36,334 - DEBUG - VM ctest-TestRoutersBasic-40397971-62585282 launched on Node cn-jenkins-deploy-platform-ansible-os-3671-1 2025-07-19 08:06:36,513 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4cd5758e-9032-496c-abb6-fb13a0ea514f 2025-07-19 08:06:36,806 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4cd5758e-9032-496c-abb6-fb13a0ea514f 2025-07-19 08:06:36,839 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a83e8175-e921-492c-86b8-7bc48b920a83 2025-07-19 08:06:40,105 - 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 1032ms') 2025-07-19 08:06:40,105 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40397971-62585282 failed! 2025-07-19 08:06:40,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40397971:ctest-vn-33429212 is 211.60.85.129 and allocation pool is NOT set 2025-07-19 08:06:42,231 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/1.647/2.916/1.269 ms') 2025-07-19 08:06:42,231 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40397971-62585282 passed 2025-07-19 08:06:42,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:06:42,382 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40397971-62585282, IP 211.60.85.131, Port 22 2025-07-19 08:06:42,534 - DEBUG - VM ctest-TestRoutersBasic-40397971-62585282 is ready for SSH connections 2025-07-19 08:06:42,534 - INFO - Waiting for VM ctest-TestRoutersBasic-40397971-80153704 to be up.. 2025-07-19 08:06:42,599 - DEBUG - VM is in ACTIVE state now 2025-07-19 08:06:42,599 - INFO - VM name : ctest-TestRoutersBasic-40397971-80153704 2025-07-19 08:06:42,662 - DEBUG - VM ctest-TestRoutersBasic-40397971-80153704 ID is 75417080-9679-4a65-8fe2-e8fdb8ec68c3 2025-07-19 08:06:42,663 - DEBUG - VM ctest-TestRoutersBasic-40397971-80153704 launched on Node cn-jenkins-deploy-platform-ansible-os-3671-1 2025-07-19 08:06:42,723 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/75417080-9679-4a65-8fe2-e8fdb8ec68c3 2025-07-19 08:06:42,730 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/93098ec0-0cd1-4fa7-8d84-f07342152476 2025-07-19 08:06:43,957 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.373/1.592/2.812/1.219 ms') 2025-07-19 08:06:43,957 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40397971-80153704 passed 2025-07-19 08:06:44,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:06:44,106 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40397971-80153704, IP 13.227.178.131, Port 22 2025-07-19 08:06:44,258 - DEBUG - VM ctest-TestRoutersBasic-40397971-80153704 is ready for SSH connections 2025-07-19 08:06:44,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:06:44,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.227.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-19 08:06:44,258 - DEBUG - ping -s 56 -c 3 -W 1 13.227.178.131 2025-07-19 08:06:47,955 - DEBUG - PING 13.227.178.131 (13.227.178.131): 56 data bytes 64 bytes from 13.227.178.131: seq=0 ttl=62 time=8.427 ms 64 bytes from 13.227.178.131: seq=1 ttl=62 time=0.767 ms 64 bytes from 13.227.178.131: seq=2 ttl=62 time=0.872 ms --- 13.227.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/3.355/8.427 ms 2025-07-19 08:06:47,955 - INFO - Ping to IP 13.227.178.131 from VM ctest-TestRoutersBasic-40397971-62585282 passed 2025-07-19 08:06:47,955 - INFO - Deleting interface with subnet_id a62ece02-7425-4388-8261-0065788054bb, port_id None from router 5f729463-2b67-4bc5-8c59-a1717af2c72b 2025-07-19 08:06:48,166 - INFO - Deleting VM ctest-TestRoutersBasic-40397971-80153704 2025-07-19 08:06:48,238 - INFO - Deleting VM ctest-TestRoutersBasic-40397971-62585282 2025-07-19 08:06:48,313 - INFO - Deleting VN ctest-ext_vn-48660047 2025-07-19 08:06:48,374 - DEBUG - VN d828efb7-59fb-458b-8508-bc6c3b87404c still in use: Unable to complete operation on network d828efb7-59fb-458b-8508-bc6c3b87404c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-584fd89d-1500-40f3-b1e6-6fd15b97a48d'] 2025-07-19 08:06:48,374 - WARNING - Deleting VN ctest-ext_vn-48660047 failed..Will retry 2025-07-19 08:06:50,463 - DEBUG - Response for deleting network () 2025-07-19 08:06:50,463 - INFO - Deleting VN ctest-vn-33429212 2025-07-19 08:06:50,558 - DEBUG - Response for deleting network () 2025-07-19 08:06:50,812 - DEBUG - No XMPP flaps were noticed during the test 2025-07-19 08:06:50,812 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-19 08:06:50,812 - INFO - -------------------------------------------------------------------------------- 2025-07-19 08:06:51,537 - INFO - Deleted project: ctest-TestRoutersBasic-40397971, ID : b218d22b-c75a-4735-b993-72eab482d909