2025-04-03 16:47:08,028 - INFO - Domain Default found not creating 2025-04-03 16:47:08,210 - INFO - Project ctest-TestRoutersBasic-27578679 not found, creating it 2025-04-03 16:47:08,739 - INFO - Created Project:ctest-TestRoutersBasic-27578679, ID : ba603145-ad5f-4989-9145-e9b08ee00288 2025-04-03 16:47:10,445 - INFO - ================================================================================ 2025-04-03 16:47:10,445 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-03 16:47:10,446 - 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-03 16:47:10,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.33': '0'}} with 2025-04-03 16:47:10,704 - INFO - Initial checks done. Running the testcase now 2025-04-03 16:47:10,704 - INFO - 2025-04-03 16:47:11,561 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27578679 2025-04-03 16:47:11,664 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27578679 2025-04-03 16:47:12,016 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27578679', 'default']} 2025-04-03 16:47:12,347 - DEBUG - Response for create_network : {'network': {'id': '4a301c0f-73fb-4bc2-b0b0-c2e91a786ae6', 'name': 'ctest-vn-58522834', 'tenant_id': 'ba603145ad5f49899145e9b08ee00288', 'project_id': 'ba603145ad5f49899145e9b08ee00288', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27578679', 'ctest-vn-58522834'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 16:47:12,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a16dab7a-a3f5-4899-a896-42eab3be86a9', 'name': '', 'tenant_id': 'ba603145ad5f49899145e9b08ee00288', 'network_id': '4a301c0f-73fb-4bc2-b0b0-c2e91a786ae6', 'ip_version': 4, 'cidr': '222.92.107.192/26', 'allocation_pools': [{'start': '222.92.107.194', 'end': '222.92.107.254'}], 'gateway_ip': '222.92.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.92.107.194', 'tags': [], 'project_id': 'ba603145ad5f49899145e9b08ee00288'}} 2025-04-03 16:47:12,577 - INFO - Created VN ctest-vn-58522834 2025-04-03 16:47:12,632 - DEBUG - VN ctest-vn-58522834 UUID is 4a301c0f-73fb-4bc2-b0b0-c2e91a786ae6 2025-04-03 16:47:13,030 - DEBUG - Response for create_network : {'network': {'id': '8dcf8e45-b32a-456e-b740-58458d209c82', 'name': 'ctest-ext_vn-43199030', 'tenant_id': 'ba603145ad5f49899145e9b08ee00288', 'project_id': 'ba603145ad5f49899145e9b08ee00288', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27578679', 'ctest-ext_vn-43199030'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 16:47:13,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '034cfd95-0c25-482c-9f60-00b48faa7014', 'name': '', 'tenant_id': 'ba603145ad5f49899145e9b08ee00288', 'network_id': '8dcf8e45-b32a-456e-b740-58458d209c82', 'ip_version': 4, 'cidr': '219.241.134.192/26', 'allocation_pools': [{'start': '219.241.134.194', 'end': '219.241.134.254'}], 'gateway_ip': '219.241.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.241.134.194', 'tags': [], 'project_id': 'ba603145ad5f49899145e9b08ee00288'}} 2025-04-03 16:47:13,293 - INFO - Created VN ctest-ext_vn-43199030 2025-04-03 16:47:13,348 - DEBUG - VN ctest-ext_vn-43199030 UUID is 8dcf8e45-b32a-456e-b740-58458d209c82 2025-04-03 16:47:13,532 - DEBUG - Services list from nova: [, , ] 2025-04-03 16:47:14,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3030-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3030-1) 2025-04-03 16:47:16,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3030-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3030-1) 2025-04-03 16:47:16,274 - INFO - Setting gateway for router 26d4a109-59b3-45e6-b44d-49315007ad58 to network 8dcf8e45-b32a-456e-b740-58458d209c82 2025-04-03 16:47:16,380 - INFO - Adding interface with subnet_id a16dab7a-a3f5-4899-a896-42eab3be86a9, port_id None to router 26d4a109-59b3-45e6-b44d-49315007ad58 2025-04-03 16:47:16,897 - INFO - Waiting for VM ctest-TestRoutersBasic-27578679-07693954 to be up.. 2025-04-03 16:47:17,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-03 16:47:22,220 - DEBUG - VM is in ACTIVE state now 2025-04-03 16:47:22,220 - INFO - VM name : ctest-TestRoutersBasic-27578679-07693954 2025-04-03 16:47:22,357 - DEBUG - VM ctest-TestRoutersBasic-27578679-07693954 ID is ffb896c4-b512-41ac-bf70-a3a68eacda79 2025-04-03 16:47:22,389 - DEBUG - VM ctest-TestRoutersBasic-27578679-07693954 launched on Node cn-jenkins-deploy-platform-ansible-os-3030-1 2025-04-03 16:47:22,493 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ffb896c4-b512-41ac-bf70-a3a68eacda79 2025-04-03 16:47:22,943 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ffb896c4-b512-41ac-bf70-a3a68eacda79 2025-04-03 16:47:22,982 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/56380831-29e0-42a2-ba26-dee93a9308f8 2025-04-03 16:47:26,258 - 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 1021ms') 2025-04-03 16:47:26,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27578679-07693954 failed! 2025-04-03 16:47:26,316 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27578679:ctest-vn-58522834 is 222.92.107.193 and allocation pool is NOT set 2025-04-03 16:47:28,386 - 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=5.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.941 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.941/3.019/5.097/2.078 ms') 2025-04-03 16:47:28,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27578679-07693954 passed 2025-04-03 16:47:28,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:47:28,504 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27578679-07693954, IP 222.92.107.195, Port 22 2025-04-03 16:47:28,664 - DEBUG - VM ctest-TestRoutersBasic-27578679-07693954 is ready for SSH connections 2025-04-03 16:47:28,664 - INFO - Waiting for VM ctest-TestRoutersBasic-27578679-98645418 to be up.. 2025-04-03 16:47:28,767 - DEBUG - VM is in ACTIVE state now 2025-04-03 16:47:28,768 - INFO - VM name : ctest-TestRoutersBasic-27578679-98645418 2025-04-03 16:47:28,876 - DEBUG - VM ctest-TestRoutersBasic-27578679-98645418 ID is 4b039d6c-abfd-4223-b9c7-256d0083be4b 2025-04-03 16:47:28,876 - DEBUG - VM ctest-TestRoutersBasic-27578679-98645418 launched on Node cn-jenkins-deploy-platform-ansible-os-3030-1 2025-04-03 16:47:28,984 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4b039d6c-abfd-4223-b9c7-256d0083be4b 2025-04-03 16:47:29,002 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/672272ef-ad88-4bfc-b878-bead7868d6ee 2025-04-03 16:47:30,267 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.98 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.983/3.541/5.099/1.558 ms') 2025-04-03 16:47:30,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27578679-98645418 passed 2025-04-03 16:47:30,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:47:30,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27578679-98645418, IP 219.241.134.195, Port 22 2025-04-03 16:47:30,599 - DEBUG - VM ctest-TestRoutersBasic-27578679-98645418 is ready for SSH connections 2025-04-03 16:47:30,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 16:47:30,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.241.134.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-04-03 16:47:30,599 - DEBUG - ping -s 56 -c 3 -W 1 219.241.134.195 2025-04-03 16:47:34,374 - DEBUG - PING 219.241.134.195 (219.241.134.195): 56 data bytes 64 bytes from 219.241.134.195: seq=0 ttl=62 time=7.592 ms 64 bytes from 219.241.134.195: seq=1 ttl=62 time=1.130 ms 64 bytes from 219.241.134.195: seq=2 ttl=62 time=1.292 ms --- 219.241.134.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.130/3.338/7.592 ms 2025-04-03 16:47:34,374 - INFO - Ping to IP 219.241.134.195 from VM ctest-TestRoutersBasic-27578679-07693954 passed 2025-04-03 16:47:34,374 - INFO - Deleting interface with subnet_id a16dab7a-a3f5-4899-a896-42eab3be86a9, port_id None from router 26d4a109-59b3-45e6-b44d-49315007ad58 2025-04-03 16:47:34,693 - INFO - Deleting VM ctest-TestRoutersBasic-27578679-98645418 2025-04-03 16:47:34,789 - INFO - Deleting VM ctest-TestRoutersBasic-27578679-07693954 2025-04-03 16:47:34,905 - INFO - Deleting VN ctest-ext_vn-43199030 2025-04-03 16:47:35,069 - DEBUG - VN 8dcf8e45-b32a-456e-b740-58458d209c82 still in use: Unable to complete operation on network 8dcf8e45-b32a-456e-b740-58458d209c82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb8d5791-f124-42be-9620-2ffd6ecc757e'] 2025-04-03 16:47:35,069 - WARNING - Deleting VN ctest-ext_vn-43199030 failed..Will retry 2025-04-03 16:47:37,197 - DEBUG - Response for deleting network () 2025-04-03 16:47:37,197 - INFO - Deleting VN ctest-vn-58522834 2025-04-03 16:47:37,336 - DEBUG - Response for deleting network () 2025-04-03 16:47:37,595 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 16:47:37,595 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-03 16:47:37,595 - INFO - -------------------------------------------------------------------------------- 2025-04-03 16:47:38,362 - INFO - Deleted project: ctest-TestRoutersBasic-27578679, ID : ba603145-ad5f-4989-9145-e9b08ee00288