2025-05-08 11:07:39,564 - INFO - Domain Default found not creating
2025-05-08 11:07:39,702 - INFO - Project ctest-TestBasicPolicy-89797401 not found, creating it
2025-05-08 11:07:40,157 - INFO - Created Project:ctest-TestBasicPolicy-89797401, ID : 8c397715-25e4-4524-943b-cb7e0a02f62a 
2025-05-08 11:07:41,544 - INFO - ================================================================================
2025-05-08 11:07:41,544 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-05-08 11:07:41,544 - 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-05-08 11:07:41,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-08 11:07:41,803 - INFO - Initial checks done. Running the testcase now
2025-05-08 11:07:41,803 - INFO - 
2025-05-08 11:07:42,326 - DEBUG - Response for create_network : {'network': {'id': '8b136e78-132e-440f-9422-df409f4ab697', 'name': 'ctest-vn-97561317', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'project_id': '8c39771525e44524943bcb7e0a02f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-vn-97561317'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:42,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '87aa6fe2-c8df-43ae-af63-a632a6e2f1a1', 'name': '', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'network_id': '8b136e78-132e-440f-9422-df409f4ab697', 'ip_version': 4, 'cidr': '182.84.4.0/26', 'allocation_pools': [{'start': '182.84.4.2', 'end': '182.84.4.62'}], 'gateway_ip': '182.84.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.84.4.2', 'tags': [], 'project_id': '8c39771525e44524943bcb7e0a02f62a'}}
2025-05-08 11:07:42,503 - INFO - Created VN ctest-vn-97561317
2025-05-08 11:07:42,553 - DEBUG - VN ctest-vn-97561317 UUID is 8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:42,876 - DEBUG - Response for create_network : {'network': {'id': '14030768-e9d7-4917-8fae-25f81421679f', 'name': 'ctest-vn-04238486', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'project_id': '8c39771525e44524943bcb7e0a02f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-vn-04238486'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:43,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f845f30-ce36-498e-b867-15262fcd96f1', 'name': '', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'network_id': '14030768-e9d7-4917-8fae-25f81421679f', 'ip_version': 4, 'cidr': '100.234.231.192/26', 'allocation_pools': [{'start': '100.234.231.194', 'end': '100.234.231.254'}], 'gateway_ip': '100.234.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.234.231.194', 'tags': [], 'project_id': '8c39771525e44524943bcb7e0a02f62a'}}
2025-05-08 11:07:43,065 - INFO - Created VN ctest-vn-04238486
2025-05-08 11:07:43,117 - DEBUG - VN ctest-vn-04238486 UUID is 14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:43,261 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317, 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-89797401:ctest-vn-04238486, 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-05-08 11:07:43,562 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b136e78-132e-440f-9422-df409f4ab697', 'name': 'ctest-vn-97561317', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'project_id': '8c39771525e44524943bcb7e0a02f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87aa6fe2-c8df-43ae-af63-a632a6e2f1a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-vn-97561317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-policy-allow-all-15920685']], 'subnet_ipam': [{'subnet_cidr': '182.84.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:43,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14030768-e9d7-4917-8fae-25f81421679f', 'name': 'ctest-vn-04238486', 'tenant_id': '8c39771525e44524943bcb7e0a02f62a', 'project_id': '8c39771525e44524943bcb7e0a02f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f845f30-ce36-498e-b867-15262fcd96f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-vn-04238486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-policy-allow-all-15920685']], 'subnet_ipam': [{'subnet_cidr': '100.234.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:43,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:07:44,250 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:07:44,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:07:44,289 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:07:44,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,379 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:07:44,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:07:44,393 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bbed0f65-7406-4a43-92c4-d3e3260130a5
2025-05-08 11:07:44,398 - DEBUG - Route Targets: ['target:64512:8000005']
2025-05-08 11:07:44,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,407 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:07:44,420 - INFO - Verified VN network id 8 for VN 8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,420 - INFO - Verifications in API Server for VN ctest-vn-97561317 passed
2025-05-08 11:07:44,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,429 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:07:44,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:07:44,441 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bbed0f65-7406-4a43-92c4-d3e3260130a5
2025-05-08 11:07:44,452 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89797401', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10021475057826415631', 'uuid-lslong': '10674339535464871575'}, 'enable': 'true', 'created': '2025-05-08T11:07:42', 'last-modified': '2025-05-08T11:07:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914002'}
2025-05-08 11:07:44,458 - DEBUG - Route Targets: ['target:64512:8000005']
2025-05-08 11:07:44,458 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97561317 passed
2025-05-08 11:07:44,459 - DEBUG - ====Verifying policy data for ctest-vn-97561317 in API_Server ======
2025-05-08 11:07:44,459 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:07:44,464 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:07:44,475 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:07:44,548 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b136e78-132e-440f-9422-df409f4ab697
2025-05-08 11:07:44,560 - DEBUG - ==>Verifying data for policy with id: b2e05ab8-13fb-41f9-bd8e-2ad8d6343c8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-policy-allow-all-15920685']
2025-05-08 11:07:44,561 - INFO - VN ctest-vn-97561317 Policy verification: verify_vn_policy_in_api_server, status: True
2025-05-08 11:07:44,561 - DEBUG - Verifying the vn in opserver
2025-05-08 11:07:44,561 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317 virtual network link  through opserver 10.0.0.38
2025-05-08 11:07:44,561 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-05-08 11:07:44,851 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-05-08 11:07:44,902 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317?flat'}
2025-05-08 11:07:44,902 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317 is found in opserver
2025-05-08 11:07:44,912 - DEBUG - Do not have enough data to verify VN in agent
2025-05-08 11:07:44,916 - DEBUG - VRF ids for VN ctest-vn-97561317: {}
2025-05-08 11:07:44,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:07:44,922 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:07:44,933 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:07:45,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:07:45,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:07:45,036 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/74bbb7e4-d9c9-443b-9261-9561c4cc9b11
2025-05-08 11:07:45,042 - DEBUG - Route Targets: ['target:64512:8000006']
2025-05-08 11:07:45,042 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,051 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:07:45,063 - INFO - Verified VN network id 9 for VN 14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,063 - INFO - Verifications in API Server for VN ctest-vn-04238486 passed
2025-05-08 11:07:45,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,071 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:07:45,077 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:07:45,083 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/74bbb7e4-d9c9-443b-9261-9561c4cc9b11
2025-05-08 11:07:45,094 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-04238486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89797401', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1442004452869884183', 'uuid-lslong': '10353254340791199647'}, 'enable': 'true', 'created': '2025-05-08T11:07:42', 'last-modified': '2025-05-08T11:07:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.319683'}
2025-05-08 11:07:45,100 - DEBUG - Route Targets: ['target:64512:8000006']
2025-05-08 11:07:45,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04238486 passed
2025-05-08 11:07:45,100 - DEBUG - ====Verifying policy data for ctest-vn-04238486 in API_Server ======
2025-05-08 11:07:45,100 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:07:45,105 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:07:45,115 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:07:45,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/14030768-e9d7-4917-8fae-25f81421679f
2025-05-08 11:07:45,196 - DEBUG - ==>Verifying data for policy with id: b2e05ab8-13fb-41f9-bd8e-2ad8d6343c8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-89797401', 'ctest-policy-allow-all-15920685']
2025-05-08 11:07:45,196 - INFO - VN ctest-vn-04238486 Policy verification: verify_vn_policy_in_api_server, status: True
2025-05-08 11:07:45,196 - DEBUG - Verifying the vn in opserver
2025-05-08 11:07:45,196 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-04238486 virtual network link  through opserver 10.0.0.38
2025-05-08 11:07:45,196 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-05-08 11:07:45,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-04238486', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-04238486?flat'}
2025-05-08 11:07:45,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-04238486 is found in opserver
2025-05-08 11:07:45,216 - DEBUG - Do not have enough data to verify VN in agent
2025-05-08 11:07:45,221 - DEBUG - VRF ids for VN ctest-vn-04238486: {}
2025-05-08 11:07:45,272 - DEBUG - Services list from nova: [<Service: 1>, <Service: 1>, <Service: 2>]
2025-05-08 11:07:46,246 - INFO - VM ([<Server: ctest-TestBasicPolicy-89797401-59671623>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1)
2025-05-08 11:07:47,421 - INFO - VM ([<Server: ctest-TestBasicPolicy-89797401-55162626>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1)
2025-05-08 11:07:47,421 - INFO - Waiting for VM ctest-TestBasicPolicy-89797401-59671623 to be up..
2025-05-08 11:07:47,498 - DEBUG - VM <Server: ctest-TestBasicPolicy-89797401-59671623> is still in BUILD state, Expected: ACTIVE
2025-05-08 11:07:52,563 - DEBUG - VM <Server: ctest-TestBasicPolicy-89797401-59671623> is in ACTIVE state now
2025-05-08 11:07:52,563 - INFO - VM name : ctest-TestBasicPolicy-89797401-59671623
2025-05-08 11:07:52,624 - DEBUG - VM ctest-TestBasicPolicy-89797401-59671623 ID is 2188ce18-23b5-45d6-8361-1557b050770f
2025-05-08 11:07:52,641 - DEBUG - VM ctest-TestBasicPolicy-89797401-59671623 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1
2025-05-08 11:07:52,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2188ce18-23b5-45d6-8361-1557b050770f
2025-05-08 11:07:52,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68fa3d2e-3689-468b-be95-b835b0b472a8
2025-05-08 11:07:55,959 - 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 1016ms')
2025-05-08 11:07:55,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89797401-59671623 failed!
2025-05-08 11:07:56,017 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89797401:ctest-vn-97561317 is 182.84.4.1 and allocation pool is NOT set
2025-05-08 11:07:58,075 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.678/2.962/1.283 ms')
2025-05-08 11:07:58,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89797401-59671623 passed
2025-05-08 11:07:58,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:07:58,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89797401-59671623, IP 182.84.4.3, Port 22
2025-05-08 11:07:58,372 - DEBUG - VM ctest-TestBasicPolicy-89797401-59671623 is ready for SSH connections
2025-05-08 11:07:58,372 - INFO - Waiting for VM ctest-TestBasicPolicy-89797401-55162626 to be up..
2025-05-08 11:07:58,441 - DEBUG - VM <Server: ctest-TestBasicPolicy-89797401-55162626> is in ACTIVE state now
2025-05-08 11:07:58,441 - INFO - VM name : ctest-TestBasicPolicy-89797401-55162626
2025-05-08 11:07:58,508 - DEBUG - VM ctest-TestBasicPolicy-89797401-55162626 ID is 187bb5e7-0acc-414a-a5d6-64e4ceaab70e
2025-05-08 11:07:58,508 - DEBUG - VM ctest-TestBasicPolicy-89797401-55162626 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1
2025-05-08 11:07:58,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/187bb5e7-0acc-414a-a5d6-64e4ceaab70e
2025-05-08 11:07:58,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3bc67b67-f2c9-4bdc-925e-9948368caca7
2025-05-08 11:07:59,810 - 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=2.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.370/2.340/0.969 ms')
2025-05-08 11:07:59,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89797401-55162626 passed
2025-05-08 11:07:59,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:07:59,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89797401-55162626, IP 100.234.231.195, Port 22
2025-05-08 11:08:00,116 - DEBUG - VM ctest-TestBasicPolicy-89797401-55162626 is ready for SSH connections
2025-05-08 11:08:00,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:08:00,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  100.234.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-08 11:08:00,117 - DEBUG - ping -s 56 -c 3 -W 1  100.234.231.195
2025-05-08 11:08:03,781 - DEBUG - PING 100.234.231.195 (100.234.231.195): 56 data bytes
64 bytes from 100.234.231.195: seq=0 ttl=63 time=2.989 ms
64 bytes from 100.234.231.195: seq=1 ttl=63 time=0.729 ms
64 bytes from 100.234.231.195: seq=2 ttl=63 time=0.731 ms

--- 100.234.231.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.729/1.483/2.989 ms
2025-05-08 11:08:03,781 - INFO - Ping to IP 100.234.231.195 from VM ctest-TestBasicPolicy-89797401-59671623 passed
2025-05-08 11:08:03,949 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2e05ab8-13fb-41f9-bd8e-2ad8d6343c8c", "href": "http://10.0.0.38:8082/network-policy/b2e05ab8-13fb-41f9-bd8e-2ad8d6343c8c"}}
2025-05-08 11:08:03,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:08:03,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  100.234.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-08 11:08:03,950 - DEBUG - ping -s 56 -c 3 -W 1  100.234.231.195
2025-05-08 11:08:07,152 - DEBUG - PING 100.234.231.195 (100.234.231.195): 56 data bytes

--- 100.234.231.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-05-08 11:08:07,152 - WARNING - Ping to IP 100.234.231.195 from VM ctest-TestBasicPolicy-89797401-59671623 failed
2025-05-08 11:08:07,152 - INFO - Deleting VM ctest-TestBasicPolicy-89797401-55162626
2025-05-08 11:08:07,210 - INFO - Deleting VM ctest-TestBasicPolicy-89797401-59671623
2025-05-08 11:08:07,599 - INFO - Deleted policy ctest-policy-allow-all-15920685
2025-05-08 11:08:07,599 - INFO - Deleting VN ctest-vn-04238486 
2025-05-08 11:08:07,635 - DEBUG - VN 14030768-e9d7-4917-8fae-25f81421679f still in use: Unable to complete operation on network 14030768-e9d7-4917-8fae-25f81421679f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-26fc1b77-829c-45ac-9d2c-1c5b7b02b8a7']
2025-05-08 11:08:07,635 - WARNING - Deleting VN ctest-vn-04238486 failed..Will retry
2025-05-08 11:08:09,731 - DEBUG - Response for deleting network ()
2025-05-08 11:08:09,731 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e10db66b-a6ad-447b-84bf-24274f692939
2025-05-08 11:08:09,739 - DEBUG - Response Code: 404
2025-05-08 11:08:09,739 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:08:09,744 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:08:09,800 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:08:09,873 - INFO - Validated that VN ctest-vn-04238486 is not found in API Server
2025-05-08 11:08:09,883 - DEBUG - VN ctest-vn-04238486 is not present in Agent 10.0.0.38 
2025-05-08 11:08:09,883 - INFO - Validated that VN ctest-vn-04238486 is not in any agent
2025-05-08 11:08:09,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04238486 info
2025-05-08 11:08:09,898 - INFO - Deleting VN ctest-vn-97561317 
2025-05-08 11:08:10,014 - DEBUG - Response for deleting network ()
2025-05-08 11:08:10,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/496c2f59-220e-4789-b23a-a38ab869dc35
2025-05-08 11:08:10,023 - DEBUG - Response Code: 404
2025-05-08 11:08:10,024 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-05-08 11:08:10,029 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bf6ec89-f68e-41d7-a86d-a940b0370322
2025-05-08 11:08:10,083 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c397715-25e4-4524-943b-cb7e0a02f62a
2025-05-08 11:08:10,151 - INFO - Validated that VN ctest-vn-97561317 is not found in API Server
2025-05-08 11:08:10,161 - DEBUG - VN ctest-vn-97561317 is not present in Agent 10.0.0.38 
2025-05-08 11:08:10,161 - INFO - Validated that VN ctest-vn-97561317 is not in any agent
2025-05-08 11:08:10,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97561317 info
2025-05-08 11:08:10,430 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 11:08:10,430 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-08 11:08:10,430 - INFO - --------------------------------------------------------------------------------
2025-05-08 11:08:11,087 - INFO - Deleted project: ctest-TestBasicPolicy-89797401, ID : 8c397715-25e4-4524-943b-cb7e0a02f62a