2025-02-19 18:06:02,341 - INFO - Domain Default found not creating 2025-02-19 18:06:02,546 - INFO - Project ctest-TestBasicPolicy-19217275 not found, creating it 2025-02-19 18:06:03,039 - INFO - Created Project:ctest-TestBasicPolicy-19217275, ID : a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:04,592 - INFO - ================================================================================ 2025-02-19 18:06:04,592 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-19 18:06:04,593 - 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-02-19 18:06:04,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.10': '0'}} with 2025-02-19 18:06:04,859 - INFO - Initial checks done. Running the testcase now 2025-02-19 18:06:04,859 - INFO - 2025-02-19 18:06:05,458 - DEBUG - Response for create_network : {'network': {'id': 'd0483b15-3eae-43fd-8d8c-9f9e0b6160a1', 'name': 'ctest-vn-02793926', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'project_id': 'a3488419c4114258820cb7122b935416', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-vn-02793926'], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:06:05,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcca8e59-3dbd-41dd-9650-7da7e3697c99', 'name': '', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'network_id': 'd0483b15-3eae-43fd-8d8c-9f9e0b6160a1', 'ip_version': 4, 'cidr': '221.75.251.128/26', 'allocation_pools': [{'start': '221.75.251.130', 'end': '221.75.251.190'}], 'gateway_ip': '221.75.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.75.251.130', 'tags': [], 'project_id': 'a3488419c4114258820cb7122b935416'}} 2025-02-19 18:06:05,682 - INFO - Created VN ctest-vn-02793926 2025-02-19 18:06:05,736 - DEBUG - VN ctest-vn-02793926 UUID is d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:06,053 - DEBUG - Response for create_network : {'network': {'id': 'db01c706-774b-4ae6-ab02-35e21b207cc9', 'name': 'ctest-vn-82042015', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'project_id': 'a3488419c4114258820cb7122b935416', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-vn-82042015'], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:06:06,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '294d3755-c784-4291-927e-aec56b3a754f', 'name': '', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'network_id': 'db01c706-774b-4ae6-ab02-35e21b207cc9', 'ip_version': 4, 'cidr': '111.159.150.128/26', 'allocation_pools': [{'start': '111.159.150.130', 'end': '111.159.150.190'}], 'gateway_ip': '111.159.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.159.150.130', 'tags': [], 'project_id': 'a3488419c4114258820cb7122b935416'}} 2025-02-19 18:06:06,272 - INFO - Created VN ctest-vn-82042015 2025-02-19 18:06:06,328 - DEBUG - VN ctest-vn-82042015 UUID is db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:06,452 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926, 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-19217275:ctest-vn-82042015, 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-02-19 18:06:06,766 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0483b15-3eae-43fd-8d8c-9f9e0b6160a1', 'name': 'ctest-vn-02793926', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'project_id': 'a3488419c4114258820cb7122b935416', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bcca8e59-3dbd-41dd-9650-7da7e3697c99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-vn-02793926'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-policy-allow-all-65714278']], 'subnet_ipam': [{'subnet_cidr': '221.75.251.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:06:07,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db01c706-774b-4ae6-ab02-35e21b207cc9', 'name': 'ctest-vn-82042015', 'tenant_id': 'a3488419c4114258820cb7122b935416', 'project_id': 'a3488419c4114258820cb7122b935416', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['294d3755-c784-4291-927e-aec56b3a754f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-vn-82042015'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-policy-allow-all-65714278']], 'subnet_ipam': [{'subnet_cidr': '111.159.150.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:06:07,196 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:07,508 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:07,537 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:07,555 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:07,631 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,643 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,654 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:07,661 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:07,669 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/ef5c1499-4878-4244-861c-eb758da864ca 2025-02-19 18:06:07,676 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-19 18:06:07,677 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,688 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:07,704 - INFO - Verified VN network id 8 for VN d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,704 - INFO - Verifications in API Server for VN ctest-vn-02793926 passed 2025-02-19 18:06:07,704 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,716 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:07,724 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:07,732 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/ef5c1499-4878-4244-861c-eb758da864ca 2025-02-19 18:06:07,745 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19217275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15008310720644137981', 'uuid-lslong': '10199702757231911073'}, 'enable': 'true', 'created': '2025-02-19T18:06:05', 'last-modified': '2025-02-19T18:06:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999922'} 2025-02-19 18:06:07,752 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-19 18:06:07,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02793926 passed 2025-02-19 18:06:07,752 - DEBUG - ====Verifying policy data for ctest-vn-02793926 in API_Server ====== 2025-02-19 18:06:07,752 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:07,759 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:07,773 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:07,855 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/d0483b15-3eae-43fd-8d8c-9f9e0b6160a1 2025-02-19 18:06:07,867 - DEBUG - ==>Verifying data for policy with id: ea49db0e-f24e-4b1e-8037-458247e8fa1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-policy-allow-all-65714278'] 2025-02-19 18:06:07,867 - INFO - VN ctest-vn-02793926 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-19 18:06:07,867 - DEBUG - Verifying the vn in opserver 2025-02-19 18:06:07,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926 virtual network link through opserver 10.0.0.35 2025-02-19 18:06:07,867 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-19 18:06:08,164 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-19 18:06:08,234 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926?flat'} 2025-02-19 18:06:08,234 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926 is found in opserver 2025-02-19 18:06:08,247 - DEBUG - Do not have enough data to verify VN in agent 2025-02-19 18:06:08,254 - DEBUG - VRF ids for VN ctest-vn-02793926: {} 2025-02-19 18:06:08,254 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:08,263 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:08,280 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:08,360 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,373 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,384 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:08,393 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:08,402 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/8ef7fea5-5110-4c2f-b60b-4118e22bba40 2025-02-19 18:06:08,410 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-19 18:06:08,410 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,421 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:08,437 - INFO - Verified VN network id 9 for VN db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,437 - INFO - Verifications in API Server for VN ctest-vn-82042015 passed 2025-02-19 18:06:08,437 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,452 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:08,460 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:08,468 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/8ef7fea5-5110-4c2f-b60b-4118e22bba40 2025-02-19 18:06:08,485 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-82042015', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19217275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15781113399868082918', 'uuid-lslong': '12322470775673093321'}, 'enable': 'true', 'created': '2025-02-19T18:06:06', 'last-modified': '2025-02-19T18:06:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.494018'} 2025-02-19 18:06:08,492 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-19 18:06:08,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82042015 passed 2025-02-19 18:06:08,493 - DEBUG - ====Verifying policy data for ctest-vn-82042015 in API_Server ====== 2025-02-19 18:06:08,493 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:08,499 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:08,512 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:08,594 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/db01c706-774b-4ae6-ab02-35e21b207cc9 2025-02-19 18:06:08,605 - DEBUG - ==>Verifying data for policy with id: ea49db0e-f24e-4b1e-8037-458247e8fa1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-19217275', 'ctest-policy-allow-all-65714278'] 2025-02-19 18:06:08,605 - INFO - VN ctest-vn-82042015 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-19 18:06:08,605 - DEBUG - Verifying the vn in opserver 2025-02-19 18:06:08,605 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-82042015 virtual network link through opserver 10.0.0.35 2025-02-19 18:06:08,605 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-19 18:06:08,618 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-82042015', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-82042015?flat'} 2025-02-19 18:06:08,618 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-82042015 is found in opserver 2025-02-19 18:06:08,631 - DEBUG - Do not have enough data to verify VN in agent 2025-02-19 18:06:08,636 - DEBUG - VRF ids for VN ctest-vn-82042015: {} 2025-02-19 18:06:08,698 - DEBUG - Services list from nova: [, , ] 2025-02-19 18:06:09,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1) 2025-02-19 18:06:11,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1) 2025-02-19 18:06:11,132 - INFO - Waiting for VM ctest-TestBasicPolicy-19217275-64196909 to be up.. 2025-02-19 18:06:11,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-19 18:06:16,349 - DEBUG - VM is in ACTIVE state now 2025-02-19 18:06:16,349 - INFO - VM name : ctest-TestBasicPolicy-19217275-64196909 2025-02-19 18:06:16,439 - DEBUG - VM ctest-TestBasicPolicy-19217275-64196909 ID is ddb3f797-a124-4374-bac4-6db301902c19 2025-02-19 18:06:16,466 - DEBUG - VM ctest-TestBasicPolicy-19217275-64196909 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1 2025-02-19 18:06:16,552 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/ddb3f797-a124-4374-bac4-6db301902c19 2025-02-19 18:06:16,563 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9fb8094f-b6a0-488a-9b22-cd7cafbf4a62 2025-02-19 18:06:19,835 - 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-02-19 18:06:19,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19217275-64196909 failed! 2025-02-19 18:06:19,892 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19217275:ctest-vn-02793926 is 221.75.251.129 and allocation pool is NOT set 2025-02-19 18:06:21,949 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.903 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.903/5.481/10.060/4.578 ms') 2025-02-19 18:06:21,949 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19217275-64196909 passed 2025-02-19 18:06:22,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:06:22,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19217275-64196909, IP 221.75.251.131, Port 22 2025-02-19 18:06:22,260 - DEBUG - VM ctest-TestBasicPolicy-19217275-64196909 is ready for SSH connections 2025-02-19 18:06:22,261 - INFO - Waiting for VM ctest-TestBasicPolicy-19217275-13875983 to be up.. 2025-02-19 18:06:22,354 - DEBUG - VM is in ACTIVE state now 2025-02-19 18:06:22,354 - INFO - VM name : ctest-TestBasicPolicy-19217275-13875983 2025-02-19 18:06:22,440 - DEBUG - VM ctest-TestBasicPolicy-19217275-13875983 ID is 340e6bcc-0e6f-4288-adb7-241f0a4647ef 2025-02-19 18:06:22,441 - DEBUG - VM ctest-TestBasicPolicy-19217275-13875983 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1 2025-02-19 18:06:22,533 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/340e6bcc-0e6f-4288-adb7-241f0a4647ef 2025-02-19 18:06:22,545 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/40f821d3-3837-4c4b-af1a-5bb368ae8807 2025-02-19 18:06:23,799 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.855 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.855/1.912/2.970/1.057 ms') 2025-02-19 18:06:23,800 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19217275-13875983 passed 2025-02-19 18:06:23,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:06:23,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19217275-13875983, IP 111.159.150.131, Port 22 2025-02-19 18:06:24,107 - DEBUG - VM ctest-TestBasicPolicy-19217275-13875983 is ready for SSH connections 2025-02-19 18:06:24,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:06:24,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.159.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-19 18:06:24,107 - DEBUG - ping -s 56 -c 3 -W 1 111.159.150.131 2025-02-19 18:06:27,864 - DEBUG - PING 111.159.150.131 (111.159.150.131): 56 data bytes 64 bytes from 111.159.150.131: seq=0 ttl=63 time=4.038 ms 64 bytes from 111.159.150.131: seq=1 ttl=63 time=0.959 ms 64 bytes from 111.159.150.131: seq=2 ttl=63 time=1.059 ms --- 111.159.150.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.018/4.038 ms 2025-02-19 18:06:27,864 - INFO - Ping to IP 111.159.150.131 from VM ctest-TestBasicPolicy-19217275-64196909 passed 2025-02-19 18:06:28,048 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea49db0e-f24e-4b1e-8037-458247e8fa1c", "href": "http://10.0.0.35:8082/network-policy/ea49db0e-f24e-4b1e-8037-458247e8fa1c"}} 2025-02-19 18:06:28,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:06:28,048 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.159.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-19 18:06:28,048 - DEBUG - ping -s 56 -c 3 -W 1 111.159.150.131 2025-02-19 18:06:31,272 - DEBUG - PING 111.159.150.131 (111.159.150.131): 56 data bytes 64 bytes from 111.159.150.131: seq=0 ttl=63 time=1.677 ms --- 111.159.150.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.677/1.677/1.677 ms 2025-02-19 18:06:31,273 - WARNING - Ping to IP 111.159.150.131 from VM ctest-TestBasicPolicy-19217275-64196909 failed 2025-02-19 18:06:31,273 - INFO - Deleting VM ctest-TestBasicPolicy-19217275-13875983 2025-02-19 18:06:31,354 - INFO - Deleting VM ctest-TestBasicPolicy-19217275-64196909 2025-02-19 18:06:31,853 - INFO - Deleted policy ctest-policy-allow-all-65714278 2025-02-19 18:06:31,853 - INFO - Deleting VN ctest-vn-82042015 2025-02-19 18:06:31,903 - DEBUG - VN db01c706-774b-4ae6-ab02-35e21b207cc9 still in use: Unable to complete operation on network db01c706-774b-4ae6-ab02-35e21b207cc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff219dde-7311-43f1-b73d-7a63e6205fe4'] 2025-02-19 18:06:31,904 - WARNING - Deleting VN ctest-vn-82042015 failed..Will retry 2025-02-19 18:06:34,015 - DEBUG - Response for deleting network () 2025-02-19 18:06:34,016 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/34c32f3a-d416-44fb-94ad-5240f203c46c 2025-02-19 18:06:34,029 - DEBUG - Response Code: 404 2025-02-19 18:06:34,029 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:34,035 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:34,090 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:34,169 - INFO - Validated that VN ctest-vn-82042015 is not found in API Server 2025-02-19 18:06:34,182 - DEBUG - VN ctest-vn-82042015 is not present in Agent 10.0.0.35 2025-02-19 18:06:34,182 - INFO - Validated that VN ctest-vn-82042015 is not in any agent 2025-02-19 18:06:34,205 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82042015 info 2025-02-19 18:06:34,205 - INFO - Deleting VN ctest-vn-02793926 2025-02-19 18:06:34,322 - DEBUG - Response for deleting network () 2025-02-19 18:06:34,322 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ab77b80d-9545-46e3-9d7a-fb2862c27cc6 2025-02-19 18:06:34,332 - DEBUG - Response Code: 404 2025-02-19 18:06:34,332 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-19 18:06:34,338 - DEBUG - Requesting: http://10.0.0.35:8082/domain/a8f40224-9949-4dee-942f-a46148fef065 2025-02-19 18:06:34,395 - DEBUG - Requesting: http://10.0.0.35:8082/project/a3488419-c411-4258-820c-b7122b935416 2025-02-19 18:06:34,466 - INFO - Validated that VN ctest-vn-02793926 is not found in API Server 2025-02-19 18:06:34,480 - DEBUG - VN ctest-vn-02793926 is not present in Agent 10.0.0.35 2025-02-19 18:06:34,480 - INFO - Validated that VN ctest-vn-02793926 is not in any agent 2025-02-19 18:06:34,496 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02793926 info 2025-02-19 18:06:34,766 - DEBUG - No XMPP flaps were noticed during the test
2025-02-19 18:06:34,766 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-19 18:06:34,767 - INFO - -------------------------------------------------------------------------------- 2025-02-19 18:06:35,482 - INFO - Deleted project: ctest-TestBasicPolicy-19217275, ID : a3488419-c411-4258-820c-b7122b935416