2025-04-07 09:38:53,770 - INFO - Domain Default found not creating 2025-04-07 09:38:53,917 - INFO - Project ctest-TestRoutersBasic-32363743 not found, creating it 2025-04-07 09:38:54,407 - INFO - Created Project:ctest-TestRoutersBasic-32363743, ID : af7ce514-37dc-48a7-a665-2dd58dd69ec1 2025-04-07 09:38:55,839 - INFO - ================================================================================ 2025-04-07 09:38:55,840 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-07 09:38:55,840 - 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-07 09:38:56,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.6': '0'}} with 2025-04-07 09:38:56,105 - INFO - Initial checks done. Running the testcase now 2025-04-07 09:38:56,105 - INFO - 2025-04-07 09:38:56,818 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32363743 2025-04-07 09:38:56,917 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32363743 2025-04-07 09:38:57,241 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32363743', 'default']} 2025-04-07 09:38:57,554 - DEBUG - Response for create_network : {'network': {'id': '36a956f9-1f92-4a57-9315-c90a68a61d3e', 'name': 'ctest-vn-02290343', 'tenant_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'project_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32363743', 'ctest-vn-02290343'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:38:57,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '93054948-f88e-4fde-b621-80d7a468ebce', 'name': '', 'tenant_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'network_id': '36a956f9-1f92-4a57-9315-c90a68a61d3e', 'ip_version': 4, 'cidr': '14.60.81.0/26', 'allocation_pools': [{'start': '14.60.81.2', 'end': '14.60.81.62'}], 'gateway_ip': '14.60.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.60.81.2', 'tags': [], 'project_id': 'af7ce51437dc48a7a6652dd58dd69ec1'}} 2025-04-07 09:38:57,823 - INFO - Created VN ctest-vn-02290343 2025-04-07 09:38:57,877 - DEBUG - VN ctest-vn-02290343 UUID is 36a956f9-1f92-4a57-9315-c90a68a61d3e 2025-04-07 09:38:58,231 - DEBUG - Response for create_network : {'network': {'id': 'fe26a7b0-aa98-4209-a516-1c2c551cf3a4', 'name': 'ctest-ext_vn-55527122', 'tenant_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'project_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32363743', 'ctest-ext_vn-55527122'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:38:58,430 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc7a9890-955d-4f75-9d05-e928b690b3fe', 'name': '', 'tenant_id': 'af7ce51437dc48a7a6652dd58dd69ec1', 'network_id': 'fe26a7b0-aa98-4209-a516-1c2c551cf3a4', 'ip_version': 4, 'cidr': '30.171.250.128/26', 'allocation_pools': [{'start': '30.171.250.130', 'end': '30.171.250.190'}], 'gateway_ip': '30.171.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.171.250.130', 'tags': [], 'project_id': 'af7ce51437dc48a7a6652dd58dd69ec1'}} 2025-04-07 09:38:58,449 - INFO - Created VN ctest-ext_vn-55527122 2025-04-07 09:38:58,505 - DEBUG - VN ctest-ext_vn-55527122 UUID is fe26a7b0-aa98-4209-a516-1c2c551cf3a4 2025-04-07 09:38:58,675 - DEBUG - Services list from nova: [, , ] 2025-04-07 09:38:59,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1) 2025-04-07 09:39:00,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1) 2025-04-07 09:39:00,969 - INFO - Setting gateway for router 5ed299e8-7a2b-4dee-bd4b-49afba02cb17 to network fe26a7b0-aa98-4209-a516-1c2c551cf3a4 2025-04-07 09:39:01,043 - INFO - Adding interface with subnet_id 93054948-f88e-4fde-b621-80d7a468ebce, port_id None to router 5ed299e8-7a2b-4dee-bd4b-49afba02cb17 2025-04-07 09:39:01,446 - INFO - Waiting for VM ctest-TestRoutersBasic-32363743-78171690 to be up.. 2025-04-07 09:39:01,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 09:39:06,694 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:39:06,695 - INFO - VM name : ctest-TestRoutersBasic-32363743-78171690 2025-04-07 09:39:06,776 - DEBUG - VM ctest-TestRoutersBasic-32363743-78171690 ID is 9025dbb1-0f6f-4a92-aefa-246b7663c2ea 2025-04-07 09:39:06,810 - DEBUG - VM ctest-TestRoutersBasic-32363743-78171690 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1 2025-04-07 09:39:06,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9025dbb1-0f6f-4a92-aefa-246b7663c2ea 2025-04-07 09:39:07,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9025dbb1-0f6f-4a92-aefa-246b7663c2ea 2025-04-07 09:39:07,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f41e979e-4d2b-4b83-8178-20ed98a4c80b 2025-04-07 09:39:10,464 - 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 1005ms') 2025-04-07 09:39:10,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32363743-78171690 failed! 2025-04-07 09:39:10,517 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32363743:ctest-vn-02290343 is 14.60.81.1 and allocation pool is NOT set 2025-04-07 09:39:12,576 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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 = 0.433/2.032/3.632/1.599 ms') 2025-04-07 09:39:12,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32363743-78171690 passed 2025-04-07 09:39:12,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:12,741 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32363743-78171690, IP 14.60.81.3, Port 22 2025-04-07 09:39:12,901 - DEBUG - VM ctest-TestRoutersBasic-32363743-78171690 is ready for SSH connections 2025-04-07 09:39:12,901 - INFO - Waiting for VM ctest-TestRoutersBasic-32363743-61406915 to be up.. 2025-04-07 09:39:12,994 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:39:12,994 - INFO - VM name : ctest-TestRoutersBasic-32363743-61406915 2025-04-07 09:39:13,079 - DEBUG - VM ctest-TestRoutersBasic-32363743-61406915 ID is 27e400c5-71c1-4658-8bdb-d31c0779f581 2025-04-07 09:39:13,079 - DEBUG - VM ctest-TestRoutersBasic-32363743-61406915 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1 2025-04-07 09:39:13,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27e400c5-71c1-4658-8bdb-d31c0779f581 2025-04-07 09:39:13,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1387f012-6d02-46a6-abf4-955b716f6562 2025-04-07 09:39:14,439 - 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=6.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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.869/3.473/6.078/2.604 ms') 2025-04-07 09:39:14,439 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32363743-61406915 passed 2025-04-07 09:39:14,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:14,593 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32363743-61406915, IP 30.171.250.131, Port 22 2025-04-07 09:39:14,749 - DEBUG - VM ctest-TestRoutersBasic-32363743-61406915 is ready for SSH connections 2025-04-07 09:39:14,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:14,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.171.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-07 09:39:14,749 - DEBUG - ping -s 56 -c 3 -W 1 30.171.250.131 2025-04-07 09:39:18,443 - DEBUG - PING 30.171.250.131 (30.171.250.131): 56 data bytes 64 bytes from 30.171.250.131: seq=0 ttl=62 time=5.774 ms 64 bytes from 30.171.250.131: seq=1 ttl=62 time=1.073 ms 64 bytes from 30.171.250.131: seq=2 ttl=62 time=0.934 ms --- 30.171.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/2.593/5.774 ms 2025-04-07 09:39:18,444 - INFO - Ping to IP 30.171.250.131 from VM ctest-TestRoutersBasic-32363743-78171690 passed 2025-04-07 09:39:18,444 - INFO - Deleting interface with subnet_id 93054948-f88e-4fde-b621-80d7a468ebce, port_id None from router 5ed299e8-7a2b-4dee-bd4b-49afba02cb17 2025-04-07 09:39:18,707 - INFO - Deleting VM ctest-TestRoutersBasic-32363743-61406915 2025-04-07 09:39:18,774 - INFO - Deleting VM ctest-TestRoutersBasic-32363743-78171690 2025-04-07 09:39:18,858 - INFO - Deleting VN ctest-ext_vn-55527122 2025-04-07 09:39:18,945 - DEBUG - VN fe26a7b0-aa98-4209-a516-1c2c551cf3a4 still in use: Unable to complete operation on network fe26a7b0-aa98-4209-a516-1c2c551cf3a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65768911-01ab-4df8-a3a4-0262e936c24c'] 2025-04-07 09:39:18,945 - WARNING - Deleting VN ctest-ext_vn-55527122 failed..Will retry 2025-04-07 09:39:21,076 - DEBUG - Response for deleting network () 2025-04-07 09:39:21,076 - INFO - Deleting VN ctest-vn-02290343 2025-04-07 09:39:21,194 - DEBUG - Response for deleting network () 2025-04-07 09:39:21,457 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 09:39:21,457 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-07 09:39:21,457 - INFO - -------------------------------------------------------------------------------- 2025-04-07 09:39:22,138 - INFO - Deleted project: ctest-TestRoutersBasic-32363743, ID : af7ce514-37dc-48a7-a665-2dd58dd69ec1