2025-08-11 15:30:01,112 - INFO - Domain Default found not creating 2025-08-11 15:30:01,242 - INFO - Project ctest-TestBasicPolicy-10557103 not found, creating it 2025-08-11 15:30:01,681 - INFO - Created Project:ctest-TestBasicPolicy-10557103, ID : 63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:03,614 - INFO - ================================================================================ 2025-08-11 15:30:03,615 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 15:30:03,615 - 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-11 15:30:03,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.0.0.128': '0'}} with 2025-08-11 15:30:03,868 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:30:03,868 - INFO - 2025-08-11 15:30:04,390 - DEBUG - Response for create_network : {'network': {'id': '9173139a-e4a3-4946-9a7b-5e0093547c70', 'name': 'ctest-vn-38970181', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-vn-38970181'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:30:04,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93133e5-94fa-494f-861c-09a2aa2cc73c', 'name': '', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'network_id': '9173139a-e4a3-4946-9a7b-5e0093547c70', 'ip_version': 4, 'cidr': '54.73.93.64/26', 'allocation_pools': [{'start': '54.73.93.66', 'end': '54.73.93.126'}], 'gateway_ip': '54.73.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.73.93.66', 'tags': [], 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2'}} 2025-08-11 15:30:04,572 - INFO - Created VN ctest-vn-38970181 2025-08-11 15:30:04,620 - DEBUG - VN ctest-vn-38970181 UUID is 9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:04,930 - DEBUG - Response for create_network : {'network': {'id': 'dfb50ffb-20c0-419a-b0e3-41b1179e3a0b', 'name': 'ctest-vn-38411801', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-vn-38411801'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:30:05,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '359068b4-86a7-42fd-b287-69353c83e230', 'name': '', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'network_id': 'dfb50ffb-20c0-419a-b0e3-41b1179e3a0b', 'ip_version': 4, 'cidr': '79.159.77.192/26', 'allocation_pools': [{'start': '79.159.77.194', 'end': '79.159.77.254'}], 'gateway_ip': '79.159.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.159.77.194', 'tags': [], 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2'}} 2025-08-11 15:30:05,086 - INFO - Created VN ctest-vn-38411801 2025-08-11 15:30:05,140 - DEBUG - VN ctest-vn-38411801 UUID is dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:05,284 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181, 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-10557103:ctest-vn-38411801, 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-11 15:30:05,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9173139a-e4a3-4946-9a7b-5e0093547c70', 'name': 'ctest-vn-38970181', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d93133e5-94fa-494f-861c-09a2aa2cc73c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-vn-38970181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-policy-allow-all-31566567']], 'subnet_ipam': [{'subnet_cidr': '54.73.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:30:05,825 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfb50ffb-20c0-419a-b0e3-41b1179e3a0b', 'name': 'ctest-vn-38411801', 'tenant_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'project_id': '63df0e8bc52c49f5bd9fd9ff6cc3c5b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['359068b4-86a7-42fd-b287-69353c83e230'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-vn-38411801'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-policy-allow-all-31566567']], 'subnet_ipam': [{'subnet_cidr': '79.159.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:30:05,940 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:06,245 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:06,270 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:06,280 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:06,354 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,366 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,382 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:06,387 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:06,392 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/c93f7729-c43a-4064-925a-348c8937e6eb 2025-08-11 15:30:06,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:30:06,397 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,404 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:06,415 - INFO - Verified VN network id 11 for VN 9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,415 - INFO - Verifications in API Server for VN ctest-vn-38970181 passed 2025-08-11 15:30:06,415 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,422 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:06,427 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:06,431 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/c93f7729-c43a-4064-925a-348c8937e6eb 2025-08-11 15:30:06,441 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10557103', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10480742313803073862', 'uuid-lslong': '11131594260541111408'}, 'enable': 'true', 'created': '2025-08-11T15:30:04', 'last-modified': '2025-08-11T15:30:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897446'} 2025-08-11 15:30:06,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:30:06,447 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38970181 passed 2025-08-11 15:30:06,447 - DEBUG - ====Verifying policy data for ctest-vn-38970181 in API_Server ====== 2025-08-11 15:30:06,448 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:06,451 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:06,459 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:06,537 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/9173139a-e4a3-4946-9a7b-5e0093547c70 2025-08-11 15:30:06,545 - DEBUG - ==>Verifying data for policy with id: e50f9776-2b8e-47da-87b4-b4f4394c44f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-policy-allow-all-31566567'] 2025-08-11 15:30:06,545 - INFO - VN ctest-vn-38970181 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:30:06,545 - DEBUG - Verifying the vn in opserver 2025-08-11 15:30:06,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181 virtual network link through opserver 10.0.0.128 2025-08-11 15:30:06,545 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-08-11 15:30:06,832 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-08-11 15:30:06,879 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181?flat'} 2025-08-11 15:30:06,879 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181 is found in opserver 2025-08-11 15:30:06,888 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:30:06,893 - DEBUG - VRF ids for VN ctest-vn-38970181: {} 2025-08-11 15:30:06,893 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:06,899 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:06,909 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:06,974 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:06,985 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:06,992 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:06,999 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:07,004 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/a3c9cd24-8285-4f79-bb2d-825dce797491 2025-08-11 15:30:07,010 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:30:07,010 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:07,016 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:07,028 - INFO - Verified VN network id 12 for VN dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:07,028 - INFO - Verifications in API Server for VN ctest-vn-38411801 passed 2025-08-11 15:30:07,028 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:07,035 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:07,041 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:07,049 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/a3c9cd24-8285-4f79-bb2d-825dce797491 2025-08-11 15:30:07,060 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38411801', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10557103', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16119808012503237018', 'uuid-lslong': '12746103599249897995'}, 'enable': 'true', 'created': '2025-08-11T15:30:04', 'last-modified': '2025-08-11T15:30:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293255'} 2025-08-11 15:30:07,065 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:30:07,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38411801 passed 2025-08-11 15:30:07,065 - DEBUG - ====Verifying policy data for ctest-vn-38411801 in API_Server ====== 2025-08-11 15:30:07,065 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:07,070 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:07,084 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:07,165 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/dfb50ffb-20c0-419a-b0e3-41b1179e3a0b 2025-08-11 15:30:07,174 - DEBUG - ==>Verifying data for policy with id: e50f9776-2b8e-47da-87b4-b4f4394c44f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-10557103', 'ctest-policy-allow-all-31566567'] 2025-08-11 15:30:07,174 - INFO - VN ctest-vn-38411801 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:30:07,174 - DEBUG - Verifying the vn in opserver 2025-08-11 15:30:07,174 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38411801 virtual network link through opserver 10.0.0.128 2025-08-11 15:30:07,174 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-08-11 15:30:07,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38411801', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38411801?flat'} 2025-08-11 15:30:07,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38411801 is found in opserver 2025-08-11 15:30:07,193 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:30:07,197 - DEBUG - VRF ids for VN ctest-vn-38411801: {} 2025-08-11 15:30:07,248 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:30:08,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1) 2025-08-11 15:30:09,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1) 2025-08-11 15:30:09,268 - INFO - Waiting for VM ctest-TestBasicPolicy-10557103-19010800 to be up.. 2025-08-11 15:30:09,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:30:14,415 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:30:14,416 - INFO - VM name : ctest-TestBasicPolicy-10557103-19010800 2025-08-11 15:30:14,487 - DEBUG - VM ctest-TestBasicPolicy-10557103-19010800 ID is 78ed90c9-6fd9-4bdd-8310-026952ffca6b 2025-08-11 15:30:14,508 - DEBUG - VM ctest-TestBasicPolicy-10557103-19010800 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1. 2025-08-11 15:30:14,580 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/78ed90c9-6fd9-4bdd-8310-026952ffca6b 2025-08-11 15:30:14,587 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/b9f2ef2d-da5b-43a6-9ecb-c0504bb5f80b 2025-08-11 15:30:17,831 - 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 1019ms') 2025-08-11 15:30:17,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10557103-19010800 failed! 2025-08-11 15:30:17,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10557103:ctest-vn-38970181 is 54.73.93.65 and allocation pool is NOT set 2025-08-11 15:30:19,943 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.540/2.676/1.135 ms') 2025-08-11 15:30:19,943 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10557103-19010800 passed 2025-08-11 15:30:20,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:30:20,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10557103-19010800, IP 54.73.93.67, Port 22 2025-08-11 15:30:20,243 - DEBUG - VM ctest-TestBasicPolicy-10557103-19010800 is ready for SSH connections 2025-08-11 15:30:20,243 - INFO - Waiting for VM ctest-TestBasicPolicy-10557103-14160001 to be up.. 2025-08-11 15:30:20,309 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:30:20,309 - INFO - VM name : ctest-TestBasicPolicy-10557103-14160001 2025-08-11 15:30:20,368 - DEBUG - VM ctest-TestBasicPolicy-10557103-14160001 ID is a9164673-396a-4780-b0f1-544334cf8ae1 2025-08-11 15:30:20,368 - DEBUG - VM ctest-TestBasicPolicy-10557103-14160001 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1. 2025-08-11 15:30:20,424 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/a9164673-396a-4780-b0f1-544334cf8ae1 2025-08-11 15:30:20,429 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/1e7d73e0-d385-463c-8794-4d889f056a5b 2025-08-11 15:30:21,648 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.414/2.477/1.063 ms') 2025-08-11 15:30:21,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10557103-14160001 passed 2025-08-11 15:30:21,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:30:21,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10557103-14160001, IP 79.159.77.195, Port 22 2025-08-11 15:30:21,947 - DEBUG - VM ctest-TestBasicPolicy-10557103-14160001 is ready for SSH connections 2025-08-11 15:30:21,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:30:21,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.159.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-08-11 15:30:21,947 - DEBUG - ping -s 56 -c 3 -W 1 79.159.77.195 2025-08-11 15:30:25,616 - DEBUG - PING 79.159.77.195 (79.159.77.195): 56 data bytes 64 bytes from 79.159.77.195: seq=0 ttl=63 time=3.154 ms 64 bytes from 79.159.77.195: seq=1 ttl=63 time=1.318 ms 64 bytes from 79.159.77.195: seq=2 ttl=63 time=0.678 ms --- 79.159.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.678/1.716/3.154 ms 2025-08-11 15:30:25,616 - INFO - Ping to IP 79.159.77.195 from VM ctest-TestBasicPolicy-10557103-19010800 passed 2025-08-11 15:30:25,788 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e50f9776-2b8e-47da-87b4-b4f4394c44f9", "href": "http://10.0.0.128:8082/network-policy/e50f9776-2b8e-47da-87b4-b4f4394c44f9"}} 2025-08-11 15:30:25,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:30:25,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.159.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-08-11 15:30:25,788 - DEBUG - ping -s 56 -c 3 -W 1 79.159.77.195 2025-08-11 15:30:28,983 - DEBUG - PING 79.159.77.195 (79.159.77.195): 56 data bytes 64 bytes from 79.159.77.195: seq=0 ttl=63 time=1.491 ms --- 79.159.77.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.491/1.491/1.491 ms 2025-08-11 15:30:28,984 - WARNING - Ping to IP 79.159.77.195 from VM ctest-TestBasicPolicy-10557103-19010800 failed 2025-08-11 15:30:28,984 - INFO - Deleting VM ctest-TestBasicPolicy-10557103-14160001 2025-08-11 15:30:29,039 - INFO - Deleting VM ctest-TestBasicPolicy-10557103-19010800 2025-08-11 15:30:29,392 - INFO - Deleted policy ctest-policy-allow-all-31566567 2025-08-11 15:30:29,392 - INFO - Deleting VN ctest-vn-38411801 2025-08-11 15:30:29,418 - DEBUG - VN dfb50ffb-20c0-419a-b0e3-41b1179e3a0b still in use: Unable to complete operation on network dfb50ffb-20c0-419a-b0e3-41b1179e3a0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7b28b4d-5b9c-4dc8-960f-7fd5aca3d0fc'] 2025-08-11 15:30:29,418 - WARNING - Deleting VN ctest-vn-38411801 failed..Will retry 2025-08-11 15:30:31,494 - DEBUG - Response for deleting network () 2025-08-11 15:30:31,494 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/9c738ce4-6aa9-4363-aa75-58ff49db3be4 2025-08-11 15:30:31,498 - DEBUG - Response Code: 404 2025-08-11 15:30:31,498 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:31,502 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:31,552 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:31,617 - INFO - Validated that VN ctest-vn-38411801 is not found in API Server 2025-08-11 15:30:31,625 - DEBUG - VN ctest-vn-38411801 is not present in Agent 10.0.0.128 2025-08-11 15:30:31,625 - INFO - Validated that VN ctest-vn-38411801 is not in any agent 2025-08-11 15:30:31,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38411801 info 2025-08-11 15:30:31,637 - INFO - Deleting VN ctest-vn-38970181 2025-08-11 15:30:31,763 - DEBUG - Response for deleting network () 2025-08-11 15:30:31,763 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/193d3db0-248b-4653-ad8e-5a3aa4671ccd 2025-08-11 15:30:31,768 - DEBUG - Response Code: 404 2025-08-11 15:30:31,768 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-08-11 15:30:31,772 - DEBUG - Requesting: http://10.0.0.128:8082/domain/c0da02fa-8c67-478d-8037-01d49286901b 2025-08-11 15:30:31,820 - DEBUG - Requesting: http://10.0.0.128:8082/project/63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2 2025-08-11 15:30:31,888 - INFO - Validated that VN ctest-vn-38970181 is not found in API Server 2025-08-11 15:30:31,896 - DEBUG - VN ctest-vn-38970181 is not present in Agent 10.0.0.128 2025-08-11 15:30:31,896 - INFO - Validated that VN ctest-vn-38970181 is not in any agent 2025-08-11 15:30:31,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38970181 info 2025-08-11 15:30:32,169 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:30:32,169 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-11 15:30:32,169 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:30:32,792 - INFO - Deleted project: ctest-TestBasicPolicy-10557103, ID : 63df0e8b-c52c-49f5-bd9f-d9ff6cc3c5b2