2025-08-25 23:35:45,750 - INFO - Domain Default found not creating 2025-08-25 23:35:45,906 - INFO - Project ctest-TestBasicPolicy-06168578 not found, creating it 2025-08-25 23:35:46,406 - INFO - Created Project:ctest-TestBasicPolicy-06168578, ID : 61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:35:47,972 - INFO - ================================================================================ 2025-08-25 23:35:47,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 23:35:47,972 - 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-25 23:35:48,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-08-25 23:35:48,237 - INFO - Initial checks done. Running the testcase now 2025-08-25 23:35:48,237 - INFO - 2025-08-25 23:35:48,799 - DEBUG - Response for create_network : {'network': {'id': '1aae8c80-3116-4870-a008-a373460d28c8', 'name': 'ctest-vn-77725567', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-vn-77725567'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:35:49,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '72259c27-7998-49a5-bfdf-97a0dcf92856', 'name': '', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'network_id': '1aae8c80-3116-4870-a008-a373460d28c8', 'ip_version': 4, 'cidr': '158.154.62.128/26', 'allocation_pools': [{'start': '158.154.62.130', 'end': '158.154.62.190'}], 'gateway_ip': '158.154.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.154.62.130', 'tags': [], 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b'}} 2025-08-25 23:35:49,030 - INFO - Created VN ctest-vn-77725567 2025-08-25 23:35:49,084 - DEBUG - VN ctest-vn-77725567 UUID is 1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:49,403 - DEBUG - Response for create_network : {'network': {'id': 'c38aef22-b392-493f-848d-c37f8847d00a', 'name': 'ctest-vn-86853553', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-vn-86853553'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:35:49,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '10f6df78-b38f-4563-841b-f10e97e16a23', 'name': '', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'network_id': 'c38aef22-b392-493f-848d-c37f8847d00a', 'ip_version': 4, 'cidr': '6.1.25.64/26', 'allocation_pools': [{'start': '6.1.25.66', 'end': '6.1.25.126'}], 'gateway_ip': '6.1.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.1.25.66', 'tags': [], 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b'}} 2025-08-25 23:35:49,616 - INFO - Created VN ctest-vn-86853553 2025-08-25 23:35:49,668 - DEBUG - VN ctest-vn-86853553 UUID is c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:49,793 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567, 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-06168578:ctest-vn-86853553, 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-25 23:35:50,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1aae8c80-3116-4870-a008-a373460d28c8', 'name': 'ctest-vn-77725567', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72259c27-7998-49a5-bfdf-97a0dcf92856'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-vn-77725567'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-policy-allow-all-63692338']], 'subnet_ipam': [{'subnet_cidr': '158.154.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:35:50,385 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c38aef22-b392-493f-848d-c37f8847d00a', 'name': 'ctest-vn-86853553', 'tenant_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'project_id': '61ba8a9c5b714a4d89eb5c846e08a40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10f6df78-b38f-4563-841b-f10e97e16a23'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-vn-86853553'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-policy-allow-all-63692338']], 'subnet_ipam': [{'subnet_cidr': '6.1.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:35:50,576 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:35:50,885 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:35:51,198 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:35:51,217 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:35:51,309 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,321 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,334 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:35:51,343 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:35:51,351 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/387d8979-0669-4e44-8f08-289e21ec51ed 2025-08-25 23:35:51,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 23:35:51,360 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,374 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:35:51,392 - INFO - Verified VN network id 9 for VN 1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,392 - INFO - Verifications in API Server for VN ctest-vn-77725567 passed 2025-08-25 23:35:51,392 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,406 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:35:51,415 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:35:51,424 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/387d8979-0669-4e44-8f08-289e21ec51ed 2025-08-25 23:35:51,439 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06168578', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1922628573141026928', 'uuid-lslong': '11531646561373989064'}, 'enable': 'true', 'created': '2025-08-25T23:35:48', 'last-modified': '2025-08-25T23:35:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364021'} 2025-08-25 23:35:51,446 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 23:35:51,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77725567 passed 2025-08-25 23:35:51,446 - DEBUG - ====Verifying policy data for ctest-vn-77725567 in API_Server ====== 2025-08-25 23:35:51,447 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:35:51,453 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:35:51,467 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:35:51,551 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1aae8c80-3116-4870-a008-a373460d28c8 2025-08-25 23:35:51,566 - DEBUG - ==>Verifying data for policy with id: 3b95dcfa-58b4-4d97-abd4-0559d91537ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-policy-allow-all-63692338'] 2025-08-25 23:35:51,566 - INFO - VN ctest-vn-77725567 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 23:35:51,566 - DEBUG - Verifying the vn in opserver 2025-08-25 23:35:51,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567 virtual network link through opserver 10.0.0.130 2025-08-25 23:35:51,566 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-25 23:35:51,863 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-25 23:35:51,923 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567?flat'} 2025-08-25 23:35:51,923 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567 is found in opserver 2025-08-25 23:35:51,934 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 23:35:51,940 - DEBUG - VRF ids for VN ctest-vn-77725567: {} 2025-08-25 23:35:51,940 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:35:51,946 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:35:51,957 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:35:52,035 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,051 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,065 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:35:52,073 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:35:52,082 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b14eb2ab-66c7-4e9f-88fa-0b12b518697b 2025-08-25 23:35:52,093 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 23:35:52,093 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,107 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:35:52,123 - INFO - Verified VN network id 10 for VN c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,123 - INFO - Verifications in API Server for VN ctest-vn-86853553 passed 2025-08-25 23:35:52,123 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,135 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:35:52,142 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:35:52,150 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b14eb2ab-66c7-4e9f-88fa-0b12b518697b 2025-08-25 23:35:52,164 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-86853553', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06168578', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14090337316502653247', 'uuid-lslong': '9551505337237360650'}, 'enable': 'true', 'created': '2025-08-25T23:35:49', 'last-modified': '2025-08-25T23:35:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.822167'} 2025-08-25 23:35:52,172 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 23:35:52,172 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86853553 passed 2025-08-25 23:35:52,172 - DEBUG - ====Verifying policy data for ctest-vn-86853553 in API_Server ====== 2025-08-25 23:35:52,172 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:35:52,181 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:35:52,193 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:35:52,269 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c38aef22-b392-493f-848d-c37f8847d00a 2025-08-25 23:35:52,280 - DEBUG - ==>Verifying data for policy with id: 3b95dcfa-58b4-4d97-abd4-0559d91537ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-06168578', 'ctest-policy-allow-all-63692338'] 2025-08-25 23:35:52,281 - INFO - VN ctest-vn-86853553 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 23:35:52,281 - DEBUG - Verifying the vn in opserver 2025-08-25 23:35:52,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-86853553 virtual network link through opserver 10.0.0.130 2025-08-25 23:35:52,281 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-25 23:35:52,293 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-86853553', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-86853553?flat'} 2025-08-25 23:35:52,293 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-86853553 is found in opserver 2025-08-25 23:35:52,308 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 23:35:52,315 - DEBUG - VRF ids for VN ctest-vn-86853553: {} 2025-08-25 23:35:52,386 - DEBUG - Services list from nova: [, , ] 2025-08-25 23:35:53,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:35:54,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:35:54,631 - INFO - Waiting for VM ctest-TestBasicPolicy-06168578-69843696 to be up.. 2025-08-25 23:35:54,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 23:35:59,860 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:35:59,860 - INFO - VM name : ctest-TestBasicPolicy-06168578-69843696 2025-08-25 23:35:59,948 - DEBUG - VM ctest-TestBasicPolicy-06168578-69843696 ID is adb30524-6692-49de-87d4-02a86940f7a9 2025-08-25 23:35:59,969 - DEBUG - VM ctest-TestBasicPolicy-06168578-69843696 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:36:00,050 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/adb30524-6692-49de-87d4-02a86940f7a9 2025-08-25 23:36:00,065 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/68473fc4-3119-4ba9-8ad2-1e292a2d98e5 2025-08-25 23:36:03,349 - 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 1027ms') 2025-08-25 23:36:03,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06168578-69843696 failed! 2025-08-25 23:36:03,412 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06168578:ctest-vn-77725567 is 158.154.62.129 and allocation pool is NOT set 2025-08-25 23:36:05,483 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.863 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.863/4.594/8.326/3.731 ms') 2025-08-25 23:36:05,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06168578-69843696 passed 2025-08-25 23:36:05,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:36:05,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06168578-69843696, IP 158.154.62.131, Port 22 2025-08-25 23:36:05,814 - DEBUG - VM ctest-TestBasicPolicy-06168578-69843696 is ready for SSH connections 2025-08-25 23:36:05,814 - INFO - Waiting for VM ctest-TestBasicPolicy-06168578-53319066 to be up.. 2025-08-25 23:36:05,909 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:36:05,910 - INFO - VM name : ctest-TestBasicPolicy-06168578-53319066 2025-08-25 23:36:05,992 - DEBUG - VM ctest-TestBasicPolicy-06168578-53319066 ID is 06eaa34f-ec47-49ee-990b-5167279c61e0 2025-08-25 23:36:05,993 - DEBUG - VM ctest-TestBasicPolicy-06168578-53319066 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:36:06,084 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/06eaa34f-ec47-49ee-990b-5167279c61e0 2025-08-25 23:36:06,099 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7c9a6c8c-1317-4a65-85d6-6b31bd63d36f 2025-08-25 23:36:07,361 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/2.718/4.578/1.860 ms') 2025-08-25 23:36:07,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06168578-53319066 passed 2025-08-25 23:36:07,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:36:07,528 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06168578-53319066, IP 6.1.25.67, Port 22 2025-08-25 23:36:07,688 - DEBUG - VM ctest-TestBasicPolicy-06168578-53319066 is ready for SSH connections 2025-08-25 23:36:07,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:36:07,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.1.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:36:07,688 - DEBUG - ping -s 56 -c 3 -W 1 6.1.25.67 2025-08-25 23:36:11,686 - DEBUG - PING 6.1.25.67 (6.1.25.67): 56 data bytes 64 bytes from 6.1.25.67: seq=0 ttl=63 time=3.670 ms 64 bytes from 6.1.25.67: seq=1 ttl=63 time=0.870 ms 64 bytes from 6.1.25.67: seq=2 ttl=63 time=0.848 ms --- 6.1.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.796/3.670 ms 2025-08-25 23:36:11,686 - INFO - Ping to IP 6.1.25.67 from VM ctest-TestBasicPolicy-06168578-69843696 passed 2025-08-25 23:36:11,864 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3b95dcfa-58b4-4d97-abd4-0559d91537ed", "href": "http://10.0.0.130:8082/network-policy/3b95dcfa-58b4-4d97-abd4-0559d91537ed"}} 2025-08-25 23:36:11,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:36:11,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.1.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:36:11,864 - DEBUG - ping -s 56 -c 3 -W 1 6.1.25.67 2025-08-25 23:36:15,077 - DEBUG - PING 6.1.25.67 (6.1.25.67): 56 data bytes --- 6.1.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 23:36:15,077 - WARNING - Ping to IP 6.1.25.67 from VM ctest-TestBasicPolicy-06168578-69843696 failed 2025-08-25 23:36:15,077 - INFO - Deleting VM ctest-TestBasicPolicy-06168578-53319066 2025-08-25 23:36:15,142 - INFO - Deleting VM ctest-TestBasicPolicy-06168578-69843696 2025-08-25 23:36:15,644 - INFO - Deleted policy ctest-policy-allow-all-63692338 2025-08-25 23:36:15,644 - INFO - Deleting VN ctest-vn-86853553 2025-08-25 23:36:15,689 - DEBUG - VN c38aef22-b392-493f-848d-c37f8847d00a still in use: Unable to complete operation on network c38aef22-b392-493f-848d-c37f8847d00a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9cf2d3d-b39e-422d-abed-8032ab4c13d0'] 2025-08-25 23:36:15,690 - WARNING - Deleting VN ctest-vn-86853553 failed..Will retry 2025-08-25 23:36:17,827 - DEBUG - Response for deleting network () 2025-08-25 23:36:17,827 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d8f5383c-58db-4df7-a818-bc19c47f41fa 2025-08-25 23:36:17,832 - DEBUG - Response Code: 404 2025-08-25 23:36:17,833 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:36:17,842 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:36:17,901 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:36:17,983 - INFO - Validated that VN ctest-vn-86853553 is not found in API Server 2025-08-25 23:36:17,998 - DEBUG - VN ctest-vn-86853553 is not present in Agent 10.0.0.130 2025-08-25 23:36:17,998 - INFO - Validated that VN ctest-vn-86853553 is not in any agent 2025-08-25 23:36:18,023 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86853553 info 2025-08-25 23:36:18,023 - INFO - Deleting VN ctest-vn-77725567 2025-08-25 23:36:18,142 - DEBUG - Response for deleting network () 2025-08-25 23:36:18,142 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9e88a096-c783-46bb-8da8-09e55f42992e 2025-08-25 23:36:18,147 - DEBUG - Response Code: 404 2025-08-25 23:36:18,147 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-25 23:36:18,153 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4516178c-b598-41b0-a22e-44366f94aed3 2025-08-25 23:36:18,214 - DEBUG - Requesting: http://10.0.0.130:8082/project/61ba8a9c-5b71-4a4d-89eb-5c846e08a40b 2025-08-25 23:36:18,300 - INFO - Validated that VN ctest-vn-77725567 is not found in API Server 2025-08-25 23:36:18,312 - DEBUG - VN ctest-vn-77725567 is not present in Agent 10.0.0.130 2025-08-25 23:36:18,313 - INFO - Validated that VN ctest-vn-77725567 is not in any agent 2025-08-25 23:36:18,331 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77725567 info 2025-08-25 23:36:18,602 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 23:36:18,602 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-08-25 23:36:18,602 - INFO - -------------------------------------------------------------------------------- 2025-08-25 23:36:19,319 - INFO - Deleted project: ctest-TestBasicPolicy-06168578, ID : 61ba8a9c-5b71-4a4d-89eb-5c846e08a40b