2025-06-19 12:46:32,287 - INFO - Domain Default found not creating 2025-06-19 12:46:32,435 - INFO - Project ctest-TestBasicPolicy-33907505 not found, creating it 2025-06-19 12:46:32,903 - INFO - Created Project:ctest-TestBasicPolicy-33907505, ID : f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:46:34,337 - INFO - ================================================================================ 2025-06-19 12:46:34,337 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 12:46:34,337 - 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-06-19 12:46:34,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-06-19 12:46:34,597 - INFO - Initial checks done. Running the testcase now 2025-06-19 12:46:34,598 - INFO - 2025-06-19 12:46:35,285 - DEBUG - Response for create_network : {'network': {'id': '90848a18-f95e-4f64-829c-df8a93c5f437', 'name': 'ctest-vn-27377402', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'project_id': 'f51b0c934c93487f9c067259a35140ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-vn-27377402'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:46:35,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '8475dd21-ae78-4cad-88c3-c742b5075d3f', 'name': '', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'network_id': '90848a18-f95e-4f64-829c-df8a93c5f437', 'ip_version': 4, 'cidr': '144.38.102.192/26', 'allocation_pools': [{'start': '144.38.102.194', 'end': '144.38.102.254'}], 'gateway_ip': '144.38.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.38.102.194', 'tags': [], 'project_id': 'f51b0c934c93487f9c067259a35140ac'}} 2025-06-19 12:46:35,529 - INFO - Created VN ctest-vn-27377402 2025-06-19 12:46:35,582 - DEBUG - VN ctest-vn-27377402 UUID is 90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:35,889 - DEBUG - Response for create_network : {'network': {'id': '57077611-4455-4804-8845-9d658e34f6c6', 'name': 'ctest-vn-88330041', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'project_id': 'f51b0c934c93487f9c067259a35140ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-vn-88330041'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:46:36,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '75a2237b-6391-4f14-b9d1-c5d4e29ad06a', 'name': '', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'network_id': '57077611-4455-4804-8845-9d658e34f6c6', 'ip_version': 4, 'cidr': '112.103.154.128/26', 'allocation_pools': [{'start': '112.103.154.130', 'end': '112.103.154.190'}], 'gateway_ip': '112.103.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.103.154.130', 'tags': [], 'project_id': 'f51b0c934c93487f9c067259a35140ac'}} 2025-06-19 12:46:36,129 - INFO - Created VN ctest-vn-88330041 2025-06-19 12:46:36,186 - DEBUG - VN ctest-vn-88330041 UUID is 57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:36,309 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402, 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-33907505:ctest-vn-88330041, 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-06-19 12:46:36,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90848a18-f95e-4f64-829c-df8a93c5f437', 'name': 'ctest-vn-27377402', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'project_id': 'f51b0c934c93487f9c067259a35140ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8475dd21-ae78-4cad-88c3-c742b5075d3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-vn-27377402'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-policy-allow-all-86927352']], 'subnet_ipam': [{'subnet_cidr': '144.38.102.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:46:36,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57077611-4455-4804-8845-9d658e34f6c6', 'name': 'ctest-vn-88330041', 'tenant_id': 'f51b0c934c93487f9c067259a35140ac', 'project_id': 'f51b0c934c93487f9c067259a35140ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75a2237b-6391-4f14-b9d1-c5d4e29ad06a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-vn-88330041'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-policy-allow-all-86927352']], 'subnet_ipam': [{'subnet_cidr': '112.103.154.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:46:37,078 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:46:37,384 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:46:37,416 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:46:37,437 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:46:37,514 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,527 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,537 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:46:37,545 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:46:37,553 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/decbdf56-8654-4c85-a07f-bac4fabed752 2025-06-19 12:46:37,560 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 12:46:37,560 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,571 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:46:37,588 - INFO - Verified VN network id 9 for VN 90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,588 - INFO - Verifications in API Server for VN ctest-vn-27377402 passed 2025-06-19 12:46:37,588 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,599 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:46:37,608 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:46:37,617 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/decbdf56-8654-4c85-a07f-bac4fabed752 2025-06-19 12:46:37,631 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33907505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10413600078254985060', 'uuid-lslong': '9411643107575198775'}, 'enable': 'true', 'created': '2025-06-19T12:46:35', 'last-modified': '2025-06-19T12:46:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031818'} 2025-06-19 12:46:37,639 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 12:46:37,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27377402 passed 2025-06-19 12:46:37,639 - DEBUG - ====Verifying policy data for ctest-vn-27377402 in API_Server ====== 2025-06-19 12:46:37,639 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:46:37,646 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:46:37,658 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:46:37,731 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/90848a18-f95e-4f64-829c-df8a93c5f437 2025-06-19 12:46:37,741 - DEBUG - ==>Verifying data for policy with id: 605aae46-8eb3-401d-ac0e-0b950fcd153e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-policy-allow-all-86927352'] 2025-06-19 12:46:37,741 - INFO - VN ctest-vn-27377402 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 12:46:37,741 - DEBUG - Verifying the vn in opserver 2025-06-19 12:46:37,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402 virtual network link through opserver 10.0.0.131 2025-06-19 12:46:37,742 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-19 12:46:38,034 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-19 12:46:38,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402?flat'} 2025-06-19 12:46:38,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402 is found in opserver 2025-06-19 12:46:38,101 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 12:46:38,106 - DEBUG - VRF ids for VN ctest-vn-27377402: {} 2025-06-19 12:46:38,106 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:46:38,112 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:46:38,124 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:46:38,200 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,213 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,223 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:46:38,231 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:46:38,239 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/396d3303-f213-4b58-9598-ce2fefb9dba8 2025-06-19 12:46:38,247 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 12:46:38,247 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,257 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:46:38,274 - INFO - Verified VN network id 10 for VN 57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,274 - INFO - Verifications in API Server for VN ctest-vn-88330041 passed 2025-06-19 12:46:38,274 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,286 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:46:38,294 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:46:38,303 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/396d3303-f213-4b58-9598-ce2fefb9dba8 2025-06-19 12:46:38,328 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-88330041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33907505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6271110822669666308', 'uuid-lslong': '9819427622054328006'}, 'enable': 'true', 'created': '2025-06-19T12:46:35', 'last-modified': '2025-06-19T12:46:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472570'} 2025-06-19 12:46:38,335 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 12:46:38,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88330041 passed 2025-06-19 12:46:38,336 - DEBUG - ====Verifying policy data for ctest-vn-88330041 in API_Server ====== 2025-06-19 12:46:38,336 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:46:38,344 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:46:38,358 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:46:38,437 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/57077611-4455-4804-8845-9d658e34f6c6 2025-06-19 12:46:38,448 - DEBUG - ==>Verifying data for policy with id: 605aae46-8eb3-401d-ac0e-0b950fcd153e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33907505', 'ctest-policy-allow-all-86927352'] 2025-06-19 12:46:38,448 - INFO - VN ctest-vn-88330041 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 12:46:38,448 - DEBUG - Verifying the vn in opserver 2025-06-19 12:46:38,448 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-88330041 virtual network link through opserver 10.0.0.131 2025-06-19 12:46:38,448 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-19 12:46:38,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-88330041', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-88330041?flat'} 2025-06-19 12:46:38,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-88330041 is found in opserver 2025-06-19 12:46:38,471 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 12:46:38,477 - DEBUG - VRF ids for VN ctest-vn-88330041: {} 2025-06-19 12:46:38,535 - DEBUG - Services list from nova: [, , ] 2025-06-19 12:46:39,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:46:40,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:46:40,998 - INFO - Waiting for VM ctest-TestBasicPolicy-33907505-81195721 to be up.. 2025-06-19 12:46:41,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 12:46:46,187 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:46:46,187 - INFO - VM name : ctest-TestBasicPolicy-33907505-81195721 2025-06-19 12:46:46,290 - DEBUG - VM ctest-TestBasicPolicy-33907505-81195721 ID is 83c78125-db5a-4904-b4d3-020ac62fc3e3 2025-06-19 12:46:46,312 - DEBUG - VM ctest-TestBasicPolicy-33907505-81195721 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:46:46,391 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/83c78125-db5a-4904-b4d3-020ac62fc3e3 2025-06-19 12:46:46,401 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/91307d26-0f87-48ea-be61-d060213ece03 2025-06-19 12:46:49,674 - 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 1020ms') 2025-06-19 12:46:49,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33907505-81195721 failed! 2025-06-19 12:46:49,738 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33907505:ctest-vn-27377402 is 144.38.102.193 and allocation pool is NOT set 2025-06-19 12:46:51,802 - 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=6.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.972/4.331/6.691/2.359 ms') 2025-06-19 12:46:51,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33907505-81195721 passed 2025-06-19 12:46:51,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:51,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33907505-81195721, IP 144.38.102.195, Port 22 2025-06-19 12:46:52,124 - DEBUG - VM ctest-TestBasicPolicy-33907505-81195721 is ready for SSH connections 2025-06-19 12:46:52,124 - INFO - Waiting for VM ctest-TestBasicPolicy-33907505-29222986 to be up.. 2025-06-19 12:46:52,206 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:46:52,206 - INFO - VM name : ctest-TestBasicPolicy-33907505-29222986 2025-06-19 12:46:52,296 - DEBUG - VM ctest-TestBasicPolicy-33907505-29222986 ID is a8ec4660-f125-4c47-8c56-2137dcff007f 2025-06-19 12:46:52,296 - DEBUG - VM ctest-TestBasicPolicy-33907505-29222986 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:46:52,376 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a8ec4660-f125-4c47-8c56-2137dcff007f 2025-06-19 12:46:52,387 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a039e4c4-dbfd-4b23-880d-5fcd7bde6157 2025-06-19 12:46:53,632 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.798/3.209/1.410 ms') 2025-06-19 12:46:53,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33907505-29222986 passed 2025-06-19 12:46:53,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:53,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33907505-29222986, IP 112.103.154.131, Port 22 2025-06-19 12:46:53,941 - DEBUG - VM ctest-TestBasicPolicy-33907505-29222986 is ready for SSH connections 2025-06-19 12:46:53,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:53,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.103.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-19 12:46:53,942 - DEBUG - ping -s 56 -c 3 -W 1 112.103.154.131 2025-06-19 12:46:57,939 - DEBUG - PING 112.103.154.131 (112.103.154.131): 56 data bytes 64 bytes from 112.103.154.131: seq=0 ttl=63 time=3.257 ms 64 bytes from 112.103.154.131: seq=1 ttl=63 time=0.985 ms 64 bytes from 112.103.154.131: seq=2 ttl=63 time=1.095 ms --- 112.103.154.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/1.779/3.257 ms 2025-06-19 12:46:57,939 - INFO - Ping to IP 112.103.154.131 from VM ctest-TestBasicPolicy-33907505-81195721 passed 2025-06-19 12:46:58,122 - DEBUG - Policy Update Response {"network-policy": {"uuid": "605aae46-8eb3-401d-ac0e-0b950fcd153e", "href": "http://10.0.0.131:8082/network-policy/605aae46-8eb3-401d-ac0e-0b950fcd153e"}} 2025-06-19 12:46:58,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:58,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.103.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-19 12:46:58,122 - DEBUG - ping -s 56 -c 3 -W 1 112.103.154.131 2025-06-19 12:47:01,329 - DEBUG - PING 112.103.154.131 (112.103.154.131): 56 data bytes 64 bytes from 112.103.154.131: seq=0 ttl=63 time=1.346 ms --- 112.103.154.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.346/1.346/1.346 ms 2025-06-19 12:47:01,329 - WARNING - Ping to IP 112.103.154.131 from VM ctest-TestBasicPolicy-33907505-81195721 failed 2025-06-19 12:47:01,329 - INFO - Deleting VM ctest-TestBasicPolicy-33907505-29222986 2025-06-19 12:47:01,414 - INFO - Deleting VM ctest-TestBasicPolicy-33907505-81195721 2025-06-19 12:47:01,868 - INFO - Deleted policy ctest-policy-allow-all-86927352 2025-06-19 12:47:01,868 - INFO - Deleting VN ctest-vn-88330041 2025-06-19 12:47:01,916 - DEBUG - VN 57077611-4455-4804-8845-9d658e34f6c6 still in use: Unable to complete operation on network 57077611-4455-4804-8845-9d658e34f6c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-caa8ee4e-2f74-4a9a-8bf5-c80ace273885'] 2025-06-19 12:47:01,916 - WARNING - Deleting VN ctest-vn-88330041 failed..Will retry 2025-06-19 12:47:04,039 - DEBUG - Response for deleting network () 2025-06-19 12:47:04,039 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/577163c4-2315-4972-abdd-719571b64bb6 2025-06-19 12:47:04,048 - DEBUG - Response Code: 404 2025-06-19 12:47:04,049 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:47:04,055 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:47:04,109 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:47:04,189 - INFO - Validated that VN ctest-vn-88330041 is not found in API Server 2025-06-19 12:47:04,202 - DEBUG - VN ctest-vn-88330041 is not present in Agent 10.0.0.131 2025-06-19 12:47:04,202 - INFO - Validated that VN ctest-vn-88330041 is not in any agent 2025-06-19 12:47:04,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88330041 info 2025-06-19 12:47:04,220 - INFO - Deleting VN ctest-vn-27377402 2025-06-19 12:47:04,349 - DEBUG - Response for deleting network () 2025-06-19 12:47:04,350 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/629b9029-3176-4b28-a8ba-eb18bb353426 2025-06-19 12:47:04,367 - DEBUG - Response Code: 404 2025-06-19 12:47:04,368 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-19 12:47:04,376 - DEBUG - Requesting: http://10.0.0.131:8082/domain/46871b59-f713-4709-8d2f-a838745d15f0 2025-06-19 12:47:04,432 - DEBUG - Requesting: http://10.0.0.131:8082/project/f51b0c93-4c93-487f-9c06-7259a35140ac 2025-06-19 12:47:04,517 - INFO - Validated that VN ctest-vn-27377402 is not found in API Server 2025-06-19 12:47:04,529 - DEBUG - VN ctest-vn-27377402 is not present in Agent 10.0.0.131 2025-06-19 12:47:04,529 - INFO - Validated that VN ctest-vn-27377402 is not in any agent 2025-06-19 12:47:04,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27377402 info 2025-06-19 12:47:04,804 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 12:47:04,804 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 12:47:04,804 - INFO - -------------------------------------------------------------------------------- 2025-06-19 12:47:05,514 - INFO - Deleted project: ctest-TestBasicPolicy-33907505, ID : f51b0c93-4c93-487f-9c06-7259a35140ac