2025-10-06 16:11:07,587 - INFO - Domain Default found not creating
2025-10-06 16:11:07,738 - INFO - Project ctest-TestRoutersBasic-57637575 not found, creating it
2025-10-06 16:11:08,198 - INFO - Created Project:ctest-TestRoutersBasic-57637575, ID : 23cc28da-e650-4e0e-8352-35a63f915a3a
2025-10-06 16:11:09,687 - INFO - ================================================================================
2025-10-06 16:11:09,687 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-06 16:11:09,687 - 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-10-06 16:11:09,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-06 16:11:09,941 - INFO - Initial checks done. Running the testcase now
2025-10-06 16:11:09,941 - INFO -
2025-10-06 16:11:10,649 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57637575
2025-10-06 16:11:10,743 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57637575
2025-10-06 16:11:11,059 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57637575', 'default']}
2025-10-06 16:11:11,348 - DEBUG - Response for create_network : {'network': {'id': '606e9dfa-e8f9-4c16-9886-c30a5399d63b', 'name': 'ctest-vn-12267790', 'tenant_id': '23cc28dae6504e0e835235a63f915a3a', 'project_id': '23cc28dae6504e0e835235a63f915a3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57637575', 'ctest-vn-12267790'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 16:11:11,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '2626e0f3-bce9-4c67-ae48-8ce5e59f55ac', 'name': '', 'tenant_id': '23cc28dae6504e0e835235a63f915a3a', 'network_id': '606e9dfa-e8f9-4c16-9886-c30a5399d63b', 'ip_version': 4, 'cidr': '119.198.85.0/26', 'allocation_pools': [{'start': '119.198.85.2', 'end': '119.198.85.62'}], 'gateway_ip': '119.198.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.198.85.2', 'tags': [], 'project_id': '23cc28dae6504e0e835235a63f915a3a'}}
2025-10-06 16:11:11,572 - INFO - Created VN ctest-vn-12267790
2025-10-06 16:11:11,623 - DEBUG - VN ctest-vn-12267790 UUID is 606e9dfa-e8f9-4c16-9886-c30a5399d63b
2025-10-06 16:11:11,933 - DEBUG - Response for create_network : {'network': {'id': 'b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c', 'name': 'ctest-ext_vn-41820589', 'tenant_id': '23cc28dae6504e0e835235a63f915a3a', 'project_id': '23cc28dae6504e0e835235a63f915a3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57637575', 'ctest-ext_vn-41820589'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 16:11:12,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f857a83a-9591-4c79-8224-5b8d7d6f6d54', 'name': '', 'tenant_id': '23cc28dae6504e0e835235a63f915a3a', 'network_id': 'b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c', 'ip_version': 4, 'cidr': '219.95.154.64/26', 'allocation_pools': [{'start': '219.95.154.66', 'end': '219.95.154.126'}], 'gateway_ip': '219.95.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.95.154.66', 'tags': [], 'project_id': '23cc28dae6504e0e835235a63f915a3a'}}
2025-10-06 16:11:12,154 - INFO - Created VN ctest-ext_vn-41820589
2025-10-06 16:11:12,207 - DEBUG - VN ctest-ext_vn-41820589 UUID is b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c
2025-10-06 16:11:12,437 - DEBUG - Services list from nova: [, , ]
2025-10-06 16:11:13,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1)
2025-10-06 16:11:14,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1)
2025-10-06 16:11:14,731 - INFO - Setting gateway for router 3b0395e5-2038-4d9d-9b86-e92082b6cbbd to network b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c
2025-10-06 16:11:14,791 - INFO - Adding interface with subnet_id 2626e0f3-bce9-4c67-ae48-8ce5e59f55ac, port_id None to router 3b0395e5-2038-4d9d-9b86-e92082b6cbbd
2025-10-06 16:11:15,183 - INFO - Waiting for VM ctest-TestRoutersBasic-57637575-37981670 to be up..
2025-10-06 16:11:15,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 16:11:20,481 - DEBUG - VM is in ACTIVE state now
2025-10-06 16:11:20,482 - INFO - VM name : ctest-TestRoutersBasic-57637575-37981670
2025-10-06 16:11:20,559 - DEBUG - VM ctest-TestRoutersBasic-57637575-37981670 ID is 82e13bea-79b4-45c8-b410-2a4a73c87cb8
2025-10-06 16:11:20,579 - DEBUG - VM ctest-TestRoutersBasic-57637575-37981670 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1
2025-10-06 16:11:20,659 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/82e13bea-79b4-45c8-b410-2a4a73c87cb8
2025-10-06 16:11:20,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/82e13bea-79b4-45c8-b410-2a4a73c87cb8
2025-10-06 16:11:21,002 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5e399717-a41c-4e63-9a1e-754b3e0994a6
2025-10-06 16:11:24,275 - 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 1015ms')
2025-10-06 16:11:24,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57637575-37981670 failed!
2025-10-06 16:11:24,331 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57637575:ctest-vn-12267790 is 119.198.85.1 and allocation pool is NOT set
2025-10-06 16:11:26,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=3.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.445/1.781/3.117/1.336 ms')
2025-10-06 16:11:26,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57637575-37981670 passed
2025-10-06 16:11:26,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:11:26,495 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57637575-37981670, IP 119.198.85.3, Port 22
2025-10-06 16:11:26,665 - DEBUG - VM ctest-TestRoutersBasic-57637575-37981670 is ready for SSH connections
2025-10-06 16:11:26,665 - INFO - Waiting for VM ctest-TestRoutersBasic-57637575-34828323 to be up..
2025-10-06 16:11:26,753 - DEBUG - VM is in ACTIVE state now
2025-10-06 16:11:26,753 - INFO - VM name : ctest-TestRoutersBasic-57637575-34828323
2025-10-06 16:11:26,842 - DEBUG - VM ctest-TestRoutersBasic-57637575-34828323 ID is 887ae87c-d0a0-4728-a47d-a5e000b434bd
2025-10-06 16:11:26,842 - DEBUG - VM ctest-TestRoutersBasic-57637575-34828323 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1
2025-10-06 16:11:26,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/887ae87c-d0a0-4728-a47d-a5e000b434bd
2025-10-06 16:11:26,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6a318ed0-c46f-4508-907d-57c9b28105e2
2025-10-06 16:11:28,180 - 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=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 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 = 0.558/1.815/3.072/1.257 ms')
2025-10-06 16:11:28,180 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57637575-34828323 passed
2025-10-06 16:11:28,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:11:28,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57637575-34828323, IP 219.95.154.67, Port 22
2025-10-06 16:11:28,486 - DEBUG - VM ctest-TestRoutersBasic-57637575-34828323 is ready for SSH connections
2025-10-06 16:11:28,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:11:28,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.95.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:11:28,486 - DEBUG - ping -s 56 -c 3 -W 1 219.95.154.67
2025-10-06 16:11:32,197 - DEBUG - PING 219.95.154.67 (219.95.154.67): 56 data bytes
64 bytes from 219.95.154.67: seq=0 ttl=62 time=4.113 ms
64 bytes from 219.95.154.67: seq=1 ttl=62 time=1.117 ms
64 bytes from 219.95.154.67: seq=2 ttl=62 time=1.722 ms
--- 219.95.154.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.117/2.317/4.113 ms
2025-10-06 16:11:32,197 - INFO - Ping to IP 219.95.154.67 from VM ctest-TestRoutersBasic-57637575-37981670 passed
2025-10-06 16:11:32,197 - INFO - Deleting interface with subnet_id 2626e0f3-bce9-4c67-ae48-8ce5e59f55ac, port_id None from router 3b0395e5-2038-4d9d-9b86-e92082b6cbbd
2025-10-06 16:11:32,391 - INFO - Deleting VM ctest-TestRoutersBasic-57637575-34828323
2025-10-06 16:11:32,521 - INFO - Deleting VM ctest-TestRoutersBasic-57637575-37981670
2025-10-06 16:11:32,630 - INFO - Deleting VN ctest-ext_vn-41820589
2025-10-06 16:11:32,747 - DEBUG - VN b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c still in use: Unable to complete operation on network b44eb5c3-4b2a-4d5c-9c32-e9cba62c5b6c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1929d23b-874e-48d4-8829-a187cdf6538c']
2025-10-06 16:11:32,747 - WARNING - Deleting VN ctest-ext_vn-41820589 failed..Will retry
2025-10-06 16:11:34,853 - DEBUG - Response for deleting network ()
2025-10-06 16:11:34,853 - INFO - Deleting VN ctest-vn-12267790
2025-10-06 16:11:34,968 - DEBUG - Response for deleting network ()
2025-10-06 16:11:35,233 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 16:11:35,233 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-06 16:11:35,233 - INFO - --------------------------------------------------------------------------------
2025-10-06 16:11:35,943 - INFO - Deleted project: ctest-TestRoutersBasic-57637575, ID : 23cc28da-e650-4e0e-8352-35a63f915a3a