2025-06-09 02:01:26,154 - INFO - Reading existing Domain with UUID 7aee698f-3aa6-4114-8aa9-0ff605a1286e 2025-06-09 02:01:26,166 - INFO - Using existing domain ['admin_domain'](7aee698f-3aa6-4114-8aa9-0ff605a1286e) 2025-06-09 02:01:26,358 - INFO - Project ctest-TestRoutersBasic-82268373 not found, creating it 2025-06-09 02:01:26,848 - INFO - Created Project:ctest-TestRoutersBasic-82268373, ID : ca569e27-35ea-46c6-8bf4-e71221c50054 2025-06-09 02:01:28,568 - INFO - ================================================================================ 2025-06-09 02:01:28,568 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-09 02:01:28,568 - 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-06-09 02:01:28,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-06-09 02:01:28,942 - INFO - Initial checks done. Running the testcase now 2025-06-09 02:01:28,942 - INFO - 2025-06-09 02:01:29,721 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82268373 2025-06-09 02:01:29,821 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82268373 2025-06-09 02:01:30,160 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82268373', 'default']} 2025-06-09 02:01:30,653 - DEBUG - Response for create_network : {'network': {'id': 'c772cd2a-44eb-479e-9f3d-7e07ee3ffea2', 'name': 'ctest-vn-91531463', 'tenant_id': 'ca569e2735ea46c68bf4e71221c50054', 'project_id': 'ca569e2735ea46c68bf4e71221c50054', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82268373', 'ctest-vn-91531463'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-09 02:01:30,870 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c31fd6f0-8741-4537-ba63-638830199c75', 'name': '', 'tenant_id': 'ca569e2735ea46c68bf4e71221c50054', 'network_id': 'c772cd2a-44eb-479e-9f3d-7e07ee3ffea2', 'ip_version': 4, 'cidr': '38.164.76.0/26', 'allocation_pools': [{'start': '38.164.76.2', 'end': '38.164.76.62'}], 'gateway_ip': '38.164.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-09T02:01:30.755386', 'updated_at': '2025-06-09T02:01:30.755386', 'dns_server_address': '38.164.76.2', 'tags': [], 'project_id': 'ca569e2735ea46c68bf4e71221c50054'}} 2025-06-09 02:01:30,935 - INFO - Created VN ctest-vn-91531463 2025-06-09 02:01:30,993 - DEBUG - VN ctest-vn-91531463 UUID is c772cd2a-44eb-479e-9f3d-7e07ee3ffea2 2025-06-09 02:01:31,509 - DEBUG - Response for create_network : {'network': {'id': '424d9061-f8fc-4a95-964f-d535bce38387', 'name': 'ctest-ext_vn-28167823', 'tenant_id': 'ca569e2735ea46c68bf4e71221c50054', 'project_id': 'ca569e2735ea46c68bf4e71221c50054', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82268373', 'ctest-ext_vn-28167823'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-09 02:01:31,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '2db61420-592b-4d59-9bb8-0921024093bd', 'name': '', 'tenant_id': 'ca569e2735ea46c68bf4e71221c50054', 'network_id': '424d9061-f8fc-4a95-964f-d535bce38387', 'ip_version': 4, 'cidr': '6.216.122.0/26', 'allocation_pools': [{'start': '6.216.122.2', 'end': '6.216.122.62'}], 'gateway_ip': '6.216.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-09T02:01:31.608599', 'updated_at': '2025-06-09T02:01:31.608599', 'dns_server_address': '6.216.122.2', 'tags': [], 'project_id': 'ca569e2735ea46c68bf4e71221c50054'}} 2025-06-09 02:01:31,771 - INFO - Created VN ctest-ext_vn-28167823 2025-06-09 02:01:31,829 - DEBUG - VN ctest-ext_vn-28167823 UUID is 424d9061-f8fc-4a95-964f-d535bce38387 2025-06-09 02:01:32,122 - DEBUG - Services list from nova: [, , ] 2025-06-09 02:01:33,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-544-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-544-1) 2025-06-09 02:01:34,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-544-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-544-1) 2025-06-09 02:01:34,661 - INFO - Setting gateway for router 201b8427-f779-4cc6-979b-737802c9801c to network 424d9061-f8fc-4a95-964f-d535bce38387 2025-06-09 02:01:34,845 - INFO - Adding interface with subnet_id c31fd6f0-8741-4537-ba63-638830199c75, port_id None to router 201b8427-f779-4cc6-979b-737802c9801c 2025-06-09 02:01:35,527 - INFO - Waiting for VM ctest-TestRoutersBasic-82268373-61428546 to be up.. 2025-06-09 02:01:35,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 02:01:40,839 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:01:40,839 - INFO - VM name : ctest-TestRoutersBasic-82268373-61428546 2025-06-09 02:01:40,986 - DEBUG - VM ctest-TestRoutersBasic-82268373-61428546 ID is 233437c7-40cc-4a9a-b586-1e9dfe6fb51d 2025-06-09 02:01:41,010 - DEBUG - VM ctest-TestRoutersBasic-82268373-61428546 launched on Node cn-jenkins-deploy-platform-juju-os-544-1 2025-06-09 02:01:41,189 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/233437c7-40cc-4a9a-b586-1e9dfe6fb51d 2025-06-09 02:01:41,535 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/233437c7-40cc-4a9a-b586-1e9dfe6fb51d 2025-06-09 02:01:41,622 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/7b837c71-955a-4815-8748-68fc16cd19bc 2025-06-09 02:01:45,100 - 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 1019ms') 2025-06-09 02:01:45,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82268373-61428546 failed! 2025-06-09 02:01:45,161 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-82268373:ctest-vn-91531463 is 38.164.76.1 and allocation pool is NOT set 2025-06-09 02:01:47,245 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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.526/3.147/5.769/2.621 ms') 2025-06-09 02:01:47,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82268373-61428546 passed 2025-06-09 02:01:47,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:01:47,405 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82268373-61428546, IP 38.164.76.3, Port 22 2025-06-09 02:01:47,624 - DEBUG - VM ctest-TestRoutersBasic-82268373-61428546 is ready for SSH connections 2025-06-09 02:01:47,624 - INFO - Waiting for VM ctest-TestRoutersBasic-82268373-88710314 to be up.. 2025-06-09 02:01:47,757 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:01:47,757 - INFO - VM name : ctest-TestRoutersBasic-82268373-88710314 2025-06-09 02:01:47,897 - DEBUG - VM ctest-TestRoutersBasic-82268373-88710314 ID is 1a25aa37-d002-477a-813b-8034cf1a2ba0 2025-06-09 02:01:47,897 - DEBUG - VM ctest-TestRoutersBasic-82268373-88710314 launched on Node cn-jenkins-deploy-platform-juju-os-544-1 2025-06-09 02:01:48,035 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/1a25aa37-d002-477a-813b-8034cf1a2ba0 2025-06-09 02:01:48,110 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/5c46083f-776f-4b27-bcee-3da78cd32c83 2025-06-09 02:01:49,575 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.582 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.582/2.350/4.118/1.768 ms') 2025-06-09 02:01:49,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82268373-88710314 passed 2025-06-09 02:01:49,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:01:49,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82268373-88710314, IP 6.216.122.3, Port 22 2025-06-09 02:01:49,959 - DEBUG - VM ctest-TestRoutersBasic-82268373-88710314 is ready for SSH connections 2025-06-09 02:01:49,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:01:49,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.216.122.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-09 02:01:49,961 - DEBUG - ping -s 56 -c 3 -W 1 6.216.122.3 2025-06-09 02:01:53,629 - DEBUG - PING 6.216.122.3 (6.216.122.3): 56 data bytes 64 bytes from 6.216.122.3: seq=0 ttl=62 time=8.279 ms 64 bytes from 6.216.122.3: seq=1 ttl=62 time=0.887 ms 64 bytes from 6.216.122.3: seq=2 ttl=62 time=1.780 ms --- 6.216.122.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/3.648/8.279 ms 2025-06-09 02:01:53,629 - INFO - Ping to IP 6.216.122.3 from VM ctest-TestRoutersBasic-82268373-61428546 passed 2025-06-09 02:01:53,629 - INFO - Deleting interface with subnet_id c31fd6f0-8741-4537-ba63-638830199c75, port_id None from router 201b8427-f779-4cc6-979b-737802c9801c 2025-06-09 02:01:54,008 - INFO - Deleting VM ctest-TestRoutersBasic-82268373-88710314 2025-06-09 02:01:54,107 - INFO - Deleting VM ctest-TestRoutersBasic-82268373-61428546 2025-06-09 02:01:54,218 - INFO - Deleting VN ctest-ext_vn-28167823 2025-06-09 02:01:54,396 - DEBUG - VN 424d9061-f8fc-4a95-964f-d535bce38387 still in use: Unable to complete operation on network 424d9061-f8fc-4a95-964f-d535bce38387. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de05a11b-2fb0-46cf-a5c9-46d47526bae7'] 2025-06-09 02:01:54,396 - WARNING - Deleting VN ctest-ext_vn-28167823 failed..Will retry 2025-06-09 02:01:56,563 - DEBUG - Response for deleting network () 2025-06-09 02:01:56,564 - INFO - Deleting VN ctest-vn-91531463 2025-06-09 02:01:56,730 - DEBUG - Response for deleting network () 2025-06-09 02:01:57,114 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 02:01:57,114 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-06-09 02:01:57,114 - INFO - -------------------------------------------------------------------------------- 2025-06-09 02:01:57,853 - INFO - Deleted project: ctest-TestRoutersBasic-82268373, ID : ca569e27-35ea-46c6-8bf4-e71221c50054