2025-08-19 16:04:00,550 - INFO - Domain Default found not creating 2025-08-19 16:04:00,671 - INFO - Project ctest-TestBasicPolicy-85338336 not found, creating it 2025-08-19 16:04:01,108 - INFO - Created Project:ctest-TestBasicPolicy-85338336, ID : 04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:02,424 - INFO - ================================================================================ 2025-08-19 16:04:02,425 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-19 16:04:02,425 - 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 2025-08-19 16:04:02,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-19 16:04:02,676 - INFO - Initial checks done. Running the testcase now 2025-08-19 16:04:02,677 - INFO - 2025-08-19 16:04:03,199 - DEBUG - Response for create_network : {'network': {'id': '960cb2cd-111d-4905-90ef-0d8cfb955011', 'name': 'ctest-vn-61899407', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'project_id': '04223cdb01e8481991cc4bdab932c795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-vn-61899407'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:04:03,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '4036fc9c-f71a-424c-949b-1edda726d338', 'name': '', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'network_id': '960cb2cd-111d-4905-90ef-0d8cfb955011', 'ip_version': 4, 'cidr': '24.245.208.64/26', 'allocation_pools': [{'start': '24.245.208.66', 'end': '24.245.208.126'}], 'gateway_ip': '24.245.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.245.208.66', 'tags': [], 'project_id': '04223cdb01e8481991cc4bdab932c795'}} 2025-08-19 16:04:03,457 - INFO - Created VN ctest-vn-61899407 2025-08-19 16:04:03,507 - DEBUG - VN ctest-vn-61899407 UUID is 960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:03,845 - DEBUG - Response for create_network : {'network': {'id': '02260555-decf-4189-b0a4-e137c114799f', 'name': 'ctest-vn-16959040', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'project_id': '04223cdb01e8481991cc4bdab932c795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-vn-16959040'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:04:04,069 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba9689a6-c634-46dd-996a-9cafd531af82', 'name': '', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'network_id': '02260555-decf-4189-b0a4-e137c114799f', 'ip_version': 4, 'cidr': '145.243.151.0/26', 'allocation_pools': [{'start': '145.243.151.2', 'end': '145.243.151.62'}], 'gateway_ip': '145.243.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.243.151.2', 'tags': [], 'project_id': '04223cdb01e8481991cc4bdab932c795'}} 2025-08-19 16:04:04,087 - INFO - Created VN ctest-vn-16959040 2025-08-19 16:04:04,139 - DEBUG - VN ctest-vn-16959040 UUID is 02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:04,287 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407, 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-85338336:ctest-vn-16959040, 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] 2025-08-19 16:04:04,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '960cb2cd-111d-4905-90ef-0d8cfb955011', 'name': 'ctest-vn-61899407', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'project_id': '04223cdb01e8481991cc4bdab932c795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4036fc9c-f71a-424c-949b-1edda726d338'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-vn-61899407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-policy-allow-all-84672402']], 'subnet_ipam': [{'subnet_cidr': '24.245.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:04:04,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02260555-decf-4189-b0a4-e137c114799f', 'name': 'ctest-vn-16959040', 'tenant_id': '04223cdb01e8481991cc4bdab932c795', 'project_id': '04223cdb01e8481991cc4bdab932c795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba9689a6-c634-46dd-996a-9cafd531af82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-vn-16959040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-policy-allow-all-84672402']], 'subnet_ipam': [{'subnet_cidr': '145.243.151.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:04:04,971 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:05,259 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:05,283 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:05,296 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:05,365 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,382 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:05,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:05,392 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/adc4c569-28dc-434d-8ff3-df0ba0106e42 2025-08-19 16:04:05,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 16:04:05,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,404 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:05,415 - INFO - Verified VN network id 12 for VN 960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,415 - INFO - Verifications in API Server for VN ctest-vn-61899407 passed 2025-08-19 16:04:05,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,423 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:05,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:05,434 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/adc4c569-28dc-434d-8ff3-df0ba0106e42 2025-08-19 16:04:05,442 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85338336', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10812213399234889989', 'uuid-lslong': '10443580960062918673'}, 'enable': 'true', 'created': '2025-08-19T16:04:03', 'last-modified': '2025-08-19T16:04:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890129'} 2025-08-19 16:04:05,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 16:04:05,447 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61899407 passed 2025-08-19 16:04:05,447 - DEBUG - ====Verifying policy data for ctest-vn-61899407 in API_Server ====== 2025-08-19 16:04:05,447 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:05,451 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:05,460 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:05,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/960cb2cd-111d-4905-90ef-0d8cfb955011 2025-08-19 16:04:05,538 - DEBUG - ==>Verifying data for policy with id: 03bde62f-c332-4352-992e-b19062826dec, fqn: ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-policy-allow-all-84672402'] 2025-08-19 16:04:05,538 - INFO - VN ctest-vn-61899407 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 16:04:05,538 - DEBUG - Verifying the vn in opserver 2025-08-19 16:04:05,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407 virtual network link through opserver 10.0.0.50 2025-08-19 16:04:05,539 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-19 16:04:05,826 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-19 16:04:05,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407?flat'} 2025-08-19 16:04:05,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407 is found in opserver 2025-08-19 16:04:05,881 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 16:04:05,885 - DEBUG - VRF ids for VN ctest-vn-61899407: {} 2025-08-19 16:04:05,885 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:05,889 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:05,899 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:05,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:05,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:05,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:05,992 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:05,997 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/93fbb7e5-160b-44c4-84b2-2bbd612f0546 2025-08-19 16:04:06,002 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 16:04:06,002 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:06,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:06,020 - INFO - Verified VN network id 13 for VN 02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:06,020 - INFO - Verifications in API Server for VN ctest-vn-16959040 passed 2025-08-19 16:04:06,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:06,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:06,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:06,039 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/93fbb7e5-160b-44c4-84b2-2bbd612f0546 2025-08-19 16:04:06,048 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-16959040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85338336', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '154817103559344521', 'uuid-lslong': '12728546076434659743'}, 'enable': 'true', 'created': '2025-08-19T16:04:03', 'last-modified': '2025-08-19T16:04:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.261656'} 2025-08-19 16:04:06,053 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 16:04:06,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16959040 passed 2025-08-19 16:04:06,053 - DEBUG - ====Verifying policy data for ctest-vn-16959040 in API_Server ====== 2025-08-19 16:04:06,053 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:06,058 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:06,068 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:06,137 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/02260555-decf-4189-b0a4-e137c114799f 2025-08-19 16:04:06,145 - DEBUG - ==>Verifying data for policy with id: 03bde62f-c332-4352-992e-b19062826dec, fqn: ['default-domain', 'ctest-TestBasicPolicy-85338336', 'ctest-policy-allow-all-84672402'] 2025-08-19 16:04:06,145 - INFO - VN ctest-vn-16959040 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 16:04:06,145 - DEBUG - Verifying the vn in opserver 2025-08-19 16:04:06,145 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-16959040 virtual network link through opserver 10.0.0.50 2025-08-19 16:04:06,145 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-19 16:04:06,153 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-16959040', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-16959040?flat'} 2025-08-19 16:04:06,153 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-16959040 is found in opserver 2025-08-19 16:04:06,161 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 16:04:06,165 - DEBUG - VRF ids for VN ctest-vn-16959040: {} 2025-08-19 16:04:06,217 - DEBUG - Services list from nova: [, , ] 2025-08-19 16:04:07,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:04:08,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:04:08,254 - INFO - Waiting for VM ctest-TestBasicPolicy-85338336-34943402 to be up.. 2025-08-19 16:04:08,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 16:04:13,401 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:04:13,401 - INFO - VM name : ctest-TestBasicPolicy-85338336-34943402 2025-08-19 16:04:13,464 - DEBUG - VM ctest-TestBasicPolicy-85338336-34943402 ID is 94f7d1f1-740f-4a4e-bd62-9450efb62eef 2025-08-19 16:04:13,484 - DEBUG - VM ctest-TestBasicPolicy-85338336-34943402 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:04:13,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/94f7d1f1-740f-4a4e-bd62-9450efb62eef 2025-08-19 16:04:13,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d266662-bf97-4d93-bb14-637cbc6dffac 2025-08-19 16:04:16,821 - 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 1032ms') 2025-08-19 16:04:16,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85338336-34943402 failed! 2025-08-19 16:04:16,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85338336:ctest-vn-61899407 is 24.245.208.65 and allocation pool is NOT set 2025-08-19 16:04:18,946 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.682/2.965/1.282 ms') 2025-08-19 16:04:18,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85338336-34943402 passed 2025-08-19 16:04:19,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:04:19,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85338336-34943402, IP 24.245.208.67, Port 22 2025-08-19 16:04:19,251 - DEBUG - VM ctest-TestBasicPolicy-85338336-34943402 is ready for SSH connections 2025-08-19 16:04:19,251 - INFO - Waiting for VM ctest-TestBasicPolicy-85338336-54155772 to be up.. 2025-08-19 16:04:19,323 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:04:19,323 - INFO - VM name : ctest-TestBasicPolicy-85338336-54155772 2025-08-19 16:04:19,396 - DEBUG - VM ctest-TestBasicPolicy-85338336-54155772 ID is e6e6a320-0803-4224-b6fd-44a434b27e79 2025-08-19 16:04:19,396 - DEBUG - VM ctest-TestBasicPolicy-85338336-54155772 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:04:19,461 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e6e6a320-0803-4224-b6fd-44a434b27e79 2025-08-19 16:04:19,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5fdc5f5d-9c3d-48f1-bd73-2598398a5a64 2025-08-19 16:04:20,696 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.332 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 = 0.332/1.666/3.000/1.334 ms') 2025-08-19 16:04:20,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85338336-54155772 passed 2025-08-19 16:04:20,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:04:20,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85338336-54155772, IP 145.243.151.3, Port 22 2025-08-19 16:04:21,003 - DEBUG - VM ctest-TestBasicPolicy-85338336-54155772 is ready for SSH connections 2025-08-19 16:04:21,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:04:21,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.243.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:04:21,004 - DEBUG - ping -s 56 -c 3 -W 1 145.243.151.3 2025-08-19 16:04:24,655 - DEBUG - PING 145.243.151.3 (145.243.151.3): 56 data bytes 64 bytes from 145.243.151.3: seq=0 ttl=63 time=3.017 ms 64 bytes from 145.243.151.3: seq=1 ttl=63 time=0.735 ms 64 bytes from 145.243.151.3: seq=2 ttl=63 time=0.682 ms --- 145.243.151.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/1.478/3.017 ms 2025-08-19 16:04:24,655 - INFO - Ping to IP 145.243.151.3 from VM ctest-TestBasicPolicy-85338336-34943402 passed 2025-08-19 16:04:24,827 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03bde62f-c332-4352-992e-b19062826dec", "href": "http://10.0.0.50:8082/network-policy/03bde62f-c332-4352-992e-b19062826dec"}} 2025-08-19 16:04:24,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:04:24,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.243.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:04:24,828 - DEBUG - ping -s 56 -c 3 -W 1 145.243.151.3 2025-08-19 16:04:28,023 - DEBUG - PING 145.243.151.3 (145.243.151.3): 56 data bytes --- 145.243.151.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 16:04:28,023 - WARNING - Ping to IP 145.243.151.3 from VM ctest-TestBasicPolicy-85338336-34943402 failed 2025-08-19 16:04:28,023 - INFO - Deleting VM ctest-TestBasicPolicy-85338336-54155772 2025-08-19 16:04:28,081 - INFO - Deleting VM ctest-TestBasicPolicy-85338336-34943402 2025-08-19 16:04:28,516 - INFO - Deleted policy ctest-policy-allow-all-84672402 2025-08-19 16:04:28,516 - INFO - Deleting VN ctest-vn-16959040 2025-08-19 16:04:28,566 - DEBUG - VN 02260555-decf-4189-b0a4-e137c114799f still in use: Unable to complete operation on network 02260555-decf-4189-b0a4-e137c114799f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce13784c-18e2-438f-913d-aa9f441f9b6e'] 2025-08-19 16:04:28,566 - WARNING - Deleting VN ctest-vn-16959040 failed..Will retry 2025-08-19 16:04:30,674 - DEBUG - Response for deleting network () 2025-08-19 16:04:30,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc309641-f1b4-413a-878f-ce5704eb879d 2025-08-19 16:04:30,684 - DEBUG - Response Code: 404 2025-08-19 16:04:30,684 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:30,689 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:30,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:30,817 - INFO - Validated that VN ctest-vn-16959040 is not found in API Server 2025-08-19 16:04:30,826 - DEBUG - VN ctest-vn-16959040 is not present in Agent 10.0.0.50 2025-08-19 16:04:30,826 - INFO - Validated that VN ctest-vn-16959040 is not in any agent 2025-08-19 16:04:30,839 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16959040 info 2025-08-19 16:04:30,839 - INFO - Deleting VN ctest-vn-61899407 2025-08-19 16:04:30,935 - DEBUG - Response for deleting network () 2025-08-19 16:04:30,935 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f3c3ebd3-8bbf-470a-9ba6-6c06c04e4500 2025-08-19 16:04:30,941 - DEBUG - Response Code: 404 2025-08-19 16:04:30,941 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-19 16:04:30,948 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e53828e-d96b-4a30-a45e-4673a4f195be 2025-08-19 16:04:30,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/04223cdb-01e8-4819-91cc-4bdab932c795 2025-08-19 16:04:31,072 - INFO - Validated that VN ctest-vn-61899407 is not found in API Server 2025-08-19 16:04:31,080 - DEBUG - VN ctest-vn-61899407 is not present in Agent 10.0.0.50 2025-08-19 16:04:31,080 - INFO - Validated that VN ctest-vn-61899407 is not in any agent 2025-08-19 16:04:31,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61899407 info 2025-08-19 16:04:31,347 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 16:04:31,347 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-19 16:04:31,347 - INFO - -------------------------------------------------------------------------------- 2025-08-19 16:04:32,000 - INFO - Deleted project: ctest-TestBasicPolicy-85338336, ID : 04223cdb-01e8-4819-91cc-4bdab932c795