2025-10-06 01:53:28,352 - INFO - Domain Default found not creating 2025-10-06 01:53:28,486 - INFO - Project ctest-TestRoutersBasic-04912853 not found, creating it 2025-10-06 01:53:28,930 - INFO - Created Project:ctest-TestRoutersBasic-04912853, ID : 4d1dbfa1-59b9-4b09-8732-f2862a8d19c8 2025-10-06 01:53:30,457 - INFO - ================================================================================ 2025-10-06 01:53:30,457 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-06 01:53:30,457 - 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 01:53:30,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with 2025-10-06 01:53:30,739 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:53:30,739 - INFO - 2025-10-06 01:53:31,512 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04912853 2025-10-06 01:53:31,607 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04912853 2025-10-06 01:53:31,935 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04912853', 'default']} 2025-10-06 01:53:32,223 - DEBUG - Response for create_network : {'network': {'id': '8e64d57d-a87c-4164-ae4e-a197d4b7272a', 'name': 'ctest-vn-51710815', 'tenant_id': '4d1dbfa159b94b098732f2862a8d19c8', 'project_id': '4d1dbfa159b94b098732f2862a8d19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04912853', 'ctest-vn-51710815'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:53:32,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '37ed91c5-5cf0-4224-a924-c2ef7e53a206', 'name': '', 'tenant_id': '4d1dbfa159b94b098732f2862a8d19c8', 'network_id': '8e64d57d-a87c-4164-ae4e-a197d4b7272a', 'ip_version': 4, 'cidr': '128.230.30.64/26', 'allocation_pools': [{'start': '128.230.30.66', 'end': '128.230.30.126'}], 'gateway_ip': '128.230.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.230.30.66', 'tags': [], 'project_id': '4d1dbfa159b94b098732f2862a8d19c8'}} 2025-10-06 01:53:32,412 - INFO - Created VN ctest-vn-51710815 2025-10-06 01:53:32,463 - DEBUG - VN ctest-vn-51710815 UUID is 8e64d57d-a87c-4164-ae4e-a197d4b7272a 2025-10-06 01:53:32,815 - DEBUG - Response for create_network : {'network': {'id': '4eda3a97-0412-48b3-830b-d2d6d31f0aa9', 'name': 'ctest-ext_vn-06131389', 'tenant_id': '4d1dbfa159b94b098732f2862a8d19c8', 'project_id': '4d1dbfa159b94b098732f2862a8d19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04912853', 'ctest-ext_vn-06131389'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:53:32,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '8972d6bd-c79c-4092-a523-6b69c98f8651', 'name': '', 'tenant_id': '4d1dbfa159b94b098732f2862a8d19c8', 'network_id': '4eda3a97-0412-48b3-830b-d2d6d31f0aa9', 'ip_version': 4, 'cidr': '2.131.0.192/26', 'allocation_pools': [{'start': '2.131.0.194', 'end': '2.131.0.254'}], 'gateway_ip': '2.131.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.131.0.194', 'tags': [], 'project_id': '4d1dbfa159b94b098732f2862a8d19c8'}} 2025-10-06 01:53:33,018 - INFO - Created VN ctest-ext_vn-06131389 2025-10-06 01:53:33,071 - DEBUG - VN ctest-ext_vn-06131389 UUID is 4eda3a97-0412-48b3-830b-d2d6d31f0aa9 2025-10-06 01:53:33,245 - DEBUG - Services list from nova: [, , ] 2025-10-06 01:53:34,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:53:35,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:53:35,642 - INFO - Setting gateway for router b513dd69-51c7-47e7-a811-f9e87ab81feb to network 4eda3a97-0412-48b3-830b-d2d6d31f0aa9 2025-10-06 01:53:35,717 - INFO - Adding interface with subnet_id 37ed91c5-5cf0-4224-a924-c2ef7e53a206, port_id None to router b513dd69-51c7-47e7-a811-f9e87ab81feb 2025-10-06 01:53:36,079 - INFO - Waiting for VM ctest-TestRoutersBasic-04912853-33558210 to be up.. 2025-10-06 01:53:36,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 01:53:41,359 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:53:41,359 - INFO - VM name : ctest-TestRoutersBasic-04912853-33558210 2025-10-06 01:53:41,505 - DEBUG - VM ctest-TestRoutersBasic-04912853-33558210 ID is f1d40614-1c77-450e-874e-d35b4077ae13 2025-10-06 01:53:41,552 - DEBUG - VM ctest-TestRoutersBasic-04912853-33558210 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:53:41,679 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f1d40614-1c77-450e-874e-d35b4077ae13 2025-10-06 01:53:42,026 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f1d40614-1c77-450e-874e-d35b4077ae13 2025-10-06 01:53:42,060 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/3d4a5487-8e73-49a3-bf4f-279588a35283 2025-10-06 01:53:45,303 - 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 1007ms') 2025-10-06 01:53:45,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04912853-33558210 failed! 2025-10-06 01:53:45,359 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04912853:ctest-vn-51710815 is 128.230.30.65 and allocation pool is NOT set 2025-10-06 01:53:47,423 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.048/2.442/3.837/1.394 ms') 2025-10-06 01:53:47,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04912853-33558210 passed 2025-10-06 01:53:47,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:47,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04912853-33558210, IP 128.230.30.67, Port 22 2025-10-06 01:53:47,741 - DEBUG - VM ctest-TestRoutersBasic-04912853-33558210 is ready for SSH connections 2025-10-06 01:53:47,742 - INFO - Waiting for VM ctest-TestRoutersBasic-04912853-57226237 to be up.. 2025-10-06 01:53:47,835 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:53:47,835 - INFO - VM name : ctest-TestRoutersBasic-04912853-57226237 2025-10-06 01:53:47,913 - DEBUG - VM ctest-TestRoutersBasic-04912853-57226237 ID is 65191a18-5a58-4ffe-bcb7-c1e80f0ace53 2025-10-06 01:53:47,913 - DEBUG - VM ctest-TestRoutersBasic-04912853-57226237 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:53:47,992 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/65191a18-5a58-4ffe-bcb7-c1e80f0ace53 2025-10-06 01:53:48,001 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/70dfe35d-6139-4d05-8d32-e3030f382288 2025-10-06 01:53:49,245 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.713/3.023/1.309 ms') 2025-10-06 01:53:49,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04912853-57226237 passed 2025-10-06 01:53:49,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:49,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04912853-57226237, IP 2.131.0.195, Port 22 2025-10-06 01:53:49,555 - DEBUG - VM ctest-TestRoutersBasic-04912853-57226237 is ready for SSH connections 2025-10-06 01:53:49,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:49,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.131.0.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:49,555 - DEBUG - ping -s 56 -c 3 -W 1 2.131.0.195 2025-10-06 01:53:53,274 - DEBUG - PING 2.131.0.195 (2.131.0.195): 56 data bytes 64 bytes from 2.131.0.195: seq=0 ttl=62 time=7.871 ms 64 bytes from 2.131.0.195: seq=1 ttl=62 time=0.884 ms 64 bytes from 2.131.0.195: seq=2 ttl=62 time=1.014 ms --- 2.131.0.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/3.256/7.871 ms 2025-10-06 01:53:53,274 - INFO - Ping to IP 2.131.0.195 from VM ctest-TestRoutersBasic-04912853-33558210 passed 2025-10-06 01:53:53,274 - INFO - Deleting interface with subnet_id 37ed91c5-5cf0-4224-a924-c2ef7e53a206, port_id None from router b513dd69-51c7-47e7-a811-f9e87ab81feb 2025-10-06 01:53:53,467 - INFO - Deleting VM ctest-TestRoutersBasic-04912853-57226237 2025-10-06 01:53:53,537 - INFO - Deleting VM ctest-TestRoutersBasic-04912853-33558210 2025-10-06 01:53:53,628 - INFO - Deleting VN ctest-ext_vn-06131389 2025-10-06 01:53:53,696 - DEBUG - VN 4eda3a97-0412-48b3-830b-d2d6d31f0aa9 still in use: Unable to complete operation on network 4eda3a97-0412-48b3-830b-d2d6d31f0aa9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7ef18fb-7c3f-4ddf-8d90-caeef7ed0988'] 2025-10-06 01:53:53,696 - WARNING - Deleting VN ctest-ext_vn-06131389 failed..Will retry 2025-10-06 01:53:55,813 - DEBUG - Response for deleting network () 2025-10-06 01:53:55,813 - INFO - Deleting VN ctest-vn-51710815 2025-10-06 01:53:55,919 - DEBUG - Response for deleting network () 2025-10-06 01:53:56,173 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 01:53:56,173 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-06 01:53:56,173 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:53:56,917 - INFO - Deleted project: ctest-TestRoutersBasic-04912853, ID : 4d1dbfa1-59b9-4b09-8732-f2862a8d19c8