2026-11-07 02:33:51,207 - INFO - Domain Default found not creating 2026-11-07 02:33:51,369 - INFO - Project ctest-TestBasicPolicy-49525715 not found, creating it 2026-11-07 02:33:51,829 - INFO - Created Project:ctest-TestBasicPolicy-49525715, ID : a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:33:53,373 - INFO - ================================================================================ 2026-11-07 02:33:53,373 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-07 02:33:53,373 - 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-11-07 02:33:53,635 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-07 02:33:53,635 - INFO - Initial checks done. Running the testcase now 2026-11-07 02:33:53,635 - INFO - 2026-11-07 02:33:54,236 - DEBUG - Response for create_network : {'network': {'id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'name': 'ctest-vn-31672729', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-31672729'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:33:54,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff49b23b-fbf7-488a-b124-d8455a451158', 'name': '', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'network_id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'ip_version': 4, 'cidr': '57.27.82.0/26', 'allocation_pools': [{'start': '57.27.82.2', 'end': '57.27.82.62'}], 'gateway_ip': '57.27.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.27.82.2', 'tags': [], 'project_id': 'a5707683920f413d9c4364413458ed9d'}} 2026-11-07 02:33:54,467 - INFO - Created VN ctest-vn-31672729 2026-11-07 02:33:54,519 - DEBUG - VN ctest-vn-31672729 UUID is a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:54,846 - DEBUG - Response for create_network : {'network': {'id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'name': 'ctest-vn-82130717', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-82130717'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:33:55,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b36b8ecc-d953-4aa0-bdbd-763b7146b482', 'name': '', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'network_id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'ip_version': 4, 'cidr': '139.116.179.128/26', 'allocation_pools': [{'start': '139.116.179.130', 'end': '139.116.179.190'}], 'gateway_ip': '139.116.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.116.179.130', 'tags': [], 'project_id': 'a5707683920f413d9c4364413458ed9d'}} 2026-11-07 02:33:55,080 - INFO - Created VN ctest-vn-82130717 2026-11-07 02:33:55,135 - DEBUG - VN ctest-vn-82130717 UUID is bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:55,287 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729, 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-49525715:ctest-vn-82130717, 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-11-07 02:33:55,582 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'name': 'ctest-vn-31672729', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ff49b23b-fbf7-488a-b124-d8455a451158'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-31672729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']], 'subnet_ipam': [{'subnet_cidr': '57.27.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:33:55,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'name': 'ctest-vn-82130717', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b36b8ecc-d953-4aa0-bdbd-763b7146b482'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-82130717'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']], 'subnet_ipam': [{'subnet_cidr': '139.116.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:33:55,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:33:56,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:33:56,317 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:33:56,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:33:56,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:33:56,441 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:33:56,448 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37ceed1c-e3ae-4ffc-a12f-906c4c024c12 2026-11-07 02:33:56,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 02:33:56,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:33:56,476 - INFO - Verified VN network id 12 for VN a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,477 - INFO - Verifications in API Server for VN ctest-vn-31672729 passed 2026-11-07 02:33:56,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:33:56,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:33:56,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37ceed1c-e3ae-4ffc-a12f-906c4c024c12 2026-11-07 02:33:56,514 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49525715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11644677932779455506', 'uuid-lslong': '9606636351077296012'}, 'enable': 'true', 'created': '2026-11-07T02:33:54', 'last-modified': '2026-11-07T02:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957313'} 2026-11-07 02:33:56,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 02:33:56,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31672729 passed 2026-11-07 02:33:56,522 - DEBUG - ====Verifying policy data for ctest-vn-31672729 in API_Server ====== 2026-11-07 02:33:56,522 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:33:56,527 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:33:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:33:56,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c 2026-11-07 02:33:56,625 - DEBUG - ==>Verifying data for policy with id: 0b0971bb-cc86-4c24-ada0-ad913f1fe460, fqn: ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005'] 2026-11-07 02:33:56,625 - INFO - VN ctest-vn-31672729 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 02:33:56,626 - DEBUG - Verifying the vn in opserver 2026-11-07 02:33:56,626 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729 virtual network link through opserver 10.0.0.38 2026-11-07 02:33:56,626 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-07 02:33:56,946 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-07 02:33:56,998 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729?flat'} 2026-11-07 02:33:56,998 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729 is found in opserver 2026-11-07 02:33:57,009 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 02:33:57,015 - DEBUG - VRF ids for VN ctest-vn-31672729: {} 2026-11-07 02:33:57,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:33:57,021 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:33:57,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:33:57,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:33:57,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:33:57,129 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/084fb106-a582-4819-8664-28db07e0ec8e 2026-11-07 02:33:57,135 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 02:33:57,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,143 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:33:57,156 - INFO - Verified VN network id 13 for VN bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,156 - INFO - Verifications in API Server for VN ctest-vn-82130717 passed 2026-11-07 02:33:57,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,165 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:33:57,171 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:33:57,177 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/084fb106-a582-4819-8664-28db07e0ec8e 2026-11-07 02:33:57,188 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49525715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13804446392655692595', 'uuid-lslong': '10120739896228917182'}, 'enable': 'true', 'created': '2026-11-07T02:33:54', 'last-modified': '2026-11-07T02:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412552'} 2026-11-07 02:33:57,195 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 02:33:57,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82130717 passed 2026-11-07 02:33:57,195 - DEBUG - ====Verifying policy data for ctest-vn-82130717 in API_Server ====== 2026-11-07 02:33:57,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:33:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:33:57,210 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:33:57,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe 2026-11-07 02:33:57,290 - DEBUG - ==>Verifying data for policy with id: 0b0971bb-cc86-4c24-ada0-ad913f1fe460, fqn: ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005'] 2026-11-07 02:33:57,290 - INFO - VN ctest-vn-82130717 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 02:33:57,290 - DEBUG - Verifying the vn in opserver 2026-11-07 02:33:57,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717 virtual network link through opserver 10.0.0.38 2026-11-07 02:33:57,291 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-07 02:33:57,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717?flat'} 2026-11-07 02:33:57,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717 is found in opserver 2026-11-07 02:33:57,312 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 02:33:57,316 - DEBUG - VRF ids for VN ctest-vn-82130717: {} 2026-11-07 02:33:57,373 - DEBUG - Services list from nova: [, , ] 2026-11-07 02:33:57,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6494-1) 2026-11-07 02:33:58,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6494-1) 2026-11-07 02:33:58,152 - INFO - Waiting for VM ctest-TestBasicPolicy-49525715-80503834 to be up.. 2026-11-07 02:33:58,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:03,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:08,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:13,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:18,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:23,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:28,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:34:33,734 - DEBUG - VM is in ACTIVE state now 2026-11-07 02:34:33,735 - INFO - VM name : ctest-TestBasicPolicy-49525715-80503834 2026-11-07 02:34:33,820 - DEBUG - VM ctest-TestBasicPolicy-49525715-80503834 ID is fac67e99-490f-472f-985b-1468ca930b15 2026-11-07 02:34:33,848 - DEBUG - VM ctest-TestBasicPolicy-49525715-80503834 launched on Node cn-jenkins-deploy-platform-ansible-os-6494-1 2026-11-07 02:34:33,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fac67e99-490f-472f-985b-1468ca930b15 2026-11-07 02:34:33,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b1f7a1da-e012-4bdd-a71b-5847e4e59363 2026-11-07 02:34:37,189 - 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 1002ms') 2026-11-07 02:34:37,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49525715-80503834 failed! 2026-11-07 02:34:37,243 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729 is 57.27.82.1 and allocation pool is NOT set 2026-11-07 02:34:39,307 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.886/3.305/1.419 ms') 2026-11-07 02:34:39,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49525715-80503834 passed 2026-11-07 02:34:39,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:34:39,456 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49525715-80503834, IP 57.27.82.3, Port 22 2026-11-07 02:34:39,618 - DEBUG - VM ctest-TestBasicPolicy-49525715-80503834 is ready for SSH connections 2026-11-07 02:34:39,618 - INFO - Waiting for VM ctest-TestBasicPolicy-49525715-45865090 to be up.. 2026-11-07 02:34:39,700 - DEBUG - VM is in ACTIVE state now 2026-11-07 02:34:39,700 - INFO - VM name : ctest-TestBasicPolicy-49525715-45865090 2026-11-07 02:34:39,776 - DEBUG - VM ctest-TestBasicPolicy-49525715-45865090 ID is ce808e85-13c7-42de-a750-cf1e42e8b80c 2026-11-07 02:34:39,777 - DEBUG - VM ctest-TestBasicPolicy-49525715-45865090 launched on Node cn-jenkins-deploy-platform-ansible-os-6494-1 2026-11-07 02:34:39,855 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce808e85-13c7-42de-a750-cf1e42e8b80c 2026-11-07 02:34:39,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/34d040ff-f09f-4e0c-946e-084c6488f92f 2026-11-07 02:34:43,105 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-11-07 02:34:43,106 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49525715-45865090 failed! 2026-11-07 02:34:43,159 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717 is 139.116.179.129 and allocation pool is NOT set 2026-11-07 02:34:45,225 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/2.019/3.587/1.568 ms') 2026-11-07 02:34:45,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49525715-45865090 passed 2026-11-07 02:34:45,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:34:45,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49525715-45865090, IP 139.116.179.131, Port 22 2026-11-07 02:34:45,535 - DEBUG - VM ctest-TestBasicPolicy-49525715-45865090 is ready for SSH connections 2026-11-07 02:34:45,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:34:45,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.116.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-07 02:34:45,535 - DEBUG - ping -s 56 -c 3 -W 1 139.116.179.131 2026-11-07 02:34:49,434 - DEBUG - PING 139.116.179.131 (139.116.179.131): 56 data bytes 64 bytes from 139.116.179.131: seq=0 ttl=63 time=3.857 ms 64 bytes from 139.116.179.131: seq=1 ttl=63 time=0.852 ms 64 bytes from 139.116.179.131: seq=2 ttl=63 time=0.810 ms --- 139.116.179.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.839/3.857 ms 2026-11-07 02:34:49,434 - INFO - Ping to IP 139.116.179.131 from VM ctest-TestBasicPolicy-49525715-80503834 passed 2026-11-07 02:34:49,619 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b0971bb-cc86-4c24-ada0-ad913f1fe460", "href": "http://10.0.0.38:8082/network-policy/0b0971bb-cc86-4c24-ada0-ad913f1fe460"}} 2026-11-07 02:34:49,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:34:49,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.116.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-07 02:34:49,619 - DEBUG - ping -s 56 -c 3 -W 1 139.116.179.131 2026-11-07 02:34:52,743 - DEBUG - PING 139.116.179.131 (139.116.179.131): 56 data bytes 64 bytes from 139.116.179.131: seq=0 ttl=63 time=1.465 ms --- 139.116.179.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.465/1.465/1.465 ms 2026-11-07 02:34:52,743 - WARNING - Ping to IP 139.116.179.131 from VM ctest-TestBasicPolicy-49525715-80503834 failed 2026-11-07 02:34:52,743 - INFO - Deleting VM ctest-TestBasicPolicy-49525715-45865090 2026-11-07 02:34:52,833 - INFO - Deleting VM ctest-TestBasicPolicy-49525715-80503834 2026-11-07 02:34:53,174 - INFO - Deleted policy ctest-policy-allow-all-71552005 2026-11-07 02:34:53,175 - INFO - Deleting VN ctest-vn-82130717 2026-11-07 02:34:53,204 - DEBUG - VN bf933eda-e32a-4333-8c74-17504ad92fbe still in use: Unable to complete operation on network bf933eda-e32a-4333-8c74-17504ad92fbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa0559c8-2d64-4622-adc8-1f3b242f9f90'] 2026-11-07 02:34:53,204 - WARNING - Deleting VN ctest-vn-82130717 failed..Will retry 2026-11-07 02:34:55,236 - DEBUG - VN bf933eda-e32a-4333-8c74-17504ad92fbe still in use: Unable to complete operation on network bf933eda-e32a-4333-8c74-17504ad92fbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e1fe928-d223-4f45-a10d-231b59bc6d50'] 2026-11-07 02:34:55,236 - WARNING - Deleting VN ctest-vn-82130717 failed..Will retry 2026-11-07 02:34:57,341 - DEBUG - Response for deleting network () 2026-11-07 02:34:57,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd 2026-11-07 02:34:57,346 - DEBUG - Response Code: 404 2026-11-07 02:34:57,347 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:34:57,352 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:34:57,406 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:34:57,479 - INFO - Validated that VN ctest-vn-82130717 is not found in API Server 2026-11-07 02:34:57,491 - DEBUG - VN ctest-vn-82130717 is not present in Agent 10.0.0.38 2026-11-07 02:34:57,491 - INFO - Validated that VN ctest-vn-82130717 is not in any agent 2026-11-07 02:34:57,506 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82130717 info 2026-11-07 02:34:57,507 - INFO - Deleting VN ctest-vn-31672729 2026-11-07 02:34:57,604 - DEBUG - Response for deleting network () 2026-11-07 02:34:57,605 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812 2026-11-07 02:34:57,612 - DEBUG - Response Code: 404 2026-11-07 02:34:57,612 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-07 02:34:57,618 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851 2026-11-07 02:34:57,672 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d 2026-11-07 02:34:57,742 - INFO - Validated that VN ctest-vn-31672729 is not found in API Server 2026-11-07 02:34:57,754 - DEBUG - VN ctest-vn-31672729 is not present in Agent 10.0.0.38 2026-11-07 02:34:57,754 - INFO - Validated that VN ctest-vn-31672729 is not in any agent 2026-11-07 02:34:57,768 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31672729 info 2026-11-07 02:34:58,025 - DEBUG - No XMPP flaps were noticed during the test 2026-11-07 02:34:58,025 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-11-07 02:34:58,025 - INFO - -------------------------------------------------------------------------------- 2026-11-07 02:34:58,760 - INFO - Deleted project: ctest-TestBasicPolicy-49525715, ID : a5707683-920f-413d-9c43-64413458ed9d