2026-11-01 20:41:35,910 - INFO - Domain Default found not creating 2026-11-01 20:41:36,074 - INFO - Project ctest-TestBasicPolicy-48924846 not found, creating it 2026-11-01 20:41:36,543 - INFO - Created Project:ctest-TestBasicPolicy-48924846, ID : fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:41:38,024 - INFO - ================================================================================ 2026-11-01 20:41:38,024 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-01 20:41:38,024 - 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-01 20:41:38,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-11-01 20:41:38,284 - INFO - Initial checks done. Running the testcase now 2026-11-01 20:41:38,284 - INFO - 2026-11-01 20:41:38,912 - DEBUG - Response for create_network : {'network': {'id': '8ad7afbe-d09b-49cf-bd1b-95f1c98dce38', 'name': 'ctest-vn-94970557', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'project_id': 'fb881dd156da41c8ad78995523461346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-vn-94970557'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:41:39,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '87a34d7e-89e5-4812-ae1b-5b93ef4f202a', 'name': '', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'network_id': '8ad7afbe-d09b-49cf-bd1b-95f1c98dce38', 'ip_version': 4, 'cidr': '51.74.11.192/26', 'allocation_pools': [{'start': '51.74.11.194', 'end': '51.74.11.254'}], 'gateway_ip': '51.74.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.74.11.194', 'tags': [], 'project_id': 'fb881dd156da41c8ad78995523461346'}} 2026-11-01 20:41:39,119 - INFO - Created VN ctest-vn-94970557 2026-11-01 20:41:39,173 - DEBUG - VN ctest-vn-94970557 UUID is 8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:39,494 - DEBUG - Response for create_network : {'network': {'id': 'd5606443-f1ee-4e7a-a493-6e7b69223c62', 'name': 'ctest-vn-79356140', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'project_id': 'fb881dd156da41c8ad78995523461346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-vn-79356140'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:41:39,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '58fd6404-b403-4eb5-ba5a-f7f7d33fed94', 'name': '', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'network_id': 'd5606443-f1ee-4e7a-a493-6e7b69223c62', 'ip_version': 4, 'cidr': '28.96.99.0/26', 'allocation_pools': [{'start': '28.96.99.2', 'end': '28.96.99.62'}], 'gateway_ip': '28.96.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.96.99.2', 'tags': [], 'project_id': 'fb881dd156da41c8ad78995523461346'}} 2026-11-01 20:41:39,725 - INFO - Created VN ctest-vn-79356140 2026-11-01 20:41:39,777 - DEBUG - VN ctest-vn-79356140 UUID is d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:39,921 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557, 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-48924846:ctest-vn-79356140, 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-01 20:41:40,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ad7afbe-d09b-49cf-bd1b-95f1c98dce38', 'name': 'ctest-vn-94970557', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'project_id': 'fb881dd156da41c8ad78995523461346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['87a34d7e-89e5-4812-ae1b-5b93ef4f202a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-vn-94970557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-policy-allow-all-07601857']], 'subnet_ipam': [{'subnet_cidr': '51.74.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:41:40,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5606443-f1ee-4e7a-a493-6e7b69223c62', 'name': 'ctest-vn-79356140', 'tenant_id': 'fb881dd156da41c8ad78995523461346', 'project_id': 'fb881dd156da41c8ad78995523461346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['58fd6404-b403-4eb5-ba5a-f7f7d33fed94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-vn-79356140'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-policy-allow-all-07601857']], 'subnet_ipam': [{'subnet_cidr': '28.96.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:41:40,605 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:41:40,918 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:41:40,943 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:41:40,956 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:41:41,031 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,041 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,049 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:41:41,055 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:41:41,060 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c5860011-cf7b-443a-aecb-1b7b4b3fed57 2026-11-01 20:41:41,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 20:41:41,065 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,072 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:41:41,083 - INFO - Verified VN network id 12 for VN 8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,083 - INFO - Verifications in API Server for VN ctest-vn-94970557 passed 2026-11-01 20:41:41,083 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,091 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:41:41,096 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:41:41,103 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c5860011-cf7b-443a-aecb-1b7b4b3fed57 2026-11-01 20:41:41,115 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48924846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10004658331305331151', 'uuid-lslong': '13626649963240738360'}, 'enable': 'true', 'created': '2026-11-01T20:41:38', 'last-modified': '2026-11-01T20:41:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918760'} 2026-11-01 20:41:41,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 20:41:41,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94970557 passed 2026-11-01 20:41:41,121 - DEBUG - ====Verifying policy data for ctest-vn-94970557 in API_Server ====== 2026-11-01 20:41:41,121 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:41:41,126 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:41:41,136 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:41:41,202 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8ad7afbe-d09b-49cf-bd1b-95f1c98dce38 2026-11-01 20:41:41,210 - DEBUG - ==>Verifying data for policy with id: 574a2f10-d9d5-4124-aa49-c91abbd7869b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-policy-allow-all-07601857'] 2026-11-01 20:41:41,210 - INFO - VN ctest-vn-94970557 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 20:41:41,210 - DEBUG - Verifying the vn in opserver 2026-11-01 20:41:41,210 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557 virtual network link through opserver 10.0.0.161 2026-11-01 20:41:41,210 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 20:41:41,526 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 20:41:41,571 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557?flat'} 2026-11-01 20:41:41,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557 is found in opserver 2026-11-01 20:41:41,580 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 20:41:41,584 - DEBUG - VRF ids for VN ctest-vn-94970557: {} 2026-11-01 20:41:41,584 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:41:41,588 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:41:41,597 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:41:41,665 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,674 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,682 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:41:41,687 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:41:41,692 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/36987b8b-e601-47b4-b527-506fa0f0429b 2026-11-01 20:41:41,697 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 20:41:41,697 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,704 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:41:41,715 - INFO - Verified VN network id 13 for VN d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,715 - INFO - Verifications in API Server for VN ctest-vn-79356140 passed 2026-11-01 20:41:41,715 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,724 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:41:41,729 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:41:41,734 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/36987b8b-e601-47b4-b527-506fa0f0429b 2026-11-01 20:41:41,745 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-79356140', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48924846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15375399370827386490', 'uuid-lslong': '11858943720120532066'}, 'enable': 'true', 'created': '2026-11-01T20:41:39', 'last-modified': '2026-11-01T20:41:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327147'} 2026-11-01 20:41:41,750 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 20:41:41,750 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79356140 passed 2026-11-01 20:41:41,750 - DEBUG - ====Verifying policy data for ctest-vn-79356140 in API_Server ====== 2026-11-01 20:41:41,751 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:41:41,755 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:41:41,763 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:41:41,830 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/d5606443-f1ee-4e7a-a493-6e7b69223c62 2026-11-01 20:41:41,839 - DEBUG - ==>Verifying data for policy with id: 574a2f10-d9d5-4124-aa49-c91abbd7869b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48924846', 'ctest-policy-allow-all-07601857'] 2026-11-01 20:41:41,839 - INFO - VN ctest-vn-79356140 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 20:41:41,839 - DEBUG - Verifying the vn in opserver 2026-11-01 20:41:41,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-79356140 virtual network link through opserver 10.0.0.161 2026-11-01 20:41:41,839 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-01 20:41:41,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-79356140', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-79356140?flat'} 2026-11-01 20:41:41,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-79356140 is found in opserver 2026-11-01 20:41:41,856 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 20:41:41,860 - DEBUG - VRF ids for VN ctest-vn-79356140: {} 2026-11-01 20:41:41,910 - DEBUG - Services list from nova: [, , ] 2026-11-01 20:41:42,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6459-1) 2026-11-01 20:41:42,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6459-1) 2026-11-01 20:41:42,699 - INFO - Waiting for VM ctest-TestBasicPolicy-48924846-35977875 to be up.. 2026-11-01 20:41:42,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:41:47,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:41:52,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:41:57,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:42:03,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:42:08,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:42:13,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:42:18,216 - DEBUG - VM is in ACTIVE state now 2026-11-01 20:42:18,216 - INFO - VM name : ctest-TestBasicPolicy-48924846-35977875 2026-11-01 20:42:18,283 - DEBUG - VM ctest-TestBasicPolicy-48924846-35977875 ID is 680146d4-6422-44ae-bbc1-ca9f29627a67 2026-11-01 20:42:18,305 - DEBUG - VM ctest-TestBasicPolicy-48924846-35977875 launched on Node cn-jenkins-deploy-platform-ansible-os-6459-1 2026-11-01 20:42:18,367 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/680146d4-6422-44ae-bbc1-ca9f29627a67 2026-11-01 20:42:18,375 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/7fef3cc7-6730-4c84-9ded-020d5fad026a 2026-11-01 20:42:21,627 - 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 1013ms') 2026-11-01 20:42:21,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48924846-35977875 failed! 2026-11-01 20:42:21,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48924846:ctest-vn-94970557 is 51.74.11.193 and allocation pool is NOT set 2026-11-01 20:42:23,743 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.568 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.568/3.032/5.496/2.464 ms') 2026-11-01 20:42:23,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48924846-35977875 passed 2026-11-01 20:42:23,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:42:23,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48924846-35977875, IP 51.74.11.195, Port 22 2026-11-01 20:42:24,064 - DEBUG - VM ctest-TestBasicPolicy-48924846-35977875 is ready for SSH connections 2026-11-01 20:42:24,065 - INFO - Waiting for VM ctest-TestBasicPolicy-48924846-87306160 to be up.. 2026-11-01 20:42:24,141 - DEBUG - VM is in ACTIVE state now 2026-11-01 20:42:24,141 - INFO - VM name : ctest-TestBasicPolicy-48924846-87306160 2026-11-01 20:42:24,203 - DEBUG - VM ctest-TestBasicPolicy-48924846-87306160 ID is 317a778d-bcc2-4d49-82d7-587d021ab5de 2026-11-01 20:42:24,205 - DEBUG - VM ctest-TestBasicPolicy-48924846-87306160 launched on Node cn-jenkins-deploy-platform-ansible-os-6459-1 2026-11-01 20:42:24,271 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/317a778d-bcc2-4d49-82d7-587d021ab5de 2026-11-01 20:42:24,278 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/408023f8-ff64-4ef1-af25-faa842342eeb 2026-11-01 20:42:27,543 - 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=2 ttl=63 time=12.9 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 12.915/12.915/12.915/0.000 ms') 2026-11-01 20:42:27,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48924846-87306160 passed 2026-11-01 20:42:27,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:42:27,693 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48924846-87306160, IP 28.96.99.3, Port 22 2026-11-01 20:42:27,759 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-01 20:42:27,860 - DEBUG - VM ctest-TestBasicPolicy-48924846-87306160 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-01 20:42:32,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:42:32,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48924846-87306160, IP 28.96.99.3, Port 22 2026-11-01 20:42:33,028 - DEBUG - VM ctest-TestBasicPolicy-48924846-87306160 is ready for SSH connections 2026-11-01 20:42:33,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:42:33,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.96.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-01 20:42:33,029 - DEBUG - ping -s 56 -c 3 -W 1 28.96.99.3 2026-11-01 20:42:36,929 - DEBUG - PING 28.96.99.3 (28.96.99.3): 56 data bytes 64 bytes from 28.96.99.3: seq=0 ttl=63 time=4.743 ms 64 bytes from 28.96.99.3: seq=1 ttl=63 time=1.111 ms 64 bytes from 28.96.99.3: seq=2 ttl=63 time=0.923 ms --- 28.96.99.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/2.259/4.743 ms 2026-11-01 20:42:36,929 - INFO - Ping to IP 28.96.99.3 from VM ctest-TestBasicPolicy-48924846-35977875 passed 2026-11-01 20:42:37,109 - DEBUG - Policy Update Response {"network-policy": {"uuid": "574a2f10-d9d5-4124-aa49-c91abbd7869b", "href": "http://10.0.0.161:8082/network-policy/574a2f10-d9d5-4124-aa49-c91abbd7869b"}} 2026-11-01 20:42:37,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:42:37,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.96.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-01 20:42:37,109 - DEBUG - ping -s 56 -c 3 -W 1 28.96.99.3 2026-11-01 20:42:40,225 - DEBUG - PING 28.96.99.3 (28.96.99.3): 56 data bytes 64 bytes from 28.96.99.3: seq=0 ttl=63 time=1.456 ms --- 28.96.99.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.456/1.456/1.456 ms 2026-11-01 20:42:40,225 - WARNING - Ping to IP 28.96.99.3 from VM ctest-TestBasicPolicy-48924846-35977875 failed 2026-11-01 20:42:40,225 - INFO - Deleting VM ctest-TestBasicPolicy-48924846-87306160 2026-11-01 20:42:40,293 - INFO - Deleting VM ctest-TestBasicPolicy-48924846-35977875 2026-11-01 20:42:40,621 - INFO - Deleted policy ctest-policy-allow-all-07601857 2026-11-01 20:42:40,621 - INFO - Deleting VN ctest-vn-79356140 2026-11-01 20:42:40,652 - DEBUG - VN d5606443-f1ee-4e7a-a493-6e7b69223c62 still in use: Unable to complete operation on network d5606443-f1ee-4e7a-a493-6e7b69223c62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6971a46-5e0b-42fd-9a10-9998ec2d3134'] 2026-11-01 20:42:40,652 - WARNING - Deleting VN ctest-vn-79356140 failed..Will retry 2026-11-01 20:42:42,687 - DEBUG - VN d5606443-f1ee-4e7a-a493-6e7b69223c62 still in use: Unable to complete operation on network d5606443-f1ee-4e7a-a493-6e7b69223c62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-739c492e-9989-4587-b233-9025ae98ce41'] 2026-11-01 20:42:42,687 - WARNING - Deleting VN ctest-vn-79356140 failed..Will retry 2026-11-01 20:42:44,796 - DEBUG - Response for deleting network () 2026-11-01 20:42:44,796 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/68c77184-563f-4e6b-9efe-1ba07d17e587 2026-11-01 20:42:44,804 - DEBUG - Response Code: 404 2026-11-01 20:42:44,804 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:42:44,809 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:42:44,863 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:42:44,938 - INFO - Validated that VN ctest-vn-79356140 is not found in API Server 2026-11-01 20:42:44,951 - DEBUG - VN ctest-vn-79356140 is not present in Agent 10.0.0.161 2026-11-01 20:42:44,951 - INFO - Validated that VN ctest-vn-79356140 is not in any agent 2026-11-01 20:42:44,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79356140 info 2026-11-01 20:42:44,969 - INFO - Deleting VN ctest-vn-94970557 2026-11-01 20:42:45,140 - DEBUG - Response for deleting network () 2026-11-01 20:42:45,141 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0fe70810-2ee8-4ece-9d7e-694aef40d146 2026-11-01 20:42:45,145 - DEBUG - Response Code: 404 2026-11-01 20:42:45,145 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-01 20:42:45,149 - DEBUG - Requesting: http://10.0.0.161:8082/domain/053ea2b6-0b11-4383-803d-d60686112219 2026-11-01 20:42:45,205 - DEBUG - Requesting: http://10.0.0.161:8082/project/fb881dd1-56da-41c8-ad78-995523461346 2026-11-01 20:42:45,277 - INFO - Validated that VN ctest-vn-94970557 is not found in API Server 2026-11-01 20:42:45,287 - DEBUG - VN ctest-vn-94970557 is not present in Agent 10.0.0.161 2026-11-01 20:42:45,287 - INFO - Validated that VN ctest-vn-94970557 is not in any agent 2026-11-01 20:42:45,302 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94970557 info 2026-11-01 20:42:45,557 - DEBUG - No XMPP flaps were noticed during the test 2026-11-01 20:42:45,557 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-11-01 20:42:45,557 - INFO - -------------------------------------------------------------------------------- 2026-11-01 20:42:46,266 - INFO - Deleted project: ctest-TestBasicPolicy-48924846, ID : fb881dd1-56da-41c8-ad78-995523461346