2026-06-18 09:38:56,968 - INFO - Domain Default found not creating 2026-06-18 09:38:57,151 - INFO - Project ctest-TestBasicPolicy-06764363 not found, creating it 2026-06-18 09:38:57,852 - INFO - Created Project:ctest-TestBasicPolicy-06764363, ID : c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:38:59,362 - INFO - ================================================================================ 2026-06-18 09:38:59,362 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 09:38:59,362 - 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-06-18 09:38:59,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-18 09:38:59,622 - INFO - Initial checks done. Running the testcase now 2026-06-18 09:38:59,623 - INFO - 2026-06-18 09:39:00,172 - DEBUG - Response for create_network : {'network': {'id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'name': 'ctest-vn-78177566', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-78177566'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 09:39:00,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a726d00c-9759-4f3a-be08-703eed1af725', 'name': '', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'network_id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'ip_version': 4, 'cidr': '113.74.94.0/26', 'allocation_pools': [{'start': '113.74.94.2', 'end': '113.74.94.62'}], 'gateway_ip': '113.74.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.74.94.2', 'tags': [], 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4'}} 2026-06-18 09:39:00,327 - INFO - Created VN ctest-vn-78177566 2026-06-18 09:39:00,380 - DEBUG - VN ctest-vn-78177566 UUID is 996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:00,683 - DEBUG - Response for create_network : {'network': {'id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'name': 'ctest-vn-25251004', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-25251004'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 09:39:00,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e51371-49e5-4e07-a14d-674848042f24', 'name': '', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'network_id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'ip_version': 4, 'cidr': '105.187.105.64/26', 'allocation_pools': [{'start': '105.187.105.66', 'end': '105.187.105.126'}], 'gateway_ip': '105.187.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.187.105.66', 'tags': [], 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4'}} 2026-06-18 09:39:00,867 - INFO - Created VN ctest-vn-25251004 2026-06-18 09:39:00,916 - DEBUG - VN ctest-vn-25251004 UUID is 65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:01,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566, 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-06764363:ctest-vn-25251004, 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-06-18 09:39:01,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'name': 'ctest-vn-78177566', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a726d00c-9759-4f3a-be08-703eed1af725'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-78177566'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']], 'subnet_ipam': [{'subnet_cidr': '113.74.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 09:39:01,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'name': 'ctest-vn-25251004', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44e51371-49e5-4e07-a14d-674848042f24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-25251004'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']], 'subnet_ipam': [{'subnet_cidr': '105.187.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 09:39:01,724 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:02,042 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:02,375 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:02,386 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:02,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,467 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:02,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:02,488 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/03a9184a-9e88-40ef-b74a-c9be9c35e396 2026-06-18 09:39:02,493 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 09:39:02,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,501 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:02,512 - INFO - Verified VN network id 12 for VN 996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,512 - INFO - Verifications in API Server for VN ctest-vn-78177566 passed 2026-06-18 09:39:02,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,520 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:02,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:02,532 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/03a9184a-9e88-40ef-b74a-c9be9c35e396 2026-06-18 09:39:02,542 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06764363', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11056006684955659921', 'uuid-lslong': '13203665958044260889'}, 'enable': 'true', 'created': '2026-06-18T09:39:00', 'last-modified': '2026-06-18T09:39:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.224416'} 2026-06-18 09:39:02,547 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 09:39:02,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78177566 passed 2026-06-18 09:39:02,547 - DEBUG - ====Verifying policy data for ctest-vn-78177566 in API_Server ====== 2026-06-18 09:39:02,547 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:02,551 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:02,560 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:02,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19 2026-06-18 09:39:02,637 - DEBUG - ==>Verifying data for policy with id: bb557d81-15a2-4f69-ba07-1b939b10d9d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849'] 2026-06-18 09:39:02,637 - INFO - VN ctest-vn-78177566 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 09:39:02,637 - DEBUG - Verifying the vn in opserver 2026-06-18 09:39:02,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566 virtual network link through opserver 10.0.0.50 2026-06-18 09:39:02,638 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 09:39:03,031 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 09:39:03,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566?flat'} 2026-06-18 09:39:03,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566 is found in opserver 2026-06-18 09:39:03,091 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 09:39:03,096 - DEBUG - VRF ids for VN ctest-vn-78177566: {} 2026-06-18 09:39:03,096 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:03,100 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:03,110 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:03,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,191 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,202 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:03,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:03,217 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7957280-9d7f-4640-a4eb-70debd8969d5 2026-06-18 09:39:03,225 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 09:39:03,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,235 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:03,249 - INFO - Verified VN network id 13 for VN 65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,249 - INFO - Verifications in API Server for VN ctest-vn-25251004 passed 2026-06-18 09:39:03,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:03,266 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:03,275 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7957280-9d7f-4640-a4eb-70debd8969d5 2026-06-18 09:39:03,288 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06764363', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7346679488899991497', 'uuid-lslong': '12535407457693832783'}, 'enable': 'true', 'created': '2026-06-18T09:39:00', 'last-modified': '2026-06-18T09:39:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.753522'} 2026-06-18 09:39:03,293 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 09:39:03,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25251004 passed 2026-06-18 09:39:03,294 - DEBUG - ====Verifying policy data for ctest-vn-25251004 in API_Server ====== 2026-06-18 09:39:03,294 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:03,300 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:03,311 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:03,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f 2026-06-18 09:39:03,390 - DEBUG - ==>Verifying data for policy with id: bb557d81-15a2-4f69-ba07-1b939b10d9d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849'] 2026-06-18 09:39:03,390 - INFO - VN ctest-vn-25251004 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 09:39:03,390 - DEBUG - Verifying the vn in opserver 2026-06-18 09:39:03,390 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004 virtual network link through opserver 10.0.0.50 2026-06-18 09:39:03,390 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 09:39:03,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004?flat'} 2026-06-18 09:39:03,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004 is found in opserver 2026-06-18 09:39:03,409 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 09:39:03,413 - DEBUG - VRF ids for VN ctest-vn-25251004: {} 2026-06-18 09:39:03,474 - DEBUG - Services list from nova: [, , ] 2026-06-18 09:39:04,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5977-1) 2026-06-18 09:39:05,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5977-1) 2026-06-18 09:39:05,686 - INFO - Waiting for VM ctest-TestBasicPolicy-06764363-38620024 to be up.. 2026-06-18 09:39:05,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 09:39:10,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 09:39:15,871 - DEBUG - VM is in ACTIVE state now 2026-06-18 09:39:15,872 - INFO - VM name : ctest-TestBasicPolicy-06764363-38620024 2026-06-18 09:39:15,937 - DEBUG - VM ctest-TestBasicPolicy-06764363-38620024 ID is d6cd5a7c-2e75-47d8-a7cb-9f26f524976b 2026-06-18 09:39:15,962 - DEBUG - VM ctest-TestBasicPolicy-06764363-38620024 launched on Node cn-jenkins-deploy-platform-ansible-os-5977-1 2026-06-18 09:39:16,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d6cd5a7c-2e75-47d8-a7cb-9f26f524976b 2026-06-18 09:39:16,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1aa0d84-9eb5-42ca-a80c-ada5a6994d5d 2026-06-18 09:39:19,315 - 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 1027ms') 2026-06-18 09:39:19,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06764363-38620024 failed! 2026-06-18 09:39:19,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566 is 113.74.94.1 and allocation pool is NOT set 2026-06-18 09:39:21,427 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/3.937/7.416/3.479 ms') 2026-06-18 09:39:21,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06764363-38620024 passed 2026-06-18 09:39:21,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 09:39:21,576 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06764363-38620024, IP 113.74.94.3, Port 22 2026-06-18 09:39:21,731 - DEBUG - VM ctest-TestBasicPolicy-06764363-38620024 is ready for SSH connections 2026-06-18 09:39:21,732 - INFO - Waiting for VM ctest-TestBasicPolicy-06764363-01446691 to be up.. 2026-06-18 09:39:21,808 - DEBUG - VM is in ACTIVE state now 2026-06-18 09:39:21,808 - INFO - VM name : ctest-TestBasicPolicy-06764363-01446691 2026-06-18 09:39:21,875 - DEBUG - VM ctest-TestBasicPolicy-06764363-01446691 ID is 010c7c54-4ab8-4146-ba99-26cb41717ca8 2026-06-18 09:39:21,875 - DEBUG - VM ctest-TestBasicPolicy-06764363-01446691 launched on Node cn-jenkins-deploy-platform-ansible-os-5977-1 2026-06-18 09:39:21,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/010c7c54-4ab8-4146-ba99-26cb41717ca8 2026-06-18 09:39:21,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/025c0119-7fe3-4001-a03b-4f5fd547aa2c 2026-06-18 09:39:23,178 - 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=5.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.071/3.363/5.656/2.292 ms') 2026-06-18 09:39:23,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06764363-01446691 passed 2026-06-18 09:39:23,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 09:39:23,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06764363-01446691, IP 105.187.105.67, Port 22 2026-06-18 09:39:23,483 - DEBUG - VM ctest-TestBasicPolicy-06764363-01446691 is ready for SSH connections 2026-06-18 09:39:23,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 09:39:23,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.187.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 09:39:23,483 - DEBUG - ping -s 56 -c 3 -W 1 105.187.105.67 2026-06-18 09:39:27,392 - DEBUG - PING 105.187.105.67 (105.187.105.67): 56 data bytes 64 bytes from 105.187.105.67: seq=0 ttl=63 time=3.433 ms 64 bytes from 105.187.105.67: seq=1 ttl=63 time=0.776 ms 64 bytes from 105.187.105.67: seq=2 ttl=63 time=0.733 ms --- 105.187.105.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.647/3.433 ms 2026-06-18 09:39:27,393 - INFO - Ping to IP 105.187.105.67 from VM ctest-TestBasicPolicy-06764363-38620024 passed 2026-06-18 09:39:27,567 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bb557d81-15a2-4f69-ba07-1b939b10d9d9", "href": "http://10.0.0.50:8082/network-policy/bb557d81-15a2-4f69-ba07-1b939b10d9d9"}} 2026-06-18 09:39:27,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 09:39:27,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.187.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 09:39:27,568 - DEBUG - ping -s 56 -c 3 -W 1 105.187.105.67 2026-06-18 09:39:30,697 - DEBUG - PING 105.187.105.67 (105.187.105.67): 56 data bytes --- 105.187.105.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 09:39:30,698 - WARNING - Ping to IP 105.187.105.67 from VM ctest-TestBasicPolicy-06764363-38620024 failed 2026-06-18 09:39:30,698 - INFO - Deleting VM ctest-TestBasicPolicy-06764363-01446691 2026-06-18 09:39:30,766 - INFO - Deleting VM ctest-TestBasicPolicy-06764363-38620024 2026-06-18 09:39:31,092 - INFO - Deleted policy ctest-policy-allow-all-17745849 2026-06-18 09:39:31,092 - INFO - Deleting VN ctest-vn-25251004 2026-06-18 09:39:31,122 - DEBUG - VN 65f4a612-1e88-47c9-adf6-b6aad69f964f still in use: Unable to complete operation on network 65f4a612-1e88-47c9-adf6-b6aad69f964f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8cd6289-8737-4e94-be40-a09f853e11bb'] 2026-06-18 09:39:31,122 - WARNING - Deleting VN ctest-vn-25251004 failed..Will retry 2026-06-18 09:39:33,229 - DEBUG - Response for deleting network () 2026-06-18 09:39:33,229 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4 2026-06-18 09:39:33,235 - DEBUG - Response Code: 404 2026-06-18 09:39:33,235 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:33,239 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:33,292 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:33,359 - INFO - Validated that VN ctest-vn-25251004 is not found in API Server 2026-06-18 09:39:33,370 - DEBUG - VN ctest-vn-25251004 is not present in Agent 10.0.0.50 2026-06-18 09:39:33,370 - INFO - Validated that VN ctest-vn-25251004 is not in any agent 2026-06-18 09:39:33,383 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25251004 info 2026-06-18 09:39:33,383 - INFO - Deleting VN ctest-vn-78177566 2026-06-18 09:39:33,486 - DEBUG - Response for deleting network () 2026-06-18 09:39:33,486 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843 2026-06-18 09:39:33,491 - DEBUG - Response Code: 404 2026-06-18 09:39:33,491 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 09:39:33,495 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844 2026-06-18 09:39:33,548 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4 2026-06-18 09:39:33,614 - INFO - Validated that VN ctest-vn-78177566 is not found in API Server 2026-06-18 09:39:33,625 - DEBUG - VN ctest-vn-78177566 is not present in Agent 10.0.0.50 2026-06-18 09:39:33,625 - INFO - Validated that VN ctest-vn-78177566 is not in any agent 2026-06-18 09:39:33,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78177566 info 2026-06-18 09:39:33,892 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 09:39:33,893 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-18 09:39:33,893 - INFO - -------------------------------------------------------------------------------- 2026-06-18 09:39:34,571 - INFO - Deleted project: ctest-TestBasicPolicy-06764363, ID : c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4