2025-12-23 03:31:59,373 - INFO - Domain Default found not creating 2025-12-23 03:31:59,541 - INFO - Project ctest-TestRoutersBasic-43228699 not found, creating it 2025-12-23 03:32:00,013 - INFO - Created Project:ctest-TestRoutersBasic-43228699, ID : 519bf782-a815-4ece-bda0-b732d694598e 2025-12-23 03:32:01,648 - INFO - ================================================================================ 2025-12-23 03:32:01,648 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-23 03:32:01,648 - 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-12-23 03:32:01,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-23 03:32:01,905 - INFO - Initial checks done. Running the testcase now 2025-12-23 03:32:01,905 - INFO - 2025-12-23 03:32:02,692 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43228699 2025-12-23 03:32:02,786 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43228699 2025-12-23 03:32:03,102 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43228699', 'default']} 2025-12-23 03:32:03,390 - DEBUG - Response for create_network : {'network': {'id': 'b87b1561-b53b-4a3d-833a-65c9405a37d7', 'name': 'ctest-vn-08830159', 'tenant_id': '519bf782a8154ecebda0b732d694598e', 'project_id': '519bf782a8154ecebda0b732d694598e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43228699', 'ctest-vn-08830159'], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:03,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cbe6648-ed17-47d0-82f6-afb2333ef20e', 'name': '', 'tenant_id': '519bf782a8154ecebda0b732d694598e', 'network_id': 'b87b1561-b53b-4a3d-833a-65c9405a37d7', 'ip_version': 4, 'cidr': '185.253.29.0/26', 'allocation_pools': [{'start': '185.253.29.2', 'end': '185.253.29.62'}], 'gateway_ip': '185.253.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.253.29.2', 'tags': [], 'project_id': '519bf782a8154ecebda0b732d694598e'}} 2025-12-23 03:32:03,555 - INFO - Created VN ctest-vn-08830159 2025-12-23 03:32:03,606 - DEBUG - VN ctest-vn-08830159 UUID is b87b1561-b53b-4a3d-833a-65c9405a37d7 2025-12-23 03:32:03,944 - DEBUG - Response for create_network : {'network': {'id': 'c7966291-6f24-4191-959b-0083d2aa15ab', 'name': 'ctest-ext_vn-45185237', 'tenant_id': '519bf782a8154ecebda0b732d694598e', 'project_id': '519bf782a8154ecebda0b732d694598e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43228699', 'ctest-ext_vn-45185237'], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:04,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bba41e8a-bbbb-4b74-8476-74eb86faaad0', 'name': '', 'tenant_id': '519bf782a8154ecebda0b732d694598e', 'network_id': 'c7966291-6f24-4191-959b-0083d2aa15ab', 'ip_version': 4, 'cidr': '86.113.162.0/26', 'allocation_pools': [{'start': '86.113.162.2', 'end': '86.113.162.62'}], 'gateway_ip': '86.113.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.113.162.2', 'tags': [], 'project_id': '519bf782a8154ecebda0b732d694598e'}} 2025-12-23 03:32:04,143 - INFO - Created VN ctest-ext_vn-45185237 2025-12-23 03:32:04,194 - DEBUG - VN ctest-ext_vn-45185237 UUID is c7966291-6f24-4191-959b-0083d2aa15ab 2025-12-23 03:32:04,399 - DEBUG - Services list from nova: [, , ] 2025-12-23 03:32:05,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4922-1) 2025-12-23 03:32:06,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4922-1) 2025-12-23 03:32:06,800 - INFO - Setting gateway for router a89e9fa0-f120-488b-8018-214b3fdbafc0 to network c7966291-6f24-4191-959b-0083d2aa15ab 2025-12-23 03:32:06,875 - INFO - Adding interface with subnet_id 6cbe6648-ed17-47d0-82f6-afb2333ef20e, port_id None to router a89e9fa0-f120-488b-8018-214b3fdbafc0 2025-12-23 03:32:07,204 - INFO - Waiting for VM ctest-TestRoutersBasic-43228699-04459547 to be up.. 2025-12-23 03:32:07,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-23 03:32:12,442 - DEBUG - VM is in ACTIVE state now 2025-12-23 03:32:12,442 - INFO - VM name : ctest-TestRoutersBasic-43228699-04459547 2025-12-23 03:32:12,520 - DEBUG - VM ctest-TestRoutersBasic-43228699-04459547 ID is e592c15c-e59b-4d2e-9718-bb651f72c717 2025-12-23 03:32:12,540 - DEBUG - VM ctest-TestRoutersBasic-43228699-04459547 launched on Node cn-jenkins-deploy-platform-ansible-os-4922-1 2025-12-23 03:32:12,612 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e592c15c-e59b-4d2e-9718-bb651f72c717 2025-12-23 03:32:12,948 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e592c15c-e59b-4d2e-9718-bb651f72c717 2025-12-23 03:32:12,980 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/00a4afa9-3e92-4f06-b6d9-f2bf2b17085e 2025-12-23 03:32:16,248 - 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-12-23 03:32:16,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43228699-04459547 failed! 2025-12-23 03:32:16,302 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43228699:ctest-vn-08830159 is 185.253.29.1 and allocation pool is NOT set 2025-12-23 03:32:18,365 - 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=4.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/2.489/4.576/2.087 ms') 2025-12-23 03:32:18,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43228699-04459547 passed 2025-12-23 03:32:18,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:32:18,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43228699-04459547, IP 185.253.29.3, Port 22 2025-12-23 03:32:18,674 - DEBUG - VM ctest-TestRoutersBasic-43228699-04459547 is ready for SSH connections 2025-12-23 03:32:18,674 - INFO - Waiting for VM ctest-TestRoutersBasic-43228699-87383737 to be up.. 2025-12-23 03:32:18,750 - DEBUG - VM is in ACTIVE state now 2025-12-23 03:32:18,750 - INFO - VM name : ctest-TestRoutersBasic-43228699-87383737 2025-12-23 03:32:18,827 - DEBUG - VM ctest-TestRoutersBasic-43228699-87383737 ID is eb420078-de94-4d12-962c-15143653c151 2025-12-23 03:32:18,827 - DEBUG - VM ctest-TestRoutersBasic-43228699-87383737 launched on Node cn-jenkins-deploy-platform-ansible-os-4922-1 2025-12-23 03:32:18,900 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/eb420078-de94-4d12-962c-15143653c151 2025-12-23 03:32:18,909 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/46489929-fb5a-4126-9cb8-6e7e4596192e 2025-12-23 03:32:20,143 - 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=4.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.414/2.806/4.199/1.392 ms') 2025-12-23 03:32:20,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43228699-87383737 passed 2025-12-23 03:32:20,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:32:20,290 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43228699-87383737, IP 86.113.162.3, Port 22 2025-12-23 03:32:20,456 - DEBUG - VM ctest-TestRoutersBasic-43228699-87383737 is ready for SSH connections 2025-12-23 03:32:20,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:32:20,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.113.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-23 03:32:20,456 - DEBUG - ping -s 56 -c 3 -W 1 86.113.162.3 2025-12-23 03:32:24,193 - DEBUG - PING 86.113.162.3 (86.113.162.3): 56 data bytes 64 bytes from 86.113.162.3: seq=0 ttl=62 time=7.245 ms 64 bytes from 86.113.162.3: seq=1 ttl=62 time=0.835 ms 64 bytes from 86.113.162.3: seq=2 ttl=62 time=0.857 ms --- 86.113.162.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.979/7.245 ms 2025-12-23 03:32:24,193 - INFO - Ping to IP 86.113.162.3 from VM ctest-TestRoutersBasic-43228699-04459547 passed 2025-12-23 03:32:24,193 - INFO - Deleting interface with subnet_id 6cbe6648-ed17-47d0-82f6-afb2333ef20e, port_id None from router a89e9fa0-f120-488b-8018-214b3fdbafc0 2025-12-23 03:32:24,373 - INFO - Deleting VM ctest-TestRoutersBasic-43228699-87383737 2025-12-23 03:32:24,455 - INFO - Deleting VM ctest-TestRoutersBasic-43228699-04459547 2025-12-23 03:32:24,538 - INFO - Deleting VN ctest-ext_vn-45185237 2025-12-23 03:32:24,610 - DEBUG - VN c7966291-6f24-4191-959b-0083d2aa15ab still in use: Unable to complete operation on network c7966291-6f24-4191-959b-0083d2aa15ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9943866f-d58f-4085-889d-b2bda5dd5020'] 2025-12-23 03:32:24,610 - WARNING - Deleting VN ctest-ext_vn-45185237 failed..Will retry 2025-12-23 03:32:26,706 - DEBUG - Response for deleting network () 2025-12-23 03:32:26,706 - INFO - Deleting VN ctest-vn-08830159 2025-12-23 03:32:26,803 - DEBUG - Response for deleting network () 2025-12-23 03:32:27,059 - DEBUG - No XMPP flaps were noticed during the test
2025-12-23 03:32:27,059 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-23 03:32:27,059 - INFO - -------------------------------------------------------------------------------- 2025-12-23 03:32:27,773 - INFO - Deleted project: ctest-TestRoutersBasic-43228699, ID : 519bf782-a815-4ece-bda0-b732d694598e