2025-11-01 21:45:18,634 - INFO - Domain Default found not creating 2025-11-01 21:45:18,766 - INFO - Project ctest-TestBasicPolicy-51008526 not found, creating it 2025-11-01 21:45:19,194 - INFO - Created Project:ctest-TestBasicPolicy-51008526, ID : 9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:20,585 - INFO - ================================================================================ 2025-11-01 21:45:20,585 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-01 21:45:20,585 - 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-11-01 21:45:20,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 21:45:20,839 - INFO - Initial checks done. Running the testcase now 2025-11-01 21:45:20,839 - INFO - 2025-11-01 21:45:21,394 - DEBUG - Response for create_network : {'network': {'id': 'e4cefda3-8081-4820-a1c6-ba772e63ccdc', 'name': 'ctest-vn-11264377', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-vn-11264377'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:45:21,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2a1f838-f667-4bb4-b5fa-c1bc991876bd', 'name': '', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'network_id': 'e4cefda3-8081-4820-a1c6-ba772e63ccdc', 'ip_version': 4, 'cidr': '110.222.128.64/26', 'allocation_pools': [{'start': '110.222.128.66', 'end': '110.222.128.126'}], 'gateway_ip': '110.222.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.222.128.66', 'tags': [], 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d'}} 2025-11-01 21:45:21,593 - INFO - Created VN ctest-vn-11264377 2025-11-01 21:45:21,645 - DEBUG - VN ctest-vn-11264377 UUID is e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:21,949 - DEBUG - Response for create_network : {'network': {'id': '3eb96920-19a3-4413-8e37-cf77ca404547', 'name': 'ctest-vn-48809782', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-vn-48809782'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:45:22,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '9296865f-4ed9-4bc6-bd75-e9c10d2c4f8e', 'name': '', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'network_id': '3eb96920-19a3-4413-8e37-cf77ca404547', 'ip_version': 4, 'cidr': '121.221.20.0/26', 'allocation_pools': [{'start': '121.221.20.2', 'end': '121.221.20.62'}], 'gateway_ip': '121.221.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.221.20.2', 'tags': [], 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d'}} 2025-11-01 21:45:22,163 - INFO - Created VN ctest-vn-48809782 2025-11-01 21:45:22,213 - DEBUG - VN ctest-vn-48809782 UUID is 3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:22,325 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377, 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-51008526:ctest-vn-48809782, 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-11-01 21:45:22,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e4cefda3-8081-4820-a1c6-ba772e63ccdc', 'name': 'ctest-vn-11264377', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2a1f838-f667-4bb4-b5fa-c1bc991876bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-vn-11264377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-policy-allow-all-43889393']], 'subnet_ipam': [{'subnet_cidr': '110.222.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:45:22,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3eb96920-19a3-4413-8e37-cf77ca404547', 'name': 'ctest-vn-48809782', 'tenant_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'project_id': '9c5edebdd3c045a4a17344d54a2b4f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9296865f-4ed9-4bc6-bd75-e9c10d2c4f8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-vn-48809782'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-policy-allow-all-43889393']], 'subnet_ipam': [{'subnet_cidr': '121.221.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:45:23,001 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:23,294 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:23,323 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:23,334 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:23,406 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,415 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,423 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:23,429 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:23,435 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/9c71807c-d7d5-486c-a4e8-0c4cbb7fed44 2025-11-01 21:45:23,440 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 21:45:23,440 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,447 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:23,459 - INFO - Verified VN network id 12 for VN e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,459 - INFO - Verifications in API Server for VN ctest-vn-11264377 passed 2025-11-01 21:45:23,459 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,466 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:23,472 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:23,478 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/9c71807c-d7d5-486c-a4e8-0c4cbb7fed44 2025-11-01 21:45:23,487 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51008526', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16487394164527417376', 'uuid-lslong': '11657209706537274588'}, 'enable': 'true', 'created': '2025-11-01T21:45:21', 'last-modified': '2025-11-01T21:45:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905258'} 2025-11-01 21:45:23,492 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 21:45:23,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11264377 passed 2025-11-01 21:45:23,493 - DEBUG - ====Verifying policy data for ctest-vn-11264377 in API_Server ====== 2025-11-01 21:45:23,493 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:23,497 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:23,511 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:23,584 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e4cefda3-8081-4820-a1c6-ba772e63ccdc 2025-11-01 21:45:23,594 - DEBUG - ==>Verifying data for policy with id: 802a4826-36d6-4b6a-b102-79553516fc56, fqn: ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-policy-allow-all-43889393'] 2025-11-01 21:45:23,594 - INFO - VN ctest-vn-11264377 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 21:45:23,594 - DEBUG - Verifying the vn in opserver 2025-11-01 21:45:23,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377 virtual network link through opserver 10.0.0.65 2025-11-01 21:45:23,594 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-01 21:45:23,887 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-01 21:45:23,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377?flat'} 2025-11-01 21:45:23,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377 is found in opserver 2025-11-01 21:45:23,964 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 21:45:23,968 - DEBUG - VRF ids for VN ctest-vn-11264377: {} 2025-11-01 21:45:23,969 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:23,973 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:23,983 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:24,049 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,063 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,071 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:24,077 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:24,083 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/4b89e0ab-801b-4825-b71c-63281606fccc 2025-11-01 21:45:24,089 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 21:45:24,089 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,098 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:24,111 - INFO - Verified VN network id 13 for VN 3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,112 - INFO - Verifications in API Server for VN ctest-vn-48809782 passed 2025-11-01 21:45:24,112 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,121 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:24,129 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:24,136 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/4b89e0ab-801b-4825-b71c-63281606fccc 2025-11-01 21:45:24,147 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-48809782', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51008526', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4519759287633003539', 'uuid-lslong': '10247887590506120519'}, 'enable': 'true', 'created': '2025-11-01T21:45:21', 'last-modified': '2025-11-01T21:45:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351477'} 2025-11-01 21:45:24,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 21:45:24,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48809782 passed 2025-11-01 21:45:24,153 - DEBUG - ====Verifying policy data for ctest-vn-48809782 in API_Server ====== 2025-11-01 21:45:24,153 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:24,158 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:24,169 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:24,239 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3eb96920-19a3-4413-8e37-cf77ca404547 2025-11-01 21:45:24,247 - DEBUG - ==>Verifying data for policy with id: 802a4826-36d6-4b6a-b102-79553516fc56, fqn: ['default-domain', 'ctest-TestBasicPolicy-51008526', 'ctest-policy-allow-all-43889393'] 2025-11-01 21:45:24,247 - INFO - VN ctest-vn-48809782 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 21:45:24,247 - DEBUG - Verifying the vn in opserver 2025-11-01 21:45:24,247 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-48809782 virtual network link through opserver 10.0.0.65 2025-11-01 21:45:24,247 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-01 21:45:24,257 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-48809782', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-48809782?flat'} 2025-11-01 21:45:24,257 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-48809782 is found in opserver 2025-11-01 21:45:24,266 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 21:45:24,270 - DEBUG - VRF ids for VN ctest-vn-48809782: {} 2025-11-01 21:45:24,328 - DEBUG - Services list from nova: [, , ] 2025-11-01 21:45:25,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4592-1) 2025-11-01 21:45:26,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4592-1) 2025-11-01 21:45:26,383 - INFO - Waiting for VM ctest-TestBasicPolicy-51008526-87315744 to be up.. 2025-11-01 21:45:26,448 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 21:45:31,517 - DEBUG - VM is in ACTIVE state now 2025-11-01 21:45:31,517 - INFO - VM name : ctest-TestBasicPolicy-51008526-87315744 2025-11-01 21:45:31,591 - DEBUG - VM ctest-TestBasicPolicy-51008526-87315744 ID is eb81412a-ab17-4d9e-ada7-5d9210806a27 2025-11-01 21:45:31,615 - DEBUG - VM ctest-TestBasicPolicy-51008526-87315744 launched on Node cn-jenkins-deploy-platform-ansible-os-4592-1 2025-11-01 21:45:31,685 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/eb81412a-ab17-4d9e-ada7-5d9210806a27 2025-11-01 21:45:31,692 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f9373f1e-79cc-467a-aa2f-1be83980e27a 2025-11-01 21:45:34,940 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-11-01 21:45:34,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51008526-87315744 failed! 2025-11-01 21:45:35,002 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51008526:ctest-vn-11264377 is 110.222.128.65 and allocation pool is NOT set 2025-11-01 21:45:37,059 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.814 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.814/1.989/3.165/1.175 ms') 2025-11-01 21:45:37,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51008526-87315744 passed 2025-11-01 21:45:37,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:45:37,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51008526-87315744, IP 110.222.128.67, Port 22 2025-11-01 21:45:37,361 - DEBUG - VM ctest-TestBasicPolicy-51008526-87315744 is ready for SSH connections 2025-11-01 21:45:37,361 - INFO - Waiting for VM ctest-TestBasicPolicy-51008526-41377511 to be up.. 2025-11-01 21:45:37,435 - DEBUG - VM is in ACTIVE state now 2025-11-01 21:45:37,435 - INFO - VM name : ctest-TestBasicPolicy-51008526-41377511 2025-11-01 21:45:37,505 - DEBUG - VM ctest-TestBasicPolicy-51008526-41377511 ID is 12f70757-b47b-4afd-bce4-91d87413ea7b 2025-11-01 21:45:37,505 - DEBUG - VM ctest-TestBasicPolicy-51008526-41377511 launched on Node cn-jenkins-deploy-platform-ansible-os-4592-1 2025-11-01 21:45:37,576 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/12f70757-b47b-4afd-bce4-91d87413ea7b 2025-11-01 21:45:37,583 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c89beb71-edec-4ea5-b195-8e79684dc33c 2025-11-01 21:45:38,808 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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 = 0.456/1.600/2.744/1.144 ms') 2025-11-01 21:45:38,808 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51008526-41377511 passed 2025-11-01 21:45:38,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:45:38,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51008526-41377511, IP 121.221.20.3, Port 22 2025-11-01 21:45:39,117 - DEBUG - VM ctest-TestBasicPolicy-51008526-41377511 is ready for SSH connections 2025-11-01 21:45:39,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:45:39,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.221.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-01 21:45:39,118 - DEBUG - ping -s 56 -c 3 -W 1 121.221.20.3 2025-11-01 21:45:43,137 - DEBUG - PING 121.221.20.3 (121.221.20.3): 56 data bytes 64 bytes from 121.221.20.3: seq=0 ttl=63 time=3.965 ms 64 bytes from 121.221.20.3: seq=1 ttl=63 time=0.917 ms 64 bytes from 121.221.20.3: seq=2 ttl=63 time=0.843 ms --- 121.221.20.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.908/3.965 ms 2025-11-01 21:45:43,137 - INFO - Ping to IP 121.221.20.3 from VM ctest-TestBasicPolicy-51008526-87315744 passed 2025-11-01 21:45:43,313 - DEBUG - Policy Update Response {"network-policy": {"uuid": "802a4826-36d6-4b6a-b102-79553516fc56", "href": "http://10.0.0.65:8082/network-policy/802a4826-36d6-4b6a-b102-79553516fc56"}} 2025-11-01 21:45:43,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:45:43,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.221.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-01 21:45:43,314 - DEBUG - ping -s 56 -c 3 -W 1 121.221.20.3 2025-11-01 21:45:46,537 - DEBUG - PING 121.221.20.3 (121.221.20.3): 56 data bytes --- 121.221.20.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 21:45:46,538 - WARNING - Ping to IP 121.221.20.3 from VM ctest-TestBasicPolicy-51008526-87315744 failed 2025-11-01 21:45:46,538 - INFO - Deleting VM ctest-TestBasicPolicy-51008526-41377511 2025-11-01 21:45:46,604 - INFO - Deleting VM ctest-TestBasicPolicy-51008526-87315744 2025-11-01 21:45:46,981 - INFO - Deleted policy ctest-policy-allow-all-43889393 2025-11-01 21:45:46,981 - INFO - Deleting VN ctest-vn-48809782 2025-11-01 21:45:47,014 - DEBUG - VN 3eb96920-19a3-4413-8e37-cf77ca404547 still in use: Unable to complete operation on network 3eb96920-19a3-4413-8e37-cf77ca404547. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54008f5a-130b-4935-9bb2-4fa62831ffed'] 2025-11-01 21:45:47,014 - WARNING - Deleting VN ctest-vn-48809782 failed..Will retry 2025-11-01 21:45:49,117 - DEBUG - Response for deleting network () 2025-11-01 21:45:49,117 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ee684f79-dbea-40d0-a72e-f92a46276f80 2025-11-01 21:45:49,124 - DEBUG - Response Code: 404 2025-11-01 21:45:49,124 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:49,129 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:49,184 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:49,256 - INFO - Validated that VN ctest-vn-48809782 is not found in API Server 2025-11-01 21:45:49,265 - DEBUG - VN ctest-vn-48809782 is not present in Agent 10.0.0.65 2025-11-01 21:45:49,265 - INFO - Validated that VN ctest-vn-48809782 is not in any agent 2025-11-01 21:45:49,279 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48809782 info 2025-11-01 21:45:49,279 - INFO - Deleting VN ctest-vn-11264377 2025-11-01 21:45:49,380 - DEBUG - Response for deleting network () 2025-11-01 21:45:49,380 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/dda2c551-20f6-4efa-92d8-32af65a907b5 2025-11-01 21:45:49,386 - DEBUG - Response Code: 404 2025-11-01 21:45:49,386 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-01 21:45:49,391 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fadc4a7a-c5c1-43cf-8285-a5c2f4571ac4 2025-11-01 21:45:49,442 - DEBUG - Requesting: http://10.0.0.65:8082/project/9c5edebd-d3c0-45a4-a173-44d54a2b4f7d 2025-11-01 21:45:49,507 - INFO - Validated that VN ctest-vn-11264377 is not found in API Server 2025-11-01 21:45:49,516 - DEBUG - VN ctest-vn-11264377 is not present in Agent 10.0.0.65 2025-11-01 21:45:49,516 - INFO - Validated that VN ctest-vn-11264377 is not in any agent 2025-11-01 21:45:49,528 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11264377 info 2025-11-01 21:45:49,786 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 21:45:49,786 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-01 21:45:49,786 - INFO - -------------------------------------------------------------------------------- 2025-11-01 21:45:50,437 - INFO - Deleted project: ctest-TestBasicPolicy-51008526, ID : 9c5edebd-d3c0-45a4-a173-44d54a2b4f7d