2025-12-31 03:31:50,609 - INFO - Domain Default found not creating 2025-12-31 03:31:50,790 - INFO - Project ctest-TestBasicPolicy-80067815 not found, creating it 2025-12-31 03:31:51,236 - INFO - Created Project:ctest-TestBasicPolicy-80067815, ID : 68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:31:52,769 - INFO - ================================================================================ 2025-12-31 03:31:52,770 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-31 03:31:52,770 - 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-12-31 03:31:53,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-31 03:31:53,026 - INFO - Initial checks done. Running the testcase now 2025-12-31 03:31:53,026 - INFO - 2025-12-31 03:31:53,611 - DEBUG - Response for create_network : {'network': {'id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'name': 'ctest-vn-60806813', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-60806813'], 'port_security_enabled': True, 'description': ''}} 2025-12-31 03:31:53,812 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6fc74ea-9472-46f2-a610-094552911f36', 'name': '', 'tenant_id': '68a5e162467943399836b4c905b31614', 'network_id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'ip_version': 4, 'cidr': '122.237.65.128/26', 'allocation_pools': [{'start': '122.237.65.130', 'end': '122.237.65.190'}], 'gateway_ip': '122.237.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.237.65.130', 'tags': [], 'project_id': '68a5e162467943399836b4c905b31614'}} 2025-12-31 03:31:53,832 - INFO - Created VN ctest-vn-60806813 2025-12-31 03:31:53,884 - DEBUG - VN ctest-vn-60806813 UUID is 611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:54,167 - DEBUG - Response for create_network : {'network': {'id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'name': 'ctest-vn-99994721', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-99994721'], 'port_security_enabled': True, 'description': ''}} 2025-12-31 03:31:54,343 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbc37b55-e2ab-4cc1-802a-7bc92f834b78', 'name': '', 'tenant_id': '68a5e162467943399836b4c905b31614', 'network_id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'ip_version': 4, 'cidr': '180.90.227.128/26', 'allocation_pools': [{'start': '180.90.227.130', 'end': '180.90.227.190'}], 'gateway_ip': '180.90.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.90.227.130', 'tags': [], 'project_id': '68a5e162467943399836b4c905b31614'}} 2025-12-31 03:31:54,368 - INFO - Created VN ctest-vn-99994721 2025-12-31 03:31:54,424 - DEBUG - VN ctest-vn-99994721 UUID is f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:54,545 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813, 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-80067815:ctest-vn-99994721, 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-12-31 03:31:54,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'name': 'ctest-vn-60806813', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6fc74ea-9472-46f2-a610-094552911f36'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-60806813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']], 'subnet_ipam': [{'subnet_cidr': '122.237.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-31 03:31:55,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'name': 'ctest-vn-99994721', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbc37b55-e2ab-4cc1-802a-7bc92f834b78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-99994721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']], 'subnet_ipam': [{'subnet_cidr': '180.90.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-31 03:31:55,272 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:31:55,570 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:31:55,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:31:55,613 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:31:55,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,699 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:31:55,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:31:55,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a79564e-c5ba-432f-859e-d71b3dfa44a9 2025-12-31 03:31:55,717 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-31 03:31:55,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,726 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:31:55,739 - INFO - Verified VN network id 11 for VN 611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,739 - INFO - Verifications in API Server for VN ctest-vn-60806813 passed 2025-12-31 03:31:55,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:31:55,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:31:55,761 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a79564e-c5ba-432f-859e-d71b3dfa44a9 2025-12-31 03:31:55,773 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6998146709347192476', 'uuid-lslong': '9268336854365078397'}, 'enable': 'true', 'created': '2025-12-31T03:31:53', 'last-modified': '2025-12-31T03:31:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955995'} 2025-12-31 03:31:55,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-31 03:31:55,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60806813 passed 2025-12-31 03:31:55,780 - DEBUG - ====Verifying policy data for ctest-vn-60806813 in API_Server ====== 2025-12-31 03:31:55,780 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:31:55,785 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:31:55,795 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:31:55,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d 2025-12-31 03:31:55,875 - DEBUG - ==>Verifying data for policy with id: f08fa804-ae24-4620-8695-7b9751fb2c5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828'] 2025-12-31 03:31:55,875 - INFO - VN ctest-vn-60806813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-31 03:31:55,875 - DEBUG - Verifying the vn in opserver 2025-12-31 03:31:55,875 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813 virtual network link through opserver 10.0.0.38 2025-12-31 03:31:55,875 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-31 03:31:56,166 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-31 03:31:56,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813?flat'} 2025-12-31 03:31:56,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813 is found in opserver 2025-12-31 03:31:56,236 - DEBUG - Do not have enough data to verify VN in agent 2025-12-31 03:31:56,240 - DEBUG - VRF ids for VN ctest-vn-60806813: {} 2025-12-31 03:31:56,240 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:31:56,246 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:31:56,256 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:31:56,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:31:56,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:31:56,353 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c59a5453-30ef-4761-b1e1-6f361747ce78 2025-12-31 03:31:56,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-31 03:31:56,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:31:56,383 - INFO - Verified VN network id 12 for VN f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,383 - INFO - Verifications in API Server for VN ctest-vn-99994721 passed 2025-12-31 03:31:56,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:31:56,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:31:56,405 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c59a5453-30ef-4761-b1e1-6f361747ce78 2025-12-31 03:31:56,417 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17884083617928858581', 'uuid-lslong': '11015450710189348115'}, 'enable': 'true', 'created': '2025-12-31T03:31:54', 'last-modified': '2025-12-31T03:31:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363979'} 2025-12-31 03:31:56,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-31 03:31:56,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99994721 passed 2025-12-31 03:31:56,422 - DEBUG - ====Verifying policy data for ctest-vn-99994721 in API_Server ====== 2025-12-31 03:31:56,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:31:56,429 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:31:56,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:31:56,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513 2025-12-31 03:31:56,514 - DEBUG - ==>Verifying data for policy with id: f08fa804-ae24-4620-8695-7b9751fb2c5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828'] 2025-12-31 03:31:56,514 - INFO - VN ctest-vn-99994721 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-31 03:31:56,514 - DEBUG - Verifying the vn in opserver 2025-12-31 03:31:56,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721 virtual network link through opserver 10.0.0.38 2025-12-31 03:31:56,514 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-31 03:31:56,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721?flat'} 2025-12-31 03:31:56,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721 is found in opserver 2025-12-31 03:31:56,532 - DEBUG - Do not have enough data to verify VN in agent 2025-12-31 03:31:56,536 - DEBUG - VRF ids for VN ctest-vn-99994721: {} 2025-12-31 03:31:56,590 - DEBUG - Services list from nova: [, , ] 2025-12-31 03:31:57,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4943-1) 2025-12-31 03:31:58,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4943-1) 2025-12-31 03:31:58,771 - INFO - Waiting for VM ctest-TestBasicPolicy-80067815-27416612 to be up.. 2025-12-31 03:31:58,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-31 03:32:03,946 - DEBUG - VM is in ACTIVE state now 2025-12-31 03:32:03,946 - INFO - VM name : ctest-TestBasicPolicy-80067815-27416612 2025-12-31 03:32:04,017 - DEBUG - VM ctest-TestBasicPolicy-80067815-27416612 ID is 75d68878-b74c-48d8-ba46-8bded02e71ea 2025-12-31 03:32:04,036 - DEBUG - VM ctest-TestBasicPolicy-80067815-27416612 launched on Node cn-jenkins-deploy-platform-ansible-os-4943-1 2025-12-31 03:32:04,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/75d68878-b74c-48d8-ba46-8bded02e71ea 2025-12-31 03:32:04,111 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/15c0500b-4ea9-4446-8dff-716e5c0cba92 2025-12-31 03:32:07,367 - 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 1022ms') 2025-12-31 03:32:07,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80067815-27416612 failed! 2025-12-31 03:32:07,420 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813 is 122.237.65.129 and allocation pool is NOT set 2025-12-31 03:32:09,484 - 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=8.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.852 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.852/4.446/8.040/3.594 ms') 2025-12-31 03:32:09,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80067815-27416612 passed 2025-12-31 03:32:09,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-31 03:32:09,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80067815-27416612, IP 122.237.65.131, Port 22 2025-12-31 03:32:09,787 - DEBUG - VM ctest-TestBasicPolicy-80067815-27416612 is ready for SSH connections 2025-12-31 03:32:09,787 - INFO - Waiting for VM ctest-TestBasicPolicy-80067815-93007371 to be up.. 2025-12-31 03:32:09,864 - DEBUG - VM is in ACTIVE state now 2025-12-31 03:32:09,864 - INFO - VM name : ctest-TestBasicPolicy-80067815-93007371 2025-12-31 03:32:09,943 - DEBUG - VM ctest-TestBasicPolicy-80067815-93007371 ID is bb5fe378-96ee-4350-af99-57edcd978225 2025-12-31 03:32:09,943 - DEBUG - VM ctest-TestBasicPolicy-80067815-93007371 launched on Node cn-jenkins-deploy-platform-ansible-os-4943-1 2025-12-31 03:32:10,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb5fe378-96ee-4350-af99-57edcd978225 2025-12-31 03:32:10,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b396ebe-b0fd-40fb-bfa2-269a6ed4a82b 2025-12-31 03:32:11,261 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.603/2.796/1.192 ms') 2025-12-31 03:32:11,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80067815-93007371 passed 2025-12-31 03:32:11,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-31 03:32:11,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80067815-93007371, IP 180.90.227.131, Port 22 2025-12-31 03:32:11,571 - DEBUG - VM ctest-TestBasicPolicy-80067815-93007371 is ready for SSH connections 2025-12-31 03:32:11,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-31 03:32:11,571 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.90.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-31 03:32:11,572 - DEBUG - ping -s 56 -c 3 -W 1 180.90.227.131 2025-12-31 03:32:15,581 - DEBUG - PING 180.90.227.131 (180.90.227.131): 56 data bytes 64 bytes from 180.90.227.131: seq=0 ttl=63 time=3.463 ms 64 bytes from 180.90.227.131: seq=1 ttl=63 time=0.793 ms 64 bytes from 180.90.227.131: seq=2 ttl=63 time=0.819 ms --- 180.90.227.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.691/3.463 ms 2025-12-31 03:32:15,581 - INFO - Ping to IP 180.90.227.131 from VM ctest-TestBasicPolicy-80067815-27416612 passed 2025-12-31 03:32:15,760 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f08fa804-ae24-4620-8695-7b9751fb2c5f", "href": "http://10.0.0.38:8082/network-policy/f08fa804-ae24-4620-8695-7b9751fb2c5f"}} 2025-12-31 03:32:15,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-31 03:32:15,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.90.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-31 03:32:15,760 - DEBUG - ping -s 56 -c 3 -W 1 180.90.227.131 2025-12-31 03:32:19,000 - DEBUG - PING 180.90.227.131 (180.90.227.131): 56 data bytes --- 180.90.227.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-31 03:32:19,000 - WARNING - Ping to IP 180.90.227.131 from VM ctest-TestBasicPolicy-80067815-27416612 failed 2025-12-31 03:32:19,001 - INFO - Deleting VM ctest-TestBasicPolicy-80067815-93007371 2025-12-31 03:32:19,073 - INFO - Deleting VM ctest-TestBasicPolicy-80067815-27416612 2025-12-31 03:32:19,451 - INFO - Deleted policy ctest-policy-allow-all-43674828 2025-12-31 03:32:19,451 - INFO - Deleting VN ctest-vn-99994721 2025-12-31 03:32:19,495 - DEBUG - VN f831074b-ec08-4bd5-98de-be0efda91513 still in use: Unable to complete operation on network f831074b-ec08-4bd5-98de-be0efda91513. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42fa7f99-6ff5-4452-b320-6ccf348f9f6d'] 2025-12-31 03:32:19,495 - WARNING - Deleting VN ctest-vn-99994721 failed..Will retry 2025-12-31 03:32:21,591 - DEBUG - Response for deleting network () 2025-12-31 03:32:21,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f 2025-12-31 03:32:21,596 - DEBUG - Response Code: 404 2025-12-31 03:32:21,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:32:21,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:32:21,652 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:32:21,724 - INFO - Validated that VN ctest-vn-99994721 is not found in API Server 2025-12-31 03:32:21,733 - DEBUG - VN ctest-vn-99994721 is not present in Agent 10.0.0.38 2025-12-31 03:32:21,733 - INFO - Validated that VN ctest-vn-99994721 is not in any agent 2025-12-31 03:32:21,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99994721 info 2025-12-31 03:32:21,746 - INFO - Deleting VN ctest-vn-60806813 2025-12-31 03:32:21,839 - DEBUG - Response for deleting network () 2025-12-31 03:32:21,839 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa 2025-12-31 03:32:21,846 - DEBUG - Response Code: 404 2025-12-31 03:32:21,847 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-31 03:32:21,853 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e 2025-12-31 03:32:21,905 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614 2025-12-31 03:32:21,974 - INFO - Validated that VN ctest-vn-60806813 is not found in API Server 2025-12-31 03:32:21,982 - DEBUG - VN ctest-vn-60806813 is not present in Agent 10.0.0.38 2025-12-31 03:32:21,982 - INFO - Validated that VN ctest-vn-60806813 is not in any agent 2025-12-31 03:32:21,994 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60806813 info 2025-12-31 03:32:22,250 - DEBUG - No XMPP flaps were noticed during the test 2025-12-31 03:32:22,250 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-31 03:32:22,250 - INFO - -------------------------------------------------------------------------------- 2025-12-31 03:32:22,927 - INFO - Deleted project: ctest-TestBasicPolicy-80067815, ID : 68a5e162-4679-4339-9836-b4c905b31614