2025-09-11 16:56:15,003 - INFO - Domain Default found not creating 2025-09-11 16:56:15,383 - INFO - Project ctest-TestBasicPolicy-02555976 not found, creating it 2025-09-11 16:56:16,052 - INFO - Created Project:ctest-TestBasicPolicy-02555976, ID : c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:18,194 - INFO - ================================================================================ 2025-09-11 16:56:18,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 16:56:18,195 - 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-09-11 16:56:18,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 16:56:18,514 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:56:18,514 - INFO - 2025-09-11 16:56:19,325 - DEBUG - Response for create_network : {'network': {'id': 'ec9a4d2c-7969-41bf-abb6-b73a4def1949', 'name': 'ctest-vn-13388196', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'project_id': 'c1b56757c4114ae6be55735fd675a826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-vn-13388196'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:19,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e4f5ab6-3a9b-4ffe-a8f5-3fd37165b986', 'name': '', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'network_id': 'ec9a4d2c-7969-41bf-abb6-b73a4def1949', 'ip_version': 4, 'cidr': '36.193.174.192/26', 'allocation_pools': [{'start': '36.193.174.194', 'end': '36.193.174.254'}], 'gateway_ip': '36.193.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.193.174.194', 'tags': [], 'project_id': 'c1b56757c4114ae6be55735fd675a826'}} 2025-09-11 16:56:19,640 - INFO - Created VN ctest-vn-13388196 2025-09-11 16:56:19,724 - DEBUG - VN ctest-vn-13388196 UUID is ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:20,164 - DEBUG - Response for create_network : {'network': {'id': 'c295b2af-76c7-414d-bf31-07d91bab3607', 'name': 'ctest-vn-23011965', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'project_id': 'c1b56757c4114ae6be55735fd675a826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-vn-23011965'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:20,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea266256-b741-4a8e-afdb-135acf615677', 'name': '', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'network_id': 'c295b2af-76c7-414d-bf31-07d91bab3607', 'ip_version': 4, 'cidr': '36.133.69.128/26', 'allocation_pools': [{'start': '36.133.69.130', 'end': '36.133.69.190'}], 'gateway_ip': '36.133.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.133.69.130', 'tags': [], 'project_id': 'c1b56757c4114ae6be55735fd675a826'}} 2025-09-11 16:56:20,522 - INFO - Created VN ctest-vn-23011965 2025-09-11 16:56:20,587 - DEBUG - VN ctest-vn-23011965 UUID is c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:20,757 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196, 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-02555976:ctest-vn-23011965, 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-09-11 16:56:21,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec9a4d2c-7969-41bf-abb6-b73a4def1949', 'name': 'ctest-vn-13388196', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'project_id': 'c1b56757c4114ae6be55735fd675a826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e4f5ab6-3a9b-4ffe-a8f5-3fd37165b986'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-vn-13388196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-policy-allow-all-81040696']], 'subnet_ipam': [{'subnet_cidr': '36.193.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:21,577 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c295b2af-76c7-414d-bf31-07d91bab3607', 'name': 'ctest-vn-23011965', 'tenant_id': 'c1b56757c4114ae6be55735fd675a826', 'project_id': 'c1b56757c4114ae6be55735fd675a826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea266256-b741-4a8e-afdb-135acf615677'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-vn-23011965'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-policy-allow-all-81040696']], 'subnet_ipam': [{'subnet_cidr': '36.133.69.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:21,755 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:22,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:22,097 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:22,118 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:22,213 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,247 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:22,260 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:22,273 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/825ee105-b3ca-47a1-bd46-0fc6bb7a18f8 2025-09-11 16:56:22,287 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 16:56:22,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,309 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:22,340 - INFO - Verified VN network id 11 for VN ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,340 - INFO - Verifications in API Server for VN ctest-vn-13388196 passed 2025-09-11 16:56:22,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,354 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:22,365 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:22,378 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/825ee105-b3ca-47a1-bd46-0fc6bb7a18f8 2025-09-11 16:56:22,400 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02555976', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17049024192775274943', 'uuid-lslong': '12373278487290517833'}, 'enable': 'true', 'created': '2025-09-11T16:56:19', 'last-modified': '2025-09-11T16:56:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.257309'} 2025-09-11 16:56:22,411 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 16:56:22,411 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13388196 passed 2025-09-11 16:56:22,411 - DEBUG - ====Verifying policy data for ctest-vn-13388196 in API_Server ====== 2025-09-11 16:56:22,411 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:22,422 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:22,437 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:22,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec9a4d2c-7969-41bf-abb6-b73a4def1949 2025-09-11 16:56:22,572 - DEBUG - ==>Verifying data for policy with id: 632889e2-9158-4b10-a10f-ff24dfc318b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-policy-allow-all-81040696'] 2025-09-11 16:56:22,572 - INFO - VN ctest-vn-13388196 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 16:56:22,572 - DEBUG - Verifying the vn in opserver 2025-09-11 16:56:22,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196 virtual network link through opserver 10.0.0.254 2025-09-11 16:56:22,573 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 16:56:22,903 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 16:56:23,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196?flat'} 2025-09-11 16:56:23,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196 is found in opserver 2025-09-11 16:56:23,384 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 16:56:23,396 - DEBUG - VRF ids for VN ctest-vn-13388196: {} 2025-09-11 16:56:23,397 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:23,412 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:23,437 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:23,548 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,580 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:23,631 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:23,650 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18578244-98a0-4ca3-bee7-81478944468b 2025-09-11 16:56:23,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 16:56:23,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,705 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:23,738 - INFO - Verified VN network id 12 for VN c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,739 - INFO - Verifications in API Server for VN ctest-vn-23011965 passed 2025-09-11 16:56:23,739 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,764 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:23,776 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:23,788 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18578244-98a0-4ca3-bee7-81478944468b 2025-09-11 16:56:23,821 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-23011965', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02555976', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14021309481569698125', 'uuid-lslong': '13776801364156560903'}, 'enable': 'true', 'created': '2025-09-11T16:56:20', 'last-modified': '2025-09-11T16:56:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.328959'} 2025-09-11 16:56:23,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 16:56:23,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23011965 passed 2025-09-11 16:56:23,838 - DEBUG - ====Verifying policy data for ctest-vn-23011965 in API_Server ====== 2025-09-11 16:56:23,838 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:23,844 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:23,854 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:23,929 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c295b2af-76c7-414d-bf31-07d91bab3607 2025-09-11 16:56:23,938 - DEBUG - ==>Verifying data for policy with id: 632889e2-9158-4b10-a10f-ff24dfc318b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-02555976', 'ctest-policy-allow-all-81040696'] 2025-09-11 16:56:23,938 - INFO - VN ctest-vn-23011965 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 16:56:23,938 - DEBUG - Verifying the vn in opserver 2025-09-11 16:56:23,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-23011965 virtual network link through opserver 10.0.0.254 2025-09-11 16:56:23,938 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 16:56:23,947 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-23011965', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-23011965?flat'} 2025-09-11 16:56:23,947 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-23011965 is found in opserver 2025-09-11 16:56:23,955 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 16:56:23,959 - DEBUG - VRF ids for VN ctest-vn-23011965: {} 2025-09-11 16:56:24,009 - DEBUG - Services list from nova: [, , ] 2025-09-11 16:56:25,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1) 2025-09-11 16:56:26,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4095-1) 2025-09-11 16:56:26,991 - INFO - Waiting for VM ctest-TestBasicPolicy-02555976-47289670 to be up.. 2025-09-11 16:56:27,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 16:56:32,288 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:56:32,288 - INFO - VM name : ctest-TestBasicPolicy-02555976-47289670 2025-09-11 16:56:32,407 - DEBUG - VM ctest-TestBasicPolicy-02555976-47289670 ID is abb8cf99-141b-4117-9109-3b3a524120f1 2025-09-11 16:56:32,434 - DEBUG - VM ctest-TestBasicPolicy-02555976-47289670 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1 2025-09-11 16:56:32,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/abb8cf99-141b-4117-9109-3b3a524120f1 2025-09-11 16:56:32,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/157570c3-3eb4-48df-a651-4dbfc81d696a 2025-09-11 16:56:35,840 - 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 1003ms') 2025-09-11 16:56:35,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02555976-47289670 failed! 2025-09-11 16:56:35,903 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02555976:ctest-vn-13388196 is 36.193.174.193 and allocation pool is NOT set 2025-09-11 16:56:37,988 - 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=5.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 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.006/3.572/5.138/1.566 ms') 2025-09-11 16:56:37,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02555976-47289670 passed 2025-09-11 16:56:38,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:38,171 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02555976-47289670, IP 36.193.174.195, Port 22 2025-09-11 16:56:38,359 - DEBUG - VM ctest-TestBasicPolicy-02555976-47289670 is ready for SSH connections 2025-09-11 16:56:38,360 - INFO - Waiting for VM ctest-TestBasicPolicy-02555976-89969421 to be up.. 2025-09-11 16:56:38,473 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:56:38,474 - INFO - VM name : ctest-TestBasicPolicy-02555976-89969421 2025-09-11 16:56:38,577 - DEBUG - VM ctest-TestBasicPolicy-02555976-89969421 ID is a131dd55-5b3e-4237-8ec0-7516e8bf86af 2025-09-11 16:56:38,577 - DEBUG - VM ctest-TestBasicPolicy-02555976-89969421 launched on Node cn-jenkins-deploy-platform-ansible-os-4095-1 2025-09-11 16:56:38,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a131dd55-5b3e-4237-8ec0-7516e8bf86af 2025-09-11 16:56:38,700 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f07b8794-74ef-4763-aebf-38df09ede4a2 2025-09-11 16:56:40,015 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.49 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 = 3.491/3.491/3.492/0.000 ms') 2025-09-11 16:56:40,015 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02555976-89969421 passed 2025-09-11 16:56:40,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:40,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02555976-89969421, IP 36.133.69.131, Port 22 2025-09-11 16:56:40,389 - DEBUG - VM ctest-TestBasicPolicy-02555976-89969421 is ready for SSH connections 2025-09-11 16:56:40,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:40,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.133.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 16:56:40,390 - DEBUG - ping -s 56 -c 3 -W 1 36.133.69.131 2025-09-11 16:56:44,958 - DEBUG - PING 36.133.69.131 (36.133.69.131): 56 data bytes 64 bytes from 36.133.69.131: seq=0 ttl=63 time=5.646 ms 64 bytes from 36.133.69.131: seq=1 ttl=63 time=1.450 ms 64 bytes from 36.133.69.131: seq=2 ttl=63 time=2.137 ms --- 36.133.69.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.450/3.077/5.646 ms 2025-09-11 16:56:44,958 - INFO - Ping to IP 36.133.69.131 from VM ctest-TestBasicPolicy-02555976-47289670 passed 2025-09-11 16:56:45,187 - DEBUG - Policy Update Response {"network-policy": {"uuid": "632889e2-9158-4b10-a10f-ff24dfc318b2", "href": "http://10.0.0.254:8082/network-policy/632889e2-9158-4b10-a10f-ff24dfc318b2"}} 2025-09-11 16:56:45,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:45,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.133.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 16:56:45,188 - DEBUG - ping -s 56 -c 3 -W 1 36.133.69.131 2025-09-11 16:56:48,466 - DEBUG - PING 36.133.69.131 (36.133.69.131): 56 data bytes 64 bytes from 36.133.69.131: seq=0 ttl=63 time=1.850 ms --- 36.133.69.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.850/1.850/1.850 ms 2025-09-11 16:56:48,467 - WARNING - Ping to IP 36.133.69.131 from VM ctest-TestBasicPolicy-02555976-47289670 failed 2025-09-11 16:56:48,467 - INFO - Deleting VM ctest-TestBasicPolicy-02555976-89969421 2025-09-11 16:56:48,645 - INFO - Deleting VM ctest-TestBasicPolicy-02555976-47289670 2025-09-11 16:56:49,147 - INFO - Deleted policy ctest-policy-allow-all-81040696 2025-09-11 16:56:49,147 - INFO - Deleting VN ctest-vn-23011965 2025-09-11 16:56:49,187 - DEBUG - VN c295b2af-76c7-414d-bf31-07d91bab3607 still in use: Unable to complete operation on network c295b2af-76c7-414d-bf31-07d91bab3607. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d92a5cf-b89f-4fbc-a05e-2e763dfe5d75'] 2025-09-11 16:56:49,187 - WARNING - Deleting VN ctest-vn-23011965 failed..Will retry 2025-09-11 16:56:51,423 - DEBUG - Response for deleting network () 2025-09-11 16:56:51,423 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22bfbfca-54cb-446a-8ef4-d4a45d904e88 2025-09-11 16:56:51,431 - DEBUG - Response Code: 404 2025-09-11 16:56:51,431 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:51,444 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:51,507 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:51,596 - INFO - Validated that VN ctest-vn-23011965 is not found in API Server 2025-09-11 16:56:51,606 - DEBUG - VN ctest-vn-23011965 is not present in Agent 10.0.0.254 2025-09-11 16:56:51,607 - INFO - Validated that VN ctest-vn-23011965 is not in any agent 2025-09-11 16:56:51,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23011965 info 2025-09-11 16:56:51,622 - INFO - Deleting VN ctest-vn-13388196 2025-09-11 16:56:51,766 - DEBUG - Response for deleting network () 2025-09-11 16:56:51,766 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91a2b4c9-3ca8-42e3-a999-a7d87224de74 2025-09-11 16:56:51,777 - DEBUG - Response Code: 404 2025-09-11 16:56:51,777 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 16:56:51,786 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb7c22c2-0288-4af0-ab21-cc950696582f 2025-09-11 16:56:51,844 - DEBUG - Requesting: http://10.0.0.254:8082/project/c1b56757-c411-4ae6-be55-735fd675a826 2025-09-11 16:56:51,932 - INFO - Validated that VN ctest-vn-13388196 is not found in API Server 2025-09-11 16:56:51,946 - DEBUG - VN ctest-vn-13388196 is not present in Agent 10.0.0.254 2025-09-11 16:56:51,946 - INFO - Validated that VN ctest-vn-13388196 is not in any agent 2025-09-11 16:56:51,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13388196 info 2025-09-11 16:56:52,249 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:56:52,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-09-11 16:56:52,250 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:56:53,181 - INFO - Deleted project: ctest-TestBasicPolicy-02555976, ID : c1b56757-c411-4ae6-be55-735fd675a826