2025-06-24 13:17:57,095 - INFO - Domain Default found not creating
2025-06-24 13:17:57,261 - INFO - Project ctest-TestRoutersBasic-76133644 not found, creating it
2025-06-24 13:17:57,752 - INFO - Created Project:ctest-TestRoutersBasic-76133644, ID : db8e1f1a-b0d5-4047-9b07-a672b499b59e
2025-06-24 13:17:59,251 - INFO - ================================================================================
2025-06-24 13:17:59,252 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-24 13:17:59,252 - 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-06-24 13:17:59,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-24 13:17:59,506 - INFO - Initial checks done. Running the testcase now
2025-06-24 13:17:59,506 - INFO -
2025-06-24 13:18:00,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76133644
2025-06-24 13:18:00,351 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76133644
2025-06-24 13:18:00,719 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76133644', 'default']}
2025-06-24 13:18:01,127 - DEBUG - Response for create_network : {'network': {'id': 'fa0a158c-6c20-40d9-97ce-d3c1c6593ddd', 'name': 'ctest-vn-08749700', 'tenant_id': 'db8e1f1ab0d540479b07a672b499b59e', 'project_id': 'db8e1f1ab0d540479b07a672b499b59e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76133644', 'ctest-vn-08749700'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 13:18:01,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '49047581-9caf-4436-aafb-c6b2de93c197', 'name': '', 'tenant_id': 'db8e1f1ab0d540479b07a672b499b59e', 'network_id': 'fa0a158c-6c20-40d9-97ce-d3c1c6593ddd', 'ip_version': 4, 'cidr': '4.125.235.128/26', 'allocation_pools': [{'start': '4.125.235.130', 'end': '4.125.235.190'}], 'gateway_ip': '4.125.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.125.235.130', 'tags': [], 'project_id': 'db8e1f1ab0d540479b07a672b499b59e'}}
2025-06-24 13:18:01,624 - INFO - Created VN ctest-vn-08749700
2025-06-24 13:18:01,691 - DEBUG - VN ctest-vn-08749700 UUID is fa0a158c-6c20-40d9-97ce-d3c1c6593ddd
2025-06-24 13:18:02,086 - DEBUG - Response for create_network : {'network': {'id': '7cc88d5e-cb0e-4cce-b402-a0d74413ce1e', 'name': 'ctest-ext_vn-80250629', 'tenant_id': 'db8e1f1ab0d540479b07a672b499b59e', 'project_id': 'db8e1f1ab0d540479b07a672b499b59e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76133644', 'ctest-ext_vn-80250629'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 13:18:02,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d113a3-8f19-4387-908e-f24bab14ca3f', 'name': '', 'tenant_id': 'db8e1f1ab0d540479b07a672b499b59e', 'network_id': '7cc88d5e-cb0e-4cce-b402-a0d74413ce1e', 'ip_version': 4, 'cidr': '192.10.87.0/26', 'allocation_pools': [{'start': '192.10.87.2', 'end': '192.10.87.62'}], 'gateway_ip': '192.10.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.10.87.2', 'tags': [], 'project_id': 'db8e1f1ab0d540479b07a672b499b59e'}}
2025-06-24 13:18:02,289 - INFO - Created VN ctest-ext_vn-80250629
2025-06-24 13:18:02,343 - DEBUG - VN ctest-ext_vn-80250629 UUID is 7cc88d5e-cb0e-4cce-b402-a0d74413ce1e
2025-06-24 13:18:02,523 - DEBUG - Services list from nova: [, , ]
2025-06-24 13:18:03,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1)
2025-06-24 13:18:04,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1)
2025-06-24 13:18:04,833 - INFO - Setting gateway for router 9dbe09b2-b789-44ed-8986-ad77262f5dc3 to network 7cc88d5e-cb0e-4cce-b402-a0d74413ce1e
2025-06-24 13:18:04,891 - INFO - Adding interface with subnet_id 49047581-9caf-4436-aafb-c6b2de93c197, port_id None to router 9dbe09b2-b789-44ed-8986-ad77262f5dc3
2025-06-24 13:18:05,305 - INFO - Waiting for VM ctest-TestRoutersBasic-76133644-74395654 to be up..
2025-06-24 13:18:05,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 13:18:10,579 - DEBUG - VM is in ACTIVE state now
2025-06-24 13:18:10,579 - INFO - VM name : ctest-TestRoutersBasic-76133644-74395654
2025-06-24 13:18:10,672 - DEBUG - VM ctest-TestRoutersBasic-76133644-74395654 ID is 6fc07621-48ce-4abe-aa81-e222e1a01ad8
2025-06-24 13:18:10,699 - DEBUG - VM ctest-TestRoutersBasic-76133644-74395654 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1
2025-06-24 13:18:10,801 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6fc07621-48ce-4abe-aa81-e222e1a01ad8
2025-06-24 13:18:11,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6fc07621-48ce-4abe-aa81-e222e1a01ad8
2025-06-24 13:18:11,147 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/28649b66-9c2c-4a70-9a7b-53b76711ce8e
2025-06-24 13:18:14,421 - 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 1026ms')
2025-06-24 13:18:14,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76133644-74395654 failed!
2025-06-24 13:18:14,479 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76133644:ctest-vn-08749700 is 4.125.235.129 and allocation pool is NOT set
2025-06-24 13:18:16,544 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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.553/1.780/3.007/1.227 ms')
2025-06-24 13:18:16,544 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76133644-74395654 passed
2025-06-24 13:18:16,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:18:16,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76133644-74395654, IP 4.125.235.131, Port 22
2025-06-24 13:18:16,863 - DEBUG - VM ctest-TestRoutersBasic-76133644-74395654 is ready for SSH connections
2025-06-24 13:18:16,863 - INFO - Waiting for VM ctest-TestRoutersBasic-76133644-20815704 to be up..
2025-06-24 13:18:16,952 - DEBUG - VM is in ACTIVE state now
2025-06-24 13:18:16,952 - INFO - VM name : ctest-TestRoutersBasic-76133644-20815704
2025-06-24 13:18:17,040 - DEBUG - VM ctest-TestRoutersBasic-76133644-20815704 ID is e0826a7e-f2ee-4fbb-8215-1070d1abad50
2025-06-24 13:18:17,040 - DEBUG - VM ctest-TestRoutersBasic-76133644-20815704 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1
2025-06-24 13:18:17,129 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e0826a7e-f2ee-4fbb-8215-1070d1abad50
2025-06-24 13:18:17,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bba0a74c-f8d6-4bce-a416-3a7b076452de
2025-06-24 13:18:18,399 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.95 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.953/2.958/3.963/1.005 ms')
2025-06-24 13:18:18,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76133644-20815704 passed
2025-06-24 13:18:18,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:18:18,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76133644-20815704, IP 192.10.87.3, Port 22
2025-06-24 13:18:18,716 - DEBUG - VM ctest-TestRoutersBasic-76133644-20815704 is ready for SSH connections
2025-06-24 13:18:18,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:18:18,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.10.87.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-24 13:18:18,716 - DEBUG - ping -s 56 -c 3 -W 1 192.10.87.3
2025-06-24 13:18:22,410 - DEBUG - PING 192.10.87.3 (192.10.87.3): 56 data bytes
64 bytes from 192.10.87.3: seq=0 ttl=62 time=8.175 ms
64 bytes from 192.10.87.3: seq=1 ttl=62 time=0.870 ms
64 bytes from 192.10.87.3: seq=2 ttl=62 time=1.121 ms
--- 192.10.87.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/3.388/8.175 ms
2025-06-24 13:18:22,410 - INFO - Ping to IP 192.10.87.3 from VM ctest-TestRoutersBasic-76133644-74395654 passed
2025-06-24 13:18:22,410 - INFO - Deleting interface with subnet_id 49047581-9caf-4436-aafb-c6b2de93c197, port_id None from router 9dbe09b2-b789-44ed-8986-ad77262f5dc3
2025-06-24 13:18:22,671 - INFO - Deleting VM ctest-TestRoutersBasic-76133644-20815704
2025-06-24 13:18:22,753 - INFO - Deleting VM ctest-TestRoutersBasic-76133644-74395654
2025-06-24 13:18:22,855 - INFO - Deleting VN ctest-ext_vn-80250629
2025-06-24 13:18:22,951 - DEBUG - VN 7cc88d5e-cb0e-4cce-b402-a0d74413ce1e still in use: Unable to complete operation on network 7cc88d5e-cb0e-4cce-b402-a0d74413ce1e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-05343214-e4de-4eab-ac09-74305eafbc26']
2025-06-24 13:18:22,951 - WARNING - Deleting VN ctest-ext_vn-80250629 failed..Will retry
2025-06-24 13:18:25,077 - DEBUG - Response for deleting network ()
2025-06-24 13:18:25,077 - INFO - Deleting VN ctest-vn-08749700
2025-06-24 13:18:25,218 - DEBUG - Response for deleting network ()
2025-06-24 13:18:25,473 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 13:18:25,473 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 13:18:25,473 - INFO - --------------------------------------------------------------------------------
2025-06-24 13:18:26,192 - INFO - Deleted project: ctest-TestRoutersBasic-76133644, ID : db8e1f1a-b0d5-4047-9b07-a672b499b59e