2026-04-28 19:03:10,598 - INFO - Domain Default found not creating 2026-04-28 19:03:10,766 - INFO - Project ctest-TestBasicPolicy-65526819 not found, creating it 2026-04-28 19:03:11,232 - INFO - Created Project:ctest-TestBasicPolicy-65526819, ID : c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:12,723 - INFO - ================================================================================ 2026-04-28 19:03:12,723 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 19:03:12,723 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-28 19:03:12,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-04-28 19:03:12,977 - INFO - Initial checks done. Running the testcase now 2026-04-28 19:03:12,977 - INFO - 2026-04-28 19:03:13,526 - DEBUG - Response for create_network : {'network': {'id': '9b77a055-adec-4470-856f-3e43bb1ccbdc', 'name': 'ctest-vn-49118407', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'project_id': 'c9896d6739034ca48e125f07c2ca8c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-vn-49118407'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:03:13,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '03cc83e3-1438-4223-8795-c1083c7d0912', 'name': '', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'network_id': '9b77a055-adec-4470-856f-3e43bb1ccbdc', 'ip_version': 4, 'cidr': '121.213.216.128/26', 'allocation_pools': [{'start': '121.213.216.130', 'end': '121.213.216.190'}], 'gateway_ip': '121.213.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.213.216.130', 'tags': [], 'project_id': 'c9896d6739034ca48e125f07c2ca8c44'}} 2026-04-28 19:03:13,706 - INFO - Created VN ctest-vn-49118407 2026-04-28 19:03:13,759 - DEBUG - VN ctest-vn-49118407 UUID is 9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:14,074 - DEBUG - Response for create_network : {'network': {'id': 'e42b489a-82eb-47ab-b3a8-751397fb40ad', 'name': 'ctest-vn-65081606', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'project_id': 'c9896d6739034ca48e125f07c2ca8c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-vn-65081606'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:03:14,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '824307f8-9051-438a-b171-e39792783054', 'name': '', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'network_id': 'e42b489a-82eb-47ab-b3a8-751397fb40ad', 'ip_version': 4, 'cidr': '223.9.42.0/26', 'allocation_pools': [{'start': '223.9.42.2', 'end': '223.9.42.62'}], 'gateway_ip': '223.9.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.9.42.2', 'tags': [], 'project_id': 'c9896d6739034ca48e125f07c2ca8c44'}} 2026-04-28 19:03:14,299 - INFO - Created VN ctest-vn-65081606 2026-04-28 19:03:14,351 - DEBUG - VN ctest-vn-65081606 UUID is e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:14,463 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-28 19:03:14,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b77a055-adec-4470-856f-3e43bb1ccbdc', 'name': 'ctest-vn-49118407', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'project_id': 'c9896d6739034ca48e125f07c2ca8c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03cc83e3-1438-4223-8795-c1083c7d0912'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-vn-49118407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-policy-allow-all-10542033']], 'subnet_ipam': [{'subnet_cidr': '121.213.216.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:03:14,986 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e42b489a-82eb-47ab-b3a8-751397fb40ad', 'name': 'ctest-vn-65081606', 'tenant_id': 'c9896d6739034ca48e125f07c2ca8c44', 'project_id': 'c9896d6739034ca48e125f07c2ca8c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['824307f8-9051-438a-b171-e39792783054'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-vn-65081606'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-policy-allow-all-10542033']], 'subnet_ipam': [{'subnet_cidr': '223.9.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:03:15,155 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:15,454 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:15,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:15,504 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:15,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:15,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:15,608 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2e639844-0fba-46ae-87d2-2583d1420da8 2026-04-28 19:03:15,614 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 19:03:15,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,623 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:15,636 - INFO - Verified VN network id 11 for VN 9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,637 - INFO - Verifications in API Server for VN ctest-vn-49118407 passed 2026-04-28 19:03:15,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,646 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:15,653 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:15,661 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2e639844-0fba-46ae-87d2-2583d1420da8 2026-04-28 19:03:15,675 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65526819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11202598887958004848', 'uuid-lslong': '9614972190082255836'}, 'enable': 'true', 'created': '2026-04-28T19:03:13', 'last-modified': '2026-04-28T19:03:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934013'} 2026-04-28 19:03:15,681 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 19:03:15,681 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49118407 passed 2026-04-28 19:03:15,681 - DEBUG - ====Verifying policy data for ctest-vn-49118407 in API_Server ====== 2026-04-28 19:03:15,681 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:15,686 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:15,696 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:15,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b77a055-adec-4470-856f-3e43bb1ccbdc 2026-04-28 19:03:15,775 - DEBUG - ==>Verifying data for policy with id: 0ccb803d-15f8-4f11-aa6a-356be8dfae72, fqn: ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-policy-allow-all-10542033'] 2026-04-28 19:03:15,775 - INFO - VN ctest-vn-49118407 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 19:03:15,775 - DEBUG - Verifying the vn in opserver 2026-04-28 19:03:15,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407 virtual network link through opserver 10.0.0.38 2026-04-28 19:03:15,775 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 19:03:16,073 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 19:03:16,139 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407?flat'} 2026-04-28 19:03:16,139 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407 is found in opserver 2026-04-28 19:03:16,151 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 19:03:16,156 - DEBUG - VRF ids for VN ctest-vn-49118407: {} 2026-04-28 19:03:16,156 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:16,162 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:16,172 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:16,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,262 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:16,269 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:16,275 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/376a5a54-39bc-4d4a-b4da-bad0d20ec550 2026-04-28 19:03:16,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 19:03:16,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:16,303 - INFO - Verified VN network id 12 for VN e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,303 - INFO - Verifications in API Server for VN ctest-vn-65081606 passed 2026-04-28 19:03:16,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,312 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:16,322 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:16,330 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/376a5a54-39bc-4d4a-b4da-bad0d20ec550 2026-04-28 19:03:16,341 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65526819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16441314693104748459', 'uuid-lslong': '12945725855891144877'}, 'enable': 'true', 'created': '2026-04-28T19:03:14', 'last-modified': '2026-04-28T19:03:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376575'} 2026-04-28 19:03:16,347 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 19:03:16,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65081606 passed 2026-04-28 19:03:16,347 - DEBUG - ====Verifying policy data for ctest-vn-65081606 in API_Server ====== 2026-04-28 19:03:16,347 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:16,352 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:16,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:16,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e42b489a-82eb-47ab-b3a8-751397fb40ad 2026-04-28 19:03:16,441 - DEBUG - ==>Verifying data for policy with id: 0ccb803d-15f8-4f11-aa6a-356be8dfae72, fqn: ['default-domain', 'ctest-TestBasicPolicy-65526819', 'ctest-policy-allow-all-10542033'] 2026-04-28 19:03:16,441 - INFO - VN ctest-vn-65081606 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 19:03:16,442 - DEBUG - Verifying the vn in opserver 2026-04-28 19:03:16,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606 virtual network link through opserver 10.0.0.38 2026-04-28 19:03:16,442 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 19:03:16,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606?flat'} 2026-04-28 19:03:16,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-65081606 is found in opserver 2026-04-28 19:03:16,460 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 19:03:16,464 - DEBUG - VRF ids for VN ctest-vn-65081606: {} 2026-04-28 19:03:16,523 - DEBUG - Services list from nova: [, , ] 2026-04-28 19:03:17,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5707-1) 2026-04-28 19:03:18,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5707-1) 2026-04-28 19:03:18,682 - INFO - Waiting for VM ctest-TestBasicPolicy-65526819-90030102 to be up.. 2026-04-28 19:03:18,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 19:03:23,842 - DEBUG - VM is in ACTIVE state now 2026-04-28 19:03:23,842 - INFO - VM name : ctest-TestBasicPolicy-65526819-90030102 2026-04-28 19:03:23,916 - DEBUG - VM ctest-TestBasicPolicy-65526819-90030102 ID is 6d701ab7-a092-4adb-a58b-704da2c21ecd 2026-04-28 19:03:23,934 - DEBUG - VM ctest-TestBasicPolicy-65526819-90030102 launched on Node cn-jenkins-deploy-platform-ansible-os-5707-1 2026-04-28 19:03:24,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6d701ab7-a092-4adb-a58b-704da2c21ecd 2026-04-28 19:03:24,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a72a0563-1e59-464d-b8aa-bb0c519bdc1b 2026-04-28 19:03:27,281 - 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') 2026-04-28 19:03:27,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65526819-90030102 failed! 2026-04-28 19:03:27,335 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65526819:ctest-vn-49118407 is 121.213.216.129 and allocation pool is NOT set 2026-04-28 19:03:29,400 - 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=7.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.637/5.193/7.749/2.556 ms') 2026-04-28 19:03:29,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65526819-90030102 passed 2026-04-28 19:03:29,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:03:29,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65526819-90030102, IP 121.213.216.131, Port 22 2026-04-28 19:03:29,721 - DEBUG - VM ctest-TestBasicPolicy-65526819-90030102 is ready for SSH connections 2026-04-28 19:03:29,721 - INFO - Waiting for VM ctest-TestBasicPolicy-65526819-11760156 to be up.. 2026-04-28 19:03:29,827 - DEBUG - VM is in ACTIVE state now 2026-04-28 19:03:29,827 - INFO - VM name : ctest-TestBasicPolicy-65526819-11760156 2026-04-28 19:03:29,917 - DEBUG - VM ctest-TestBasicPolicy-65526819-11760156 ID is 245c539c-b98a-46be-b53c-89f9710d0872 2026-04-28 19:03:29,917 - DEBUG - VM ctest-TestBasicPolicy-65526819-11760156 launched on Node cn-jenkins-deploy-platform-ansible-os-5707-1 2026-04-28 19:03:30,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/245c539c-b98a-46be-b53c-89f9710d0872 2026-04-28 19:03:30,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dde1dea4-d967-4209-8fc2-111063c4ea95 2026-04-28 19:03:31,261 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.740 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.740/1.769/2.798/1.029 ms') 2026-04-28 19:03:31,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65526819-11760156 passed 2026-04-28 19:03:31,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:03:31,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65526819-11760156, IP 223.9.42.3, Port 22 2026-04-28 19:03:31,566 - DEBUG - VM ctest-TestBasicPolicy-65526819-11760156 is ready for SSH connections 2026-04-28 19:03:31,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:03:31,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.9.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 19:03:31,567 - DEBUG - ping -s 56 -c 3 -W 1 223.9.42.3 2026-04-28 19:03:35,626 - DEBUG - PING 223.9.42.3 (223.9.42.3): 56 data bytes 64 bytes from 223.9.42.3: seq=0 ttl=63 time=3.407 ms 64 bytes from 223.9.42.3: seq=1 ttl=63 time=0.817 ms 64 bytes from 223.9.42.3: seq=2 ttl=63 time=0.902 ms --- 223.9.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.708/3.407 ms 2026-04-28 19:03:35,627 - INFO - Ping to IP 223.9.42.3 from VM ctest-TestBasicPolicy-65526819-90030102 passed 2026-04-28 19:03:35,803 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0ccb803d-15f8-4f11-aa6a-356be8dfae72", "href": "http://10.0.0.38:8082/network-policy/0ccb803d-15f8-4f11-aa6a-356be8dfae72"}} 2026-04-28 19:03:35,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:03:35,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.9.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 19:03:35,803 - DEBUG - ping -s 56 -c 3 -W 1 223.9.42.3 2026-04-28 19:03:39,016 - DEBUG - PING 223.9.42.3 (223.9.42.3): 56 data bytes --- 223.9.42.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 19:03:39,017 - WARNING - Ping to IP 223.9.42.3 from VM ctest-TestBasicPolicy-65526819-90030102 failed 2026-04-28 19:03:39,017 - INFO - Deleting VM ctest-TestBasicPolicy-65526819-11760156 2026-04-28 19:03:39,102 - INFO - Deleting VM ctest-TestBasicPolicy-65526819-90030102 2026-04-28 19:03:39,560 - INFO - Deleted policy ctest-policy-allow-all-10542033 2026-04-28 19:03:39,560 - INFO - Deleting VN ctest-vn-65081606 2026-04-28 19:03:39,616 - DEBUG - VN e42b489a-82eb-47ab-b3a8-751397fb40ad still in use: Unable to complete operation on network e42b489a-82eb-47ab-b3a8-751397fb40ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5efb16bd-c0c0-41c2-87ec-1f2f2158662d'] 2026-04-28 19:03:39,616 - WARNING - Deleting VN ctest-vn-65081606 failed..Will retry 2026-04-28 19:03:41,726 - DEBUG - Response for deleting network () 2026-04-28 19:03:41,726 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c4d7f18e-a7a4-4e87-a62b-5744d240a66d 2026-04-28 19:03:41,734 - DEBUG - Response Code: 404 2026-04-28 19:03:41,734 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:41,739 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:41,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:41,873 - INFO - Validated that VN ctest-vn-65081606 is not found in API Server 2026-04-28 19:03:41,884 - DEBUG - VN ctest-vn-65081606 is not present in Agent 10.0.0.38 2026-04-28 19:03:41,884 - INFO - Validated that VN ctest-vn-65081606 is not in any agent 2026-04-28 19:03:41,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65081606 info 2026-04-28 19:03:41,898 - INFO - Deleting VN ctest-vn-49118407 2026-04-28 19:03:42,007 - DEBUG - Response for deleting network () 2026-04-28 19:03:42,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11f650c9-d837-4d9f-88c5-240894093ac7 2026-04-28 19:03:42,016 - DEBUG - Response Code: 404 2026-04-28 19:03:42,017 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 19:03:42,023 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08ebec29-9dfe-4d37-9485-0f6aa67ef17e 2026-04-28 19:03:42,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/c9896d67-3903-4ca4-8e12-5f07c2ca8c44 2026-04-28 19:03:42,145 - INFO - Validated that VN ctest-vn-49118407 is not found in API Server 2026-04-28 19:03:42,155 - DEBUG - VN ctest-vn-49118407 is not present in Agent 10.0.0.38 2026-04-28 19:03:42,155 - INFO - Validated that VN ctest-vn-49118407 is not in any agent 2026-04-28 19:03:42,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49118407 info 2026-04-28 19:03:42,424 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 19:03:42,424 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-28 19:03:42,424 - INFO - -------------------------------------------------------------------------------- 2026-04-28 19:03:43,118 - INFO - Deleted project: ctest-TestBasicPolicy-65526819, ID : c9896d67-3903-4ca4-8e12-5f07c2ca8c44