2025-04-28 02:06:45,772 - INFO - Domain Default found not creating 2025-04-28 02:06:45,896 - INFO - Project ctest-TestBasicPolicy-04749414 not found, creating it 2025-04-28 02:06:46,308 - INFO - Created Project:ctest-TestBasicPolicy-04749414, ID : 32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:06:48,219 - INFO - ================================================================================ 2025-04-28 02:06:48,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 02:06:48,220 - 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-04-28 02:06:48,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-04-28 02:06:48,478 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:06:48,478 - INFO - 2025-04-28 02:06:48,973 - DEBUG - Response for create_network : {'network': {'id': '0d8a2c7f-86d0-4ab5-847f-a032637c4e80', 'name': 'ctest-vn-44034964', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'project_id': '32eb31c1756c4147b222fcc95ce334dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-vn-44034964'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:49,137 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b130aa69-6929-427e-8482-565248f547d1', 'name': '', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'network_id': '0d8a2c7f-86d0-4ab5-847f-a032637c4e80', 'ip_version': 4, 'cidr': '175.70.195.128/26', 'allocation_pools': [{'start': '175.70.195.130', 'end': '175.70.195.190'}], 'gateway_ip': '175.70.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.70.195.130', 'tags': [], 'project_id': '32eb31c1756c4147b222fcc95ce334dd'}} 2025-04-28 02:06:49,152 - INFO - Created VN ctest-vn-44034964 2025-04-28 02:06:49,205 - DEBUG - VN ctest-vn-44034964 UUID is 0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:49,505 - DEBUG - Response for create_network : {'network': {'id': 'bcfad73e-feb0-45e5-888a-053856243c87', 'name': 'ctest-vn-74185787', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'project_id': '32eb31c1756c4147b222fcc95ce334dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-vn-74185787'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:49,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f41f4666-4770-4719-a975-6b605b67bcef', 'name': '', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'network_id': 'bcfad73e-feb0-45e5-888a-053856243c87', 'ip_version': 4, 'cidr': '165.101.36.0/26', 'allocation_pools': [{'start': '165.101.36.2', 'end': '165.101.36.62'}], 'gateway_ip': '165.101.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.101.36.2', 'tags': [], 'project_id': '32eb31c1756c4147b222fcc95ce334dd'}} 2025-04-28 02:06:49,691 - INFO - Created VN ctest-vn-74185787 2025-04-28 02:06:49,741 - DEBUG - VN ctest-vn-74185787 UUID is bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:49,885 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964, 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-04749414:ctest-vn-74185787, 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-04-28 02:06:50,166 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d8a2c7f-86d0-4ab5-847f-a032637c4e80', 'name': 'ctest-vn-44034964', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'project_id': '32eb31c1756c4147b222fcc95ce334dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b130aa69-6929-427e-8482-565248f547d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-vn-44034964'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-policy-allow-all-57224940']], 'subnet_ipam': [{'subnet_cidr': '175.70.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:50,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcfad73e-feb0-45e5-888a-053856243c87', 'name': 'ctest-vn-74185787', 'tenant_id': '32eb31c1756c4147b222fcc95ce334dd', 'project_id': '32eb31c1756c4147b222fcc95ce334dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f41f4666-4770-4719-a975-6b605b67bcef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-vn-74185787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-policy-allow-all-57224940']], 'subnet_ipam': [{'subnet_cidr': '165.101.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:50,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:06:50,853 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:06:50,879 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:06:50,890 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:06:50,964 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:50,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:50,988 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:06:50,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:06:51,002 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca9f3a38-ddbf-4fb8-ac66-516316b403d7 2025-04-28 02:06:51,007 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 02:06:51,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:51,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:06:51,030 - INFO - Verified VN network id 8 for VN 0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:51,030 - INFO - Verifications in API Server for VN ctest-vn-44034964 passed 2025-04-28 02:06:51,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:51,039 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:06:51,045 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:06:51,050 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca9f3a38-ddbf-4fb8-ac66-516316b403d7 2025-04-28 02:06:51,062 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04749414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '975641195513399989', 'uuid-lslong': '9547525873326640768'}, 'enable': 'true', 'created': '2025-04-28T02:06:48', 'last-modified': '2025-04-28T02:06:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914648'} 2025-04-28 02:06:51,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 02:06:51,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44034964 passed 2025-04-28 02:06:51,069 - DEBUG - ====Verifying policy data for ctest-vn-44034964 in API_Server ====== 2025-04-28 02:06:51,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:06:51,075 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:06:51,085 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:06:51,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d8a2c7f-86d0-4ab5-847f-a032637c4e80 2025-04-28 02:06:51,168 - DEBUG - ==>Verifying data for policy with id: 0ea16de0-d14f-4f72-bc8d-48d63f06600e, fqn: ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-policy-allow-all-57224940'] 2025-04-28 02:06:51,168 - INFO - VN ctest-vn-44034964 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 02:06:51,168 - DEBUG - Verifying the vn in opserver 2025-04-28 02:06:51,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964 virtual network link through opserver 10.0.0.50 2025-04-28 02:06:51,169 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-28 02:06:51,459 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-28 02:06:51,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964?flat'} 2025-04-28 02:06:51,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964 is found in opserver 2025-04-28 02:06:51,518 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 02:06:51,523 - DEBUG - VRF ids for VN ctest-vn-44034964: {} 2025-04-28 02:06:51,523 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:06:51,528 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:06:51,538 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:06:51,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,633 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:06:51,639 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:06:51,646 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4d6b419-135e-464d-a20f-89ebab4f22e5 2025-04-28 02:06:51,652 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 02:06:51,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,660 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:06:51,673 - INFO - Verified VN network id 9 for VN bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,674 - INFO - Verifications in API Server for VN ctest-vn-74185787 passed 2025-04-28 02:06:51,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,682 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:06:51,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:06:51,694 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4d6b419-135e-464d-a20f-89ebab4f22e5 2025-04-28 02:06:51,705 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-74185787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04749414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13617433088869025253', 'uuid-lslong': '9838682075465792647'}, 'enable': 'true', 'created': '2025-04-28T02:06:49', 'last-modified': '2025-04-28T02:06:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335054'} 2025-04-28 02:06:51,710 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 02:06:51,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74185787 passed 2025-04-28 02:06:51,711 - DEBUG - ====Verifying policy data for ctest-vn-74185787 in API_Server ====== 2025-04-28 02:06:51,711 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:06:51,715 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:06:51,725 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:06:51,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcfad73e-feb0-45e5-888a-053856243c87 2025-04-28 02:06:51,806 - DEBUG - ==>Verifying data for policy with id: 0ea16de0-d14f-4f72-bc8d-48d63f06600e, fqn: ['default-domain', 'ctest-TestBasicPolicy-04749414', 'ctest-policy-allow-all-57224940'] 2025-04-28 02:06:51,806 - INFO - VN ctest-vn-74185787 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 02:06:51,806 - DEBUG - Verifying the vn in opserver 2025-04-28 02:06:51,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-74185787 virtual network link through opserver 10.0.0.50 2025-04-28 02:06:51,806 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-28 02:06:51,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-74185787', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-74185787?flat'} 2025-04-28 02:06:51,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-74185787 is found in opserver 2025-04-28 02:06:51,826 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 02:06:51,830 - DEBUG - VRF ids for VN ctest-vn-74185787: {} 2025-04-28 02:06:51,879 - DEBUG - Services list from nova: [, , ] 2025-04-28 02:06:52,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:06:54,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:06:54,122 - INFO - Waiting for VM ctest-TestBasicPolicy-04749414-67684108 to be up.. 2025-04-28 02:06:54,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 02:06:59,301 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:06:59,301 - INFO - VM name : ctest-TestBasicPolicy-04749414-67684108 2025-04-28 02:06:59,366 - DEBUG - VM ctest-TestBasicPolicy-04749414-67684108 ID is cd2ac02c-aa64-4c79-a6fa-5c2c7ff961b5 2025-04-28 02:06:59,382 - DEBUG - VM ctest-TestBasicPolicy-04749414-67684108 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:06:59,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cd2ac02c-aa64-4c79-a6fa-5c2c7ff961b5 2025-04-28 02:06:59,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3919e05-35d8-4583-8c40-c49a743fffd4 2025-04-28 02:07:02,705 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-04-28 02:07:02,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04749414-67684108 failed! 2025-04-28 02:07:02,758 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04749414:ctest-vn-44034964 is 175.70.195.129 and allocation pool is NOT set 2025-04-28 02:07:04,817 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.355/1.526/2.697/1.171 ms') 2025-04-28 02:07:04,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04749414-67684108 passed 2025-04-28 02:07:04,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:07:04,969 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04749414-67684108, IP 175.70.195.131, Port 22 2025-04-28 02:07:05,121 - DEBUG - VM ctest-TestBasicPolicy-04749414-67684108 is ready for SSH connections 2025-04-28 02:07:05,121 - INFO - Waiting for VM ctest-TestBasicPolicy-04749414-87773561 to be up.. 2025-04-28 02:07:05,189 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:07:05,189 - INFO - VM name : ctest-TestBasicPolicy-04749414-87773561 2025-04-28 02:07:05,252 - DEBUG - VM ctest-TestBasicPolicy-04749414-87773561 ID is 0abf3a1a-a55f-4856-8239-154ec236b2cd 2025-04-28 02:07:05,252 - DEBUG - VM ctest-TestBasicPolicy-04749414-87773561 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:07:05,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0abf3a1a-a55f-4856-8239-154ec236b2cd 2025-04-28 02:07:05,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aac14a8b-1732-46b4-997f-d3596bcf79af 2025-04-28 02:07:06,548 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.422/2.494/1.071 ms') 2025-04-28 02:07:06,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04749414-87773561 passed 2025-04-28 02:07:06,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:07:06,697 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04749414-87773561, IP 165.101.36.3, Port 22 2025-04-28 02:07:06,856 - DEBUG - VM ctest-TestBasicPolicy-04749414-87773561 is ready for SSH connections 2025-04-28 02:07:06,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:07:06,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.101.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-28 02:07:06,857 - DEBUG - ping -s 56 -c 3 -W 1 165.101.36.3 2025-04-28 02:07:10,508 - DEBUG - PING 165.101.36.3 (165.101.36.3): 56 data bytes 64 bytes from 165.101.36.3: seq=0 ttl=63 time=3.022 ms 64 bytes from 165.101.36.3: seq=1 ttl=63 time=0.659 ms 64 bytes from 165.101.36.3: seq=2 ttl=63 time=0.673 ms --- 165.101.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.659/1.451/3.022 ms 2025-04-28 02:07:10,508 - INFO - Ping to IP 165.101.36.3 from VM ctest-TestBasicPolicy-04749414-67684108 passed 2025-04-28 02:07:10,685 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0ea16de0-d14f-4f72-bc8d-48d63f06600e", "href": "http://10.0.0.50:8082/network-policy/0ea16de0-d14f-4f72-bc8d-48d63f06600e"}} 2025-04-28 02:07:10,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:07:10,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.101.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-28 02:07:10,686 - DEBUG - ping -s 56 -c 3 -W 1 165.101.36.3 2025-04-28 02:07:13,882 - DEBUG - PING 165.101.36.3 (165.101.36.3): 56 data bytes --- 165.101.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 02:07:13,882 - WARNING - Ping to IP 165.101.36.3 from VM ctest-TestBasicPolicy-04749414-67684108 failed 2025-04-28 02:07:13,882 - INFO - Deleting VM ctest-TestBasicPolicy-04749414-87773561 2025-04-28 02:07:13,938 - INFO - Deleting VM ctest-TestBasicPolicy-04749414-67684108 2025-04-28 02:07:14,314 - INFO - Deleted policy ctest-policy-allow-all-57224940 2025-04-28 02:07:14,314 - INFO - Deleting VN ctest-vn-74185787 2025-04-28 02:07:14,345 - DEBUG - VN bcfad73e-feb0-45e5-888a-053856243c87 still in use: Unable to complete operation on network bcfad73e-feb0-45e5-888a-053856243c87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca46628c-472b-4bbb-b98a-9d858d554ce4'] 2025-04-28 02:07:14,345 - WARNING - Deleting VN ctest-vn-74185787 failed..Will retry 2025-04-28 02:07:16,447 - DEBUG - Response for deleting network () 2025-04-28 02:07:16,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8f64ef7-c642-4829-8fea-4c6960bb025a 2025-04-28 02:07:16,453 - DEBUG - Response Code: 404 2025-04-28 02:07:16,453 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:07:16,460 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:07:16,518 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:07:16,588 - INFO - Validated that VN ctest-vn-74185787 is not found in API Server 2025-04-28 02:07:16,600 - DEBUG - VN ctest-vn-74185787 is not present in Agent 10.0.0.50 2025-04-28 02:07:16,600 - INFO - Validated that VN ctest-vn-74185787 is not in any agent 2025-04-28 02:07:16,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74185787 info 2025-04-28 02:07:16,616 - INFO - Deleting VN ctest-vn-44034964 2025-04-28 02:07:16,705 - DEBUG - Response for deleting network () 2025-04-28 02:07:16,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2ea417bc-7899-4e2a-b079-31c324178a39 2025-04-28 02:07:16,713 - DEBUG - Response Code: 404 2025-04-28 02:07:16,713 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-28 02:07:16,717 - DEBUG - Requesting: http://10.0.0.50:8082/domain/09530269-b2df-4ef6-995f-dfbc59aefc94 2025-04-28 02:07:16,770 - DEBUG - Requesting: http://10.0.0.50:8082/project/32eb31c1-756c-4147-b222-fcc95ce334dd 2025-04-28 02:07:16,841 - INFO - Validated that VN ctest-vn-44034964 is not found in API Server 2025-04-28 02:07:16,851 - DEBUG - VN ctest-vn-44034964 is not present in Agent 10.0.0.50 2025-04-28 02:07:16,851 - INFO - Validated that VN ctest-vn-44034964 is not in any agent 2025-04-28 02:07:16,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44034964 info 2025-04-28 02:07:17,115 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 02:07:17,115 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-28 02:07:17,115 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:07:17,753 - INFO - Deleted project: ctest-TestBasicPolicy-04749414, ID : 32eb31c1-756c-4147-b222-fcc95ce334dd