2025-08-22 13:54:44,346 - INFO - Domain Default found not creating 2025-08-22 13:54:44,496 - INFO - Project ctest-TestRoutersBasic-29304766 not found, creating it 2025-08-22 13:54:44,978 - INFO - Created Project:ctest-TestRoutersBasic-29304766, ID : 0e0c392f-653b-4d71-b32f-65d3d7b69de2 2025-08-22 13:54:46,418 - INFO - ================================================================================ 2025-08-22 13:54:46,418 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-22 13:54:46,418 - 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-08-22 13:54:46,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-22 13:54:46,670 - INFO - Initial checks done. Running the testcase now 2025-08-22 13:54:46,670 - INFO - 2025-08-22 13:54:47,381 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29304766 2025-08-22 13:54:47,481 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29304766 2025-08-22 13:54:47,813 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29304766', 'default']} 2025-08-22 13:54:48,126 - DEBUG - Response for create_network : {'network': {'id': '629d7ee4-d1fc-40e4-a18b-faef5c8f4db9', 'name': 'ctest-vn-06934575', 'tenant_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'project_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29304766', 'ctest-vn-06934575'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:54:48,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2b1af7d-1a65-418a-a201-a370b9d2bcad', 'name': '', 'tenant_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'network_id': '629d7ee4-d1fc-40e4-a18b-faef5c8f4db9', 'ip_version': 4, 'cidr': '29.240.76.128/26', 'allocation_pools': [{'start': '29.240.76.130', 'end': '29.240.76.190'}], 'gateway_ip': '29.240.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.240.76.130', 'tags': [], 'project_id': '0e0c392f653b4d71b32f65d3d7b69de2'}} 2025-08-22 13:54:48,389 - INFO - Created VN ctest-vn-06934575 2025-08-22 13:54:48,441 - DEBUG - VN ctest-vn-06934575 UUID is 629d7ee4-d1fc-40e4-a18b-faef5c8f4db9 2025-08-22 13:54:48,809 - DEBUG - Response for create_network : {'network': {'id': 'b97ce401-d654-40ee-9749-33b4538afc37', 'name': 'ctest-ext_vn-07289990', 'tenant_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'project_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29304766', 'ctest-ext_vn-07289990'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:54:48,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ac3bd9a-1d99-4c2e-ae24-bc03456a00f4', 'name': '', 'tenant_id': '0e0c392f653b4d71b32f65d3d7b69de2', 'network_id': 'b97ce401-d654-40ee-9749-33b4538afc37', 'ip_version': 4, 'cidr': '29.50.191.128/26', 'allocation_pools': [{'start': '29.50.191.130', 'end': '29.50.191.190'}], 'gateway_ip': '29.50.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.50.191.130', 'tags': [], 'project_id': '0e0c392f653b4d71b32f65d3d7b69de2'}} 2025-08-22 13:54:49,025 - INFO - Created VN ctest-ext_vn-07289990 2025-08-22 13:54:49,085 - DEBUG - VN ctest-ext_vn-07289990 UUID is b97ce401-d654-40ee-9749-33b4538afc37 2025-08-22 13:54:49,286 - DEBUG - Services list from nova: [, , ] 2025-08-22 13:54:50,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:54:51,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:54:51,496 - INFO - Setting gateway for router 0d7e5455-9cab-446b-8f74-3b7a45e48389 to network b97ce401-d654-40ee-9749-33b4538afc37 2025-08-22 13:54:51,568 - INFO - Adding interface with subnet_id d2b1af7d-1a65-418a-a201-a370b9d2bcad, port_id None to router 0d7e5455-9cab-446b-8f74-3b7a45e48389 2025-08-22 13:54:51,970 - INFO - Waiting for VM ctest-TestRoutersBasic-29304766-22584392 to be up.. 2025-08-22 13:54:52,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 13:54:57,213 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:54:57,213 - INFO - VM name : ctest-TestRoutersBasic-29304766-22584392 2025-08-22 13:54:57,327 - DEBUG - VM ctest-TestRoutersBasic-29304766-22584392 ID is 33d477b8-733f-47cf-b232-c38bc41e4cf7 2025-08-22 13:54:57,360 - DEBUG - VM ctest-TestRoutersBasic-29304766-22584392 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:54:57,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33d477b8-733f-47cf-b232-c38bc41e4cf7 2025-08-22 13:54:57,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33d477b8-733f-47cf-b232-c38bc41e4cf7 2025-08-22 13:54:57,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8b5abd24-fad7-445e-99cb-d7f238574cb4 2025-08-22 13:55:01,094 - 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 1031ms') 2025-08-22 13:55:01,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29304766-22584392 failed! 2025-08-22 13:55:01,153 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29304766:ctest-vn-06934575 is 29.240.76.129 and allocation pool is NOT set 2025-08-22 13:55:03,213 - 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.444 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.444/1.784/3.124/1.340 ms') 2025-08-22 13:55:03,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29304766-22584392 passed 2025-08-22 13:55:03,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:03,369 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29304766-22584392, IP 29.240.76.131, Port 22 2025-08-22 13:55:03,529 - DEBUG - VM ctest-TestRoutersBasic-29304766-22584392 is ready for SSH connections 2025-08-22 13:55:03,529 - INFO - Waiting for VM ctest-TestRoutersBasic-29304766-16859205 to be up.. 2025-08-22 13:55:03,619 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:55:03,619 - INFO - VM name : ctest-TestRoutersBasic-29304766-16859205 2025-08-22 13:55:03,697 - DEBUG - VM ctest-TestRoutersBasic-29304766-16859205 ID is 595a31bd-93df-4232-be5e-09549876130f 2025-08-22 13:55:03,697 - DEBUG - VM ctest-TestRoutersBasic-29304766-16859205 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:55:03,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/595a31bd-93df-4232-be5e-09549876130f 2025-08-22 13:55:03,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d63acb4-9575-47c8-9de0-2286398d38a3 2025-08-22 13:55:05,018 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.349/1.535/2.722/1.186 ms') 2025-08-22 13:55:05,018 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29304766-16859205 passed 2025-08-22 13:55:05,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:05,165 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29304766-16859205, IP 29.50.191.131, Port 22 2025-08-22 13:55:05,333 - DEBUG - VM ctest-TestRoutersBasic-29304766-16859205 is ready for SSH connections 2025-08-22 13:55:05,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:05,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.50.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:55:05,333 - DEBUG - ping -s 56 -c 3 -W 1 29.50.191.131 2025-08-22 13:55:09,019 - DEBUG - PING 29.50.191.131 (29.50.191.131): 56 data bytes 64 bytes from 29.50.191.131: seq=0 ttl=62 time=7.635 ms 64 bytes from 29.50.191.131: seq=1 ttl=62 time=0.753 ms 64 bytes from 29.50.191.131: seq=2 ttl=62 time=0.750 ms --- 29.50.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/3.046/7.635 ms 2025-08-22 13:55:09,019 - INFO - Ping to IP 29.50.191.131 from VM ctest-TestRoutersBasic-29304766-22584392 passed 2025-08-22 13:55:09,019 - INFO - Deleting interface with subnet_id d2b1af7d-1a65-418a-a201-a370b9d2bcad, port_id None from router 0d7e5455-9cab-446b-8f74-3b7a45e48389 2025-08-22 13:55:09,269 - INFO - Deleting VM ctest-TestRoutersBasic-29304766-16859205 2025-08-22 13:55:09,341 - INFO - Deleting VM ctest-TestRoutersBasic-29304766-22584392 2025-08-22 13:55:09,439 - INFO - Deleting VN ctest-ext_vn-07289990 2025-08-22 13:55:09,517 - DEBUG - VN b97ce401-d654-40ee-9749-33b4538afc37 still in use: Unable to complete operation on network b97ce401-d654-40ee-9749-33b4538afc37. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20cc9359-baf3-4a6b-81d6-00e73d03f9f8'] 2025-08-22 13:55:09,517 - WARNING - Deleting VN ctest-ext_vn-07289990 failed..Will retry 2025-08-22 13:55:11,627 - DEBUG - Response for deleting network () 2025-08-22 13:55:11,627 - INFO - Deleting VN ctest-vn-06934575 2025-08-22 13:55:11,761 - DEBUG - Response for deleting network () 2025-08-22 13:55:12,023 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 13:55:12,023 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-22 13:55:12,023 - INFO - -------------------------------------------------------------------------------- 2025-08-22 13:55:12,738 - INFO - Deleted project: ctest-TestRoutersBasic-29304766, ID : 0e0c392f-653b-4d71-b32f-65d3d7b69de2