2026-09-09 04:30:17,213 - INFO - Domain Default found not creating 2026-09-09 04:30:17,392 - INFO - Project ctest-TestBasicPolicy-32015493 not found, creating it 2026-09-09 04:30:17,907 - INFO - Created Project:ctest-TestBasicPolicy-32015493, ID : 06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:30:19,668 - INFO - ================================================================================ 2026-09-09 04:30:19,668 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-09 04:30:19,668 - 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-09-09 04:30:19,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-09 04:30:19,945 - INFO - Initial checks done. Running the testcase now 2026-09-09 04:30:19,945 - INFO - 2026-09-09 04:30:20,605 - DEBUG - Response for create_network : {'network': {'id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'name': 'ctest-vn-52294245', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-52294245'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:30:20,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e51c79-9233-4774-ab96-a3fc6d3031cd', 'name': '', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'network_id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'ip_version': 4, 'cidr': '60.78.170.0/26', 'allocation_pools': [{'start': '60.78.170.2', 'end': '60.78.170.62'}], 'gateway_ip': '60.78.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.78.170.2', 'tags': [], 'project_id': '06c298fb94654d42ba6fcdea81e3642e'}} 2026-09-09 04:30:20,834 - INFO - Created VN ctest-vn-52294245 2026-09-09 04:30:20,894 - DEBUG - VN ctest-vn-52294245 UUID is d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:21,203 - DEBUG - Response for create_network : {'network': {'id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'name': 'ctest-vn-80320059', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-80320059'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:30:21,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '75d52b59-0f6f-43fa-9e95-e59b782d384a', 'name': '', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'network_id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'ip_version': 4, 'cidr': '45.253.5.192/26', 'allocation_pools': [{'start': '45.253.5.194', 'end': '45.253.5.254'}], 'gateway_ip': '45.253.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.253.5.194', 'tags': [], 'project_id': '06c298fb94654d42ba6fcdea81e3642e'}} 2026-09-09 04:30:21,445 - INFO - Created VN ctest-vn-80320059 2026-09-09 04:30:21,502 - DEBUG - VN ctest-vn-80320059 UUID is 7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:21,627 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245, 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-32015493:ctest-vn-80320059, 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-09-09 04:30:21,965 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'name': 'ctest-vn-52294245', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c7e51c79-9233-4774-ab96-a3fc6d3031cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-52294245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']], 'subnet_ipam': [{'subnet_cidr': '60.78.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:30:22,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'name': 'ctest-vn-80320059', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['75d52b59-0f6f-43fa-9e95-e59b782d384a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-80320059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']], 'subnet_ipam': [{'subnet_cidr': '45.253.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:30:22,398 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:30:22,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:30:22,807 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:30:22,822 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:30:22,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:22,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:22,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:30:22,940 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:30:22,948 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da818abc-bae4-4c17-a087-738b32e153a7 2026-09-09 04:30:22,956 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 04:30:22,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:22,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:30:22,988 - INFO - Verified VN network id 12 for VN d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:22,988 - INFO - Verifications in API Server for VN ctest-vn-52294245 passed 2026-09-09 04:30:22,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:23,000 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:30:23,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:30:23,019 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da818abc-bae4-4c17-a087-738b32e153a7 2026-09-09 04:30:23,034 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32015493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15293372412778859809', 'uuid-lslong': '10251497399072899192'}, 'enable': 'true', 'created': '2026-09-09T04:30:20', 'last-modified': '2026-09-09T04:30:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.106265'} 2026-09-09 04:30:23,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-09 04:30:23,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52294245 passed 2026-09-09 04:30:23,042 - DEBUG - ====Verifying policy data for ctest-vn-52294245 in API_Server ====== 2026-09-09 04:30:23,042 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:30:23,049 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:30:23,062 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:30:23,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078 2026-09-09 04:30:23,163 - DEBUG - ==>Verifying data for policy with id: afa78d29-69b5-4f55-82cb-ba38bd02c8d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457'] 2026-09-09 04:30:23,163 - INFO - VN ctest-vn-52294245 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 04:30:23,163 - DEBUG - Verifying the vn in opserver 2026-09-09 04:30:23,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245 virtual network link through opserver 10.0.0.38 2026-09-09 04:30:23,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 04:30:23,547 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 04:30:23,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245?flat'} 2026-09-09 04:30:23,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245 is found in opserver 2026-09-09 04:30:23,627 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 04:30:23,633 - DEBUG - VRF ids for VN ctest-vn-52294245: {} 2026-09-09 04:30:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:30:23,639 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:30:23,651 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:30:23,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,766 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:30:23,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:30:23,785 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb69b4cf-3b8b-4619-bdd6-7e726a45c1b1 2026-09-09 04:30:23,794 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 04:30:23,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:30:23,822 - INFO - Verified VN network id 13 for VN 7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,823 - INFO - Verifications in API Server for VN ctest-vn-80320059 passed 2026-09-09 04:30:23,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,835 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:30:23,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:30:23,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb69b4cf-3b8b-4619-bdd6-7e726a45c1b1 2026-09-09 04:30:23,866 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32015493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8879512870897271594', 'uuid-lslong': '10136300693009036485'}, 'enable': 'true', 'created': '2026-09-09T04:30:21', 'last-modified': '2026-09-09T04:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.675452'} 2026-09-09 04:30:23,874 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-09 04:30:23,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80320059 passed 2026-09-09 04:30:23,875 - DEBUG - ====Verifying policy data for ctest-vn-80320059 in API_Server ====== 2026-09-09 04:30:23,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:30:23,882 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:30:23,896 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:30:23,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5 2026-09-09 04:30:23,987 - DEBUG - ==>Verifying data for policy with id: afa78d29-69b5-4f55-82cb-ba38bd02c8d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457'] 2026-09-09 04:30:23,987 - INFO - VN ctest-vn-80320059 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-09 04:30:23,988 - DEBUG - Verifying the vn in opserver 2026-09-09 04:30:23,988 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059 virtual network link through opserver 10.0.0.38 2026-09-09 04:30:23,988 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-09 04:30:23,999 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059?flat'} 2026-09-09 04:30:23,999 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059 is found in opserver 2026-09-09 04:30:24,011 - DEBUG - Do not have enough data to verify VN in agent 2026-09-09 04:30:24,018 - DEBUG - VRF ids for VN ctest-vn-80320059: {} 2026-09-09 04:30:24,091 - DEBUG - Services list from nova: [, , ] 2026-09-09 04:30:24,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6264-1) 2026-09-09 04:30:25,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6264-1) 2026-09-09 04:30:25,046 - INFO - Waiting for VM ctest-TestBasicPolicy-32015493-42095761 to be up.. 2026-09-09 04:30:25,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:30,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:35,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:40,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:45,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:50,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:30:55,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:31:00,751 - DEBUG - VM is in ACTIVE state now 2026-09-09 04:31:00,752 - INFO - VM name : ctest-TestBasicPolicy-32015493-42095761 2026-09-09 04:31:00,860 - DEBUG - VM ctest-TestBasicPolicy-32015493-42095761 ID is c38f1aa8-51b5-43b1-8e4d-0db36c80e7a3 2026-09-09 04:31:00,886 - DEBUG - VM ctest-TestBasicPolicy-32015493-42095761 launched on Node cn-jenkins-deploy-platform-ansible-os-6264-1 2026-09-09 04:31:00,984 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c38f1aa8-51b5-43b1-8e4d-0db36c80e7a3 2026-09-09 04:31:00,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9985348-39e5-4b7a-b31f-16339384ec0c 2026-09-09 04:31:04,263 - 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 1011ms') 2026-09-09 04:31:04,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32015493-42095761 failed! 2026-09-09 04:31:04,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245 is 60.78.170.1 and allocation pool is NOT set 2026-09-09 04:31:08,420 - 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=2 ttl=63 time=3.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 3.457/3.457/3.457/0.000 ms') 2026-09-09 04:31:08,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32015493-42095761 passed 2026-09-09 04:31:08,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:31:08,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32015493-42095761, IP 60.78.170.3, Port 22 2026-09-09 04:31:08,764 - DEBUG - VM ctest-TestBasicPolicy-32015493-42095761 is ready for SSH connections 2026-09-09 04:31:08,764 - INFO - Waiting for VM ctest-TestBasicPolicy-32015493-50088623 to be up.. 2026-09-09 04:31:08,862 - DEBUG - VM is in ACTIVE state now 2026-09-09 04:31:08,863 - INFO - VM name : ctest-TestBasicPolicy-32015493-50088623 2026-09-09 04:31:08,965 - DEBUG - VM ctest-TestBasicPolicy-32015493-50088623 ID is 4cb905f1-1bab-4849-8c93-7653cc09ca88 2026-09-09 04:31:08,965 - DEBUG - VM ctest-TestBasicPolicy-32015493-50088623 launched on Node cn-jenkins-deploy-platform-ansible-os-6264-1 2026-09-09 04:31:09,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cb905f1-1bab-4849-8c93-7653cc09ca88 2026-09-09 04:31:09,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8417797-192f-4814-9fb1-e7e8eab96976 2026-09-09 04:31:12,351 - 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-09-09 04:31:12,351 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32015493-50088623 failed! 2026-09-09 04:31:12,410 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059 is 45.253.5.193 and allocation pool is NOT set 2026-09-09 04:31:14,487 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.78 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 = 3.779/4.006/4.233/0.227 ms') 2026-09-09 04:31:14,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32015493-50088623 passed 2026-09-09 04:31:14,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:31:14,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32015493-50088623, IP 45.253.5.195, Port 22 2026-09-09 04:31:14,824 - DEBUG - VM ctest-TestBasicPolicy-32015493-50088623 is ready for SSH connections 2026-09-09 04:31:14,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:31:14,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.253.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-09 04:31:14,825 - DEBUG - ping -s 56 -c 3 -W 1 45.253.5.195 2026-09-09 04:31:18,946 - DEBUG - PING 45.253.5.195 (45.253.5.195): 56 data bytes 64 bytes from 45.253.5.195: seq=0 ttl=63 time=5.304 ms 64 bytes from 45.253.5.195: seq=1 ttl=63 time=1.278 ms 64 bytes from 45.253.5.195: seq=2 ttl=63 time=1.019 ms --- 45.253.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/2.533/5.304 ms 2026-09-09 04:31:18,946 - INFO - Ping to IP 45.253.5.195 from VM ctest-TestBasicPolicy-32015493-42095761 passed 2026-09-09 04:31:19,133 - DEBUG - Policy Update Response {"network-policy": {"uuid": "afa78d29-69b5-4f55-82cb-ba38bd02c8d1", "href": "http://10.0.0.38:8082/network-policy/afa78d29-69b5-4f55-82cb-ba38bd02c8d1"}} 2026-09-09 04:31:19,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:31:19,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.253.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-09 04:31:19,134 - DEBUG - ping -s 56 -c 3 -W 1 45.253.5.195 2026-09-09 04:31:22,316 - DEBUG - PING 45.253.5.195 (45.253.5.195): 56 data bytes 64 bytes from 45.253.5.195: seq=0 ttl=63 time=1.761 ms --- 45.253.5.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.761/1.761/1.761 ms 2026-09-09 04:31:22,316 - WARNING - Ping to IP 45.253.5.195 from VM ctest-TestBasicPolicy-32015493-42095761 failed 2026-09-09 04:31:22,317 - INFO - Deleting VM ctest-TestBasicPolicy-32015493-50088623 2026-09-09 04:31:22,398 - INFO - Deleting VM ctest-TestBasicPolicy-32015493-42095761 2026-09-09 04:31:22,829 - INFO - Deleted policy ctest-policy-allow-all-84927457 2026-09-09 04:31:22,830 - INFO - Deleting VN ctest-vn-80320059 2026-09-09 04:31:22,866 - DEBUG - VN 7b3a5de9-1057-432a-8cab-5fc69f5974c5 still in use: Unable to complete operation on network 7b3a5de9-1057-432a-8cab-5fc69f5974c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62755e4f-c62c-4644-9364-9164d0f1ebbf'] 2026-09-09 04:31:22,866 - WARNING - Deleting VN ctest-vn-80320059 failed..Will retry 2026-09-09 04:31:24,990 - DEBUG - Response for deleting network () 2026-09-09 04:31:24,990 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51 2026-09-09 04:31:25,002 - DEBUG - Response Code: 404 2026-09-09 04:31:25,002 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:31:25,009 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:31:25,065 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:31:25,148 - INFO - Validated that VN ctest-vn-80320059 is not found in API Server 2026-09-09 04:31:25,164 - DEBUG - VN ctest-vn-80320059 is not present in Agent 10.0.0.38 2026-09-09 04:31:25,164 - INFO - Validated that VN ctest-vn-80320059 is not in any agent 2026-09-09 04:31:25,183 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80320059 info 2026-09-09 04:31:25,184 - INFO - Deleting VN ctest-vn-52294245 2026-09-09 04:31:25,331 - DEBUG - Response for deleting network () 2026-09-09 04:31:25,331 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b 2026-09-09 04:31:25,343 - DEBUG - Response Code: 404 2026-09-09 04:31:25,343 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-09 04:31:25,349 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549 2026-09-09 04:31:25,404 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e 2026-09-09 04:31:25,490 - INFO - Validated that VN ctest-vn-52294245 is not found in API Server 2026-09-09 04:31:25,504 - DEBUG - VN ctest-vn-52294245 is not present in Agent 10.0.0.38 2026-09-09 04:31:25,504 - INFO - Validated that VN ctest-vn-52294245 is not in any agent 2026-09-09 04:31:25,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52294245 info 2026-09-09 04:31:25,800 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 04:31:25,800 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-09-09 04:31:25,800 - INFO - -------------------------------------------------------------------------------- 2026-09-09 04:31:26,673 - INFO - Deleted project: ctest-TestBasicPolicy-32015493, ID : 06c298fb-9465-4d42-ba6f-cdea81e3642e