2025-07-31 15:28:59,377 - INFO - Domain Default found not creating 2025-07-31 15:28:59,544 - INFO - Project ctest-TestRoutersBasic-63956507 not found, creating it 2025-07-31 15:29:00,057 - INFO - Created Project:ctest-TestRoutersBasic-63956507, ID : bd013649-6c18-45bc-8682-8403cde47cdb 2025-07-31 15:29:01,593 - INFO - ================================================================================ 2025-07-31 15:29:01,594 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 15:29:01,594 - 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-31 15:29:01,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-31 15:29:01,855 - INFO - Initial checks done. Running the testcase now 2025-07-31 15:29:01,855 - INFO - 2025-07-31 15:29:02,572 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63956507 2025-07-31 15:29:02,673 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63956507 2025-07-31 15:29:03,008 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63956507', 'default']} 2025-07-31 15:29:03,309 - DEBUG - Response for create_network : {'network': {'id': '142ff9eb-3a1a-4f37-8d75-ae4ed445ffa4', 'name': 'ctest-vn-23128763', 'tenant_id': 'bd0136496c1845bc86828403cde47cdb', 'project_id': 'bd0136496c1845bc86828403cde47cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63956507', 'ctest-vn-23128763'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 15:29:03,514 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce2c74b-10e8-4802-938e-8fc1ec2ca8fe', 'name': '', 'tenant_id': 'bd0136496c1845bc86828403cde47cdb', 'network_id': '142ff9eb-3a1a-4f37-8d75-ae4ed445ffa4', 'ip_version': 4, 'cidr': '82.52.47.192/26', 'allocation_pools': [{'start': '82.52.47.194', 'end': '82.52.47.254'}], 'gateway_ip': '82.52.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.52.47.194', 'tags': [], 'project_id': 'bd0136496c1845bc86828403cde47cdb'}} 2025-07-31 15:29:03,536 - INFO - Created VN ctest-vn-23128763 2025-07-31 15:29:03,592 - DEBUG - VN ctest-vn-23128763 UUID is 142ff9eb-3a1a-4f37-8d75-ae4ed445ffa4 2025-07-31 15:29:03,931 - DEBUG - Response for create_network : {'network': {'id': '8a46780d-817b-4dda-bbab-d8c0edd7d398', 'name': 'ctest-ext_vn-73761204', 'tenant_id': 'bd0136496c1845bc86828403cde47cdb', 'project_id': 'bd0136496c1845bc86828403cde47cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63956507', 'ctest-ext_vn-73761204'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 15:29:04,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd842a70c-8b63-4f78-b1da-256a873ca59e', 'name': '', 'tenant_id': 'bd0136496c1845bc86828403cde47cdb', 'network_id': '8a46780d-817b-4dda-bbab-d8c0edd7d398', 'ip_version': 4, 'cidr': '25.84.236.192/26', 'allocation_pools': [{'start': '25.84.236.194', 'end': '25.84.236.254'}], 'gateway_ip': '25.84.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.84.236.194', 'tags': [], 'project_id': 'bd0136496c1845bc86828403cde47cdb'}} 2025-07-31 15:29:04,111 - INFO - Created VN ctest-ext_vn-73761204 2025-07-31 15:29:04,164 - DEBUG - VN ctest-ext_vn-73761204 UUID is 8a46780d-817b-4dda-bbab-d8c0edd7d398 2025-07-31 15:29:04,345 - DEBUG - Services list from nova: [, , ] 2025-07-31 15:29:05,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1) 2025-07-31 15:29:06,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1) 2025-07-31 15:29:06,619 - INFO - Setting gateway for router 557398a3-aa23-4908-8186-19b2bcc18f97 to network 8a46780d-817b-4dda-bbab-d8c0edd7d398 2025-07-31 15:29:06,703 - INFO - Adding interface with subnet_id dce2c74b-10e8-4802-938e-8fc1ec2ca8fe, port_id None to router 557398a3-aa23-4908-8186-19b2bcc18f97 2025-07-31 15:29:07,297 - INFO - Waiting for VM ctest-TestRoutersBasic-63956507-37207867 to be up.. 2025-07-31 15:29:07,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 15:29:12,535 - DEBUG - VM is in ACTIVE state now 2025-07-31 15:29:12,536 - INFO - VM name : ctest-TestRoutersBasic-63956507-37207867 2025-07-31 15:29:12,612 - DEBUG - VM ctest-TestRoutersBasic-63956507-37207867 ID is e4a47133-bf18-444e-9f60-1c99a8ad3bb6 2025-07-31 15:29:12,635 - DEBUG - VM ctest-TestRoutersBasic-63956507-37207867 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1 2025-07-31 15:29:12,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4a47133-bf18-444e-9f60-1c99a8ad3bb6 2025-07-31 15:29:13,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4a47133-bf18-444e-9f60-1c99a8ad3bb6 2025-07-31 15:29:13,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a4fced7b-424c-4e05-a284-3db29f600916 2025-07-31 15:29:16,333 - 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 1030ms') 2025-07-31 15:29:16,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63956507-37207867 failed! 2025-07-31 15:29:16,388 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63956507:ctest-vn-23128763 is 82.52.47.193 and allocation pool is NOT set 2025-07-31 15:29:18,454 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/2.146/3.809/1.663 ms') 2025-07-31 15:29:18,454 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63956507-37207867 passed 2025-07-31 15:29:18,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:29:18,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63956507-37207867, IP 82.52.47.195, Port 22 2025-07-31 15:29:18,769 - DEBUG - VM ctest-TestRoutersBasic-63956507-37207867 is ready for SSH connections 2025-07-31 15:29:18,769 - INFO - Waiting for VM ctest-TestRoutersBasic-63956507-56874274 to be up.. 2025-07-31 15:29:18,852 - DEBUG - VM is in ACTIVE state now 2025-07-31 15:29:18,852 - INFO - VM name : ctest-TestRoutersBasic-63956507-56874274 2025-07-31 15:29:18,933 - DEBUG - VM ctest-TestRoutersBasic-63956507-56874274 ID is 80ff682b-69a8-4a45-9a75-ac146b822be2 2025-07-31 15:29:18,933 - DEBUG - VM ctest-TestRoutersBasic-63956507-56874274 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1 2025-07-31 15:29:19,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80ff682b-69a8-4a45-9a75-ac146b822be2 2025-07-31 15:29:19,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f9942ff-1bf0-4741-85ff-aee593df7920 2025-07-31 15:29:20,264 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.769/3.012/1.243 ms') 2025-07-31 15:29:20,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63956507-56874274 passed 2025-07-31 15:29:20,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:29:20,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63956507-56874274, IP 25.84.236.195, Port 22 2025-07-31 15:29:20,580 - DEBUG - VM ctest-TestRoutersBasic-63956507-56874274 is ready for SSH connections 2025-07-31 15:29:20,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:29:20,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.84.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-31 15:29:20,580 - DEBUG - ping -s 56 -c 3 -W 1 25.84.236.195 2025-07-31 15:29:24,284 - DEBUG - PING 25.84.236.195 (25.84.236.195): 56 data bytes 64 bytes from 25.84.236.195: seq=0 ttl=62 time=5.617 ms 64 bytes from 25.84.236.195: seq=1 ttl=62 time=1.171 ms 64 bytes from 25.84.236.195: seq=2 ttl=62 time=1.076 ms --- 25.84.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/2.621/5.617 ms 2025-07-31 15:29:24,284 - INFO - Ping to IP 25.84.236.195 from VM ctest-TestRoutersBasic-63956507-37207867 passed 2025-07-31 15:29:24,284 - INFO - Deleting interface with subnet_id dce2c74b-10e8-4802-938e-8fc1ec2ca8fe, port_id None from router 557398a3-aa23-4908-8186-19b2bcc18f97 2025-07-31 15:29:24,500 - INFO - Deleting VM ctest-TestRoutersBasic-63956507-56874274 2025-07-31 15:29:24,580 - INFO - Deleting VM ctest-TestRoutersBasic-63956507-37207867 2025-07-31 15:29:24,655 - INFO - Deleting VN ctest-ext_vn-73761204 2025-07-31 15:29:24,735 - DEBUG - VN 8a46780d-817b-4dda-bbab-d8c0edd7d398 still in use: Unable to complete operation on network 8a46780d-817b-4dda-bbab-d8c0edd7d398. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c1830bf-37e2-4519-88da-15aa3fe76185'] 2025-07-31 15:29:24,735 - WARNING - Deleting VN ctest-ext_vn-73761204 failed..Will retry 2025-07-31 15:29:26,845 - DEBUG - Response for deleting network () 2025-07-31 15:29:26,845 - INFO - Deleting VN ctest-vn-23128763 2025-07-31 15:29:26,970 - DEBUG - Response for deleting network () 2025-07-31 15:29:27,226 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 15:29:27,226 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-31 15:29:27,226 - INFO - -------------------------------------------------------------------------------- 2025-07-31 15:29:27,934 - INFO - Deleted project: ctest-TestRoutersBasic-63956507, ID : bd013649-6c18-45bc-8682-8403cde47cdb