2025-11-06 06:32:00,411 - INFO - Domain Default found not creating 2025-11-06 06:32:00,549 - INFO - Project ctest-TestBasicPolicy-90645526 not found, creating it 2025-11-06 06:32:00,989 - INFO - Created Project:ctest-TestBasicPolicy-90645526, ID : 7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:02,440 - INFO - ================================================================================ 2025-11-06 06:32:02,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-06 06:32:02,440 - 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-06 06:32:02,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 06:32:02,703 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:32:02,703 - INFO - 2025-11-06 06:32:03,234 - DEBUG - Response for create_network : {'network': {'id': '32a59e6c-7075-4fbc-9cf1-53c4947363f1', 'name': 'ctest-vn-67974025', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'project_id': '7b42f228e1324b43ab37c056df9f3d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-vn-67974025'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:03,399 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdd4cbfa-e727-4b97-ade0-21bb90a0d5b3', 'name': '', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'network_id': '32a59e6c-7075-4fbc-9cf1-53c4947363f1', 'ip_version': 4, 'cidr': '191.110.142.128/26', 'allocation_pools': [{'start': '191.110.142.130', 'end': '191.110.142.190'}], 'gateway_ip': '191.110.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.110.142.130', 'tags': [], 'project_id': '7b42f228e1324b43ab37c056df9f3d4e'}} 2025-11-06 06:32:03,417 - INFO - Created VN ctest-vn-67974025 2025-11-06 06:32:03,471 - DEBUG - VN ctest-vn-67974025 UUID is 32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:03,791 - DEBUG - Response for create_network : {'network': {'id': '121b93bd-1bd2-42a0-89cc-9efb3e60cdcf', 'name': 'ctest-vn-61478082', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'project_id': '7b42f228e1324b43ab37c056df9f3d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-vn-61478082'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:03,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae064c6e-a6ed-4506-a303-28d9c5eab8af', 'name': '', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'network_id': '121b93bd-1bd2-42a0-89cc-9efb3e60cdcf', 'ip_version': 4, 'cidr': '102.27.176.64/26', 'allocation_pools': [{'start': '102.27.176.66', 'end': '102.27.176.126'}], 'gateway_ip': '102.27.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.27.176.66', 'tags': [], 'project_id': '7b42f228e1324b43ab37c056df9f3d4e'}} 2025-11-06 06:32:03,963 - INFO - Created VN ctest-vn-61478082 2025-11-06 06:32:04,014 - DEBUG - VN ctest-vn-61478082 UUID is 121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:04,126 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025, 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-90645526:ctest-vn-61478082, 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-06 06:32:04,534 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32a59e6c-7075-4fbc-9cf1-53c4947363f1', 'name': 'ctest-vn-67974025', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'project_id': '7b42f228e1324b43ab37c056df9f3d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdd4cbfa-e727-4b97-ade0-21bb90a0d5b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-vn-67974025'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-policy-allow-all-46259797']], 'subnet_ipam': [{'subnet_cidr': '191.110.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:04,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '121b93bd-1bd2-42a0-89cc-9efb3e60cdcf', 'name': 'ctest-vn-61478082', 'tenant_id': '7b42f228e1324b43ab37c056df9f3d4e', 'project_id': '7b42f228e1324b43ab37c056df9f3d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae064c6e-a6ed-4506-a303-28d9c5eab8af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-vn-61478082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-policy-allow-all-46259797']], 'subnet_ipam': [{'subnet_cidr': '102.27.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:05,019 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:05,329 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:05,357 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:05,369 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:05,447 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,466 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:05,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:05,478 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/18cd6f8e-f4bf-4662-aab2-db45f614497c 2025-11-06 06:32:05,484 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 06:32:05,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,493 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:05,506 - INFO - Verified VN network id 12 for VN 32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,507 - INFO - Verifications in API Server for VN ctest-vn-67974025 passed 2025-11-06 06:32:05,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:05,520 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:05,527 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/18cd6f8e-f4bf-4662-aab2-db45f614497c 2025-11-06 06:32:05,538 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90645526', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3649497261634047932', 'uuid-lslong': '11308912243073311729'}, 'enable': 'true', 'created': '2025-11-06T06:32:03', 'last-modified': '2025-11-06T06:32:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077732'} 2025-11-06 06:32:05,543 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 06:32:05,543 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67974025 passed 2025-11-06 06:32:05,543 - DEBUG - ====Verifying policy data for ctest-vn-67974025 in API_Server ====== 2025-11-06 06:32:05,543 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:05,548 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:05,557 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:05,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32a59e6c-7075-4fbc-9cf1-53c4947363f1 2025-11-06 06:32:05,633 - DEBUG - ==>Verifying data for policy with id: 02d68132-7cdc-4c96-93b5-950a9228fc92, fqn: ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-policy-allow-all-46259797'] 2025-11-06 06:32:05,633 - INFO - VN ctest-vn-67974025 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 06:32:05,633 - DEBUG - Verifying the vn in opserver 2025-11-06 06:32:05,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025 virtual network link through opserver 10.0.0.38 2025-11-06 06:32:05,633 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 06:32:05,923 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 06:32:05,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025?flat'} 2025-11-06 06:32:05,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025 is found in opserver 2025-11-06 06:32:05,986 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 06:32:05,990 - DEBUG - VRF ids for VN ctest-vn-67974025: {} 2025-11-06 06:32:05,990 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:05,996 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:06,005 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:06,069 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:06,098 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:06,104 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/709b3615-55c8-4f5c-b250-927db095e2f5 2025-11-06 06:32:06,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 06:32:06,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:06,130 - INFO - Verified VN network id 13 for VN 121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,131 - INFO - Verifications in API Server for VN ctest-vn-61478082 passed 2025-11-06 06:32:06,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:06,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:06,152 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/709b3615-55c8-4f5c-b250-927db095e2f5 2025-11-06 06:32:06,163 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-61478082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90645526', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1304798957478757024', 'uuid-lslong': '9929486080365612495'}, 'enable': 'true', 'created': '2025-11-06T06:32:03', 'last-modified': '2025-11-06T06:32:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.336596'} 2025-11-06 06:32:06,168 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 06:32:06,168 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61478082 passed 2025-11-06 06:32:06,168 - DEBUG - ====Verifying policy data for ctest-vn-61478082 in API_Server ====== 2025-11-06 06:32:06,168 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:06,173 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:06,182 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:06,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/121b93bd-1bd2-42a0-89cc-9efb3e60cdcf 2025-11-06 06:32:06,259 - DEBUG - ==>Verifying data for policy with id: 02d68132-7cdc-4c96-93b5-950a9228fc92, fqn: ['default-domain', 'ctest-TestBasicPolicy-90645526', 'ctest-policy-allow-all-46259797'] 2025-11-06 06:32:06,259 - INFO - VN ctest-vn-61478082 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 06:32:06,259 - DEBUG - Verifying the vn in opserver 2025-11-06 06:32:06,259 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-61478082 virtual network link through opserver 10.0.0.38 2025-11-06 06:32:06,259 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 06:32:06,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-61478082', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-61478082?flat'} 2025-11-06 06:32:06,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-61478082 is found in opserver 2025-11-06 06:32:06,275 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 06:32:06,279 - DEBUG - VRF ids for VN ctest-vn-61478082: {} 2025-11-06 06:32:06,329 - DEBUG - Services list from nova: [, , ] 2025-11-06 06:32:07,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:32:08,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:32:08,431 - INFO - Waiting for VM ctest-TestBasicPolicy-90645526-57829959 to be up.. 2025-11-06 06:32:08,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 06:32:13,607 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:32:13,607 - INFO - VM name : ctest-TestBasicPolicy-90645526-57829959 2025-11-06 06:32:13,678 - DEBUG - VM ctest-TestBasicPolicy-90645526-57829959 ID is 67b121e0-e7ed-48f9-b068-71c44c8fd342 2025-11-06 06:32:13,704 - DEBUG - VM ctest-TestBasicPolicy-90645526-57829959 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:32:13,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67b121e0-e7ed-48f9-b068-71c44c8fd342 2025-11-06 06:32:13,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98f9ef9b-5ffb-4c6a-8ae0-e3549319c112 2025-11-06 06:32:16,978 - 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 1007ms') 2025-11-06 06:32:16,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90645526-57829959 failed! 2025-11-06 06:32:17,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90645526:ctest-vn-67974025 is 191.110.142.129 and allocation pool is NOT set 2025-11-06 06:32:19,091 - 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=4.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 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 = 2.166/3.411/4.657/1.245 ms') 2025-11-06 06:32:19,091 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90645526-57829959 passed 2025-11-06 06:32:19,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:19,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90645526-57829959, IP 191.110.142.131, Port 22 2025-11-06 06:32:19,398 - DEBUG - VM ctest-TestBasicPolicy-90645526-57829959 is ready for SSH connections 2025-11-06 06:32:19,398 - INFO - Waiting for VM ctest-TestBasicPolicy-90645526-19933373 to be up.. 2025-11-06 06:32:19,477 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:32:19,477 - INFO - VM name : ctest-TestBasicPolicy-90645526-19933373 2025-11-06 06:32:19,569 - DEBUG - VM ctest-TestBasicPolicy-90645526-19933373 ID is e1f3b588-8556-4242-bc67-ec572f7b5bd6 2025-11-06 06:32:19,569 - DEBUG - VM ctest-TestBasicPolicy-90645526-19933373 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:32:19,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1f3b588-8556-4242-bc67-ec572f7b5bd6 2025-11-06 06:32:19,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5325a08-58fb-4133-be4f-35c8bd4f1236 2025-11-06 06:32:20,894 - 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=8.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/4.568/8.735/4.166 ms') 2025-11-06 06:32:20,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90645526-19933373 passed 2025-11-06 06:32:21,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:21,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90645526-19933373, IP 102.27.176.67, Port 22 2025-11-06 06:32:21,201 - DEBUG - VM ctest-TestBasicPolicy-90645526-19933373 is ready for SSH connections 2025-11-06 06:32:21,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:21,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.27.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 06:32:21,202 - DEBUG - ping -s 56 -c 3 -W 1 102.27.176.67 2025-11-06 06:32:25,272 - DEBUG - PING 102.27.176.67 (102.27.176.67): 56 data bytes 64 bytes from 102.27.176.67: seq=0 ttl=63 time=3.505 ms 64 bytes from 102.27.176.67: seq=1 ttl=63 time=0.854 ms 64 bytes from 102.27.176.67: seq=2 ttl=63 time=1.101 ms --- 102.27.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.820/3.505 ms 2025-11-06 06:32:25,272 - INFO - Ping to IP 102.27.176.67 from VM ctest-TestBasicPolicy-90645526-57829959 passed 2025-11-06 06:32:25,450 - DEBUG - Policy Update Response {"network-policy": {"uuid": "02d68132-7cdc-4c96-93b5-950a9228fc92", "href": "http://10.0.0.38:8082/network-policy/02d68132-7cdc-4c96-93b5-950a9228fc92"}} 2025-11-06 06:32:25,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:25,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.27.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 06:32:25,451 - DEBUG - ping -s 56 -c 3 -W 1 102.27.176.67 2025-11-06 06:32:28,658 - DEBUG - PING 102.27.176.67 (102.27.176.67): 56 data bytes --- 102.27.176.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 06:32:28,659 - WARNING - Ping to IP 102.27.176.67 from VM ctest-TestBasicPolicy-90645526-57829959 failed 2025-11-06 06:32:28,659 - INFO - Deleting VM ctest-TestBasicPolicy-90645526-19933373 2025-11-06 06:32:28,725 - INFO - Deleting VM ctest-TestBasicPolicy-90645526-57829959 2025-11-06 06:32:29,072 - INFO - Deleted policy ctest-policy-allow-all-46259797 2025-11-06 06:32:29,072 - INFO - Deleting VN ctest-vn-61478082 2025-11-06 06:32:29,105 - DEBUG - VN 121b93bd-1bd2-42a0-89cc-9efb3e60cdcf still in use: Unable to complete operation on network 121b93bd-1bd2-42a0-89cc-9efb3e60cdcf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47dad992-e0db-478f-88be-fd478fd00793'] 2025-11-06 06:32:29,105 - WARNING - Deleting VN ctest-vn-61478082 failed..Will retry 2025-11-06 06:32:31,188 - DEBUG - Response for deleting network () 2025-11-06 06:32:31,188 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/928d99d3-8deb-407c-bf89-56a5bbd1c4a7 2025-11-06 06:32:31,195 - DEBUG - Response Code: 404 2025-11-06 06:32:31,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:31,199 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:31,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:31,319 - INFO - Validated that VN ctest-vn-61478082 is not found in API Server 2025-11-06 06:32:31,327 - DEBUG - VN ctest-vn-61478082 is not present in Agent 10.0.0.38 2025-11-06 06:32:31,327 - INFO - Validated that VN ctest-vn-61478082 is not in any agent 2025-11-06 06:32:31,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61478082 info 2025-11-06 06:32:31,340 - INFO - Deleting VN ctest-vn-67974025 2025-11-06 06:32:31,430 - DEBUG - Response for deleting network () 2025-11-06 06:32:31,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e46f971-b3e1-443b-8816-bb23d2c21ab0 2025-11-06 06:32:31,435 - DEBUG - Response Code: 404 2025-11-06 06:32:31,435 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 06:32:31,439 - DEBUG - Requesting: http://10.0.0.38:8082/domain/702902a0-bfb0-4bd4-bacd-afce93f345bd 2025-11-06 06:32:31,491 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b42f228-e132-4b43-ab37-c056df9f3d4e 2025-11-06 06:32:31,557 - INFO - Validated that VN ctest-vn-67974025 is not found in API Server 2025-11-06 06:32:31,566 - DEBUG - VN ctest-vn-67974025 is not present in Agent 10.0.0.38 2025-11-06 06:32:31,566 - INFO - Validated that VN ctest-vn-67974025 is not in any agent 2025-11-06 06:32:31,581 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67974025 info 2025-11-06 06:32:31,835 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 06:32:31,835 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-06 06:32:31,835 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:32:32,508 - INFO - Deleted project: ctest-TestBasicPolicy-90645526, ID : 7b42f228-e132-4b43-ab37-c056df9f3d4e