2025-04-16 21:34:42,211 - INFO - Domain Default found not creating 2025-04-16 21:34:42,397 - INFO - Project ctest-TestBasicPolicy-07960774 not found, creating it 2025-04-16 21:34:42,921 - INFO - Created Project:ctest-TestBasicPolicy-07960774, ID : 33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:34:44,531 - INFO - ================================================================================ 2025-04-16 21:34:44,531 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-16 21:34:44,531 - 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-16 21:34:44,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-16 21:34:44,804 - INFO - Initial checks done. Running the testcase now 2025-04-16 21:34:44,804 - INFO - 2025-04-16 21:34:45,426 - DEBUG - Response for create_network : {'network': {'id': '643de517-1791-40b8-8157-1b3edfdf58fa', 'name': 'ctest-vn-02672986', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'project_id': '33678bfd189c4647a48dce92d2a965f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-vn-02672986'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 21:34:45,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b66eaf09-bf5b-4dbe-9cfe-b541ac2f9af3', 'name': '', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'network_id': '643de517-1791-40b8-8157-1b3edfdf58fa', 'ip_version': 4, 'cidr': '175.124.161.128/26', 'allocation_pools': [{'start': '175.124.161.130', 'end': '175.124.161.190'}], 'gateway_ip': '175.124.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.124.161.130', 'tags': [], 'project_id': '33678bfd189c4647a48dce92d2a965f0'}} 2025-04-16 21:34:45,666 - INFO - Created VN ctest-vn-02672986 2025-04-16 21:34:45,723 - DEBUG - VN ctest-vn-02672986 UUID is 643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:46,075 - DEBUG - Response for create_network : {'network': {'id': 'bfa089ef-dc33-44c6-a82f-3f8d54629a9b', 'name': 'ctest-vn-35168031', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'project_id': '33678bfd189c4647a48dce92d2a965f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-vn-35168031'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 21:34:46,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b4dff56-182f-40df-9e5b-0627e57f7709', 'name': '', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'network_id': 'bfa089ef-dc33-44c6-a82f-3f8d54629a9b', 'ip_version': 4, 'cidr': '200.23.132.0/26', 'allocation_pools': [{'start': '200.23.132.2', 'end': '200.23.132.62'}], 'gateway_ip': '200.23.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.23.132.2', 'tags': [], 'project_id': '33678bfd189c4647a48dce92d2a965f0'}} 2025-04-16 21:34:46,290 - INFO - Created VN ctest-vn-35168031 2025-04-16 21:34:46,346 - DEBUG - VN ctest-vn-35168031 UUID is bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:46,476 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986, 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-07960774:ctest-vn-35168031, 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-16 21:34:46,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '643de517-1791-40b8-8157-1b3edfdf58fa', 'name': 'ctest-vn-02672986', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'project_id': '33678bfd189c4647a48dce92d2a965f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b66eaf09-bf5b-4dbe-9cfe-b541ac2f9af3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-vn-02672986'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-policy-allow-all-94286058']], 'subnet_ipam': [{'subnet_cidr': '175.124.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-16 21:34:47,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bfa089ef-dc33-44c6-a82f-3f8d54629a9b', 'name': 'ctest-vn-35168031', 'tenant_id': '33678bfd189c4647a48dce92d2a965f0', 'project_id': '33678bfd189c4647a48dce92d2a965f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b4dff56-182f-40df-9e5b-0627e57f7709'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-vn-35168031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-policy-allow-all-94286058']], 'subnet_ipam': [{'subnet_cidr': '200.23.132.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-16 21:34:47,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:34:47,574 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:34:47,604 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:34:47,620 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:34:47,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,729 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:34:47,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:34:47,749 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba9ed65-ec2b-4c5a-8f45-2c0d934b6398 2025-04-16 21:34:47,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-16 21:34:47,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:34:47,789 - INFO - Verified VN network id 8 for VN 643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,789 - INFO - Verifications in API Server for VN ctest-vn-02672986 passed 2025-04-16 21:34:47,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:34:47,809 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:34:47,817 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba9ed65-ec2b-4c5a-8f45-2c0d934b6398 2025-04-16 21:34:47,832 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07960774', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7223181264714547384', 'uuid-lslong': '9319947910724409594'}, 'enable': 'true', 'created': '2025-04-16T21:34:45', 'last-modified': '2025-04-16T21:34:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.057784'} 2025-04-16 21:34:47,840 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-16 21:34:47,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02672986 passed 2025-04-16 21:34:47,840 - DEBUG - ====Verifying policy data for ctest-vn-02672986 in API_Server ====== 2025-04-16 21:34:47,840 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:34:47,848 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:34:47,864 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:34:47,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/643de517-1791-40b8-8157-1b3edfdf58fa 2025-04-16 21:34:47,956 - DEBUG - ==>Verifying data for policy with id: 2e407800-39e7-4a21-908a-cdd0c3f608f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-policy-allow-all-94286058'] 2025-04-16 21:34:47,956 - INFO - VN ctest-vn-02672986 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-16 21:34:47,956 - DEBUG - Verifying the vn in opserver 2025-04-16 21:34:47,956 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986 virtual network link through opserver 10.0.0.38 2025-04-16 21:34:47,957 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-16 21:34:48,262 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-16 21:34:48,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986?flat'} 2025-04-16 21:34:48,335 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986 is found in opserver 2025-04-16 21:34:48,349 - DEBUG - Do not have enough data to verify VN in agent 2025-04-16 21:34:48,355 - DEBUG - VRF ids for VN ctest-vn-02672986: {} 2025-04-16 21:34:48,355 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:34:48,362 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:34:48,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:34:48,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:34:48,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:34:48,504 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/00e96574-c375-4d9f-9eb1-3e7947c831dc 2025-04-16 21:34:48,513 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-16 21:34:48,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:34:48,544 - INFO - Verified VN network id 9 for VN bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,544 - INFO - Verifications in API Server for VN ctest-vn-35168031 passed 2025-04-16 21:34:48,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:34:48,566 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:34:48,576 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/00e96574-c375-4d9f-9eb1-3e7947c831dc 2025-04-16 21:34:48,590 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-35168031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07960774', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13808188120802477254', 'uuid-lslong': '12118974998515980955'}, 'enable': 'true', 'created': '2025-04-16T21:34:46', 'last-modified': '2025-04-16T21:34:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.552669'} 2025-04-16 21:34:48,597 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-16 21:34:48,597 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35168031 passed 2025-04-16 21:34:48,597 - DEBUG - ====Verifying policy data for ctest-vn-35168031 in API_Server ====== 2025-04-16 21:34:48,597 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:34:48,604 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:34:48,617 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:34:48,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfa089ef-dc33-44c6-a82f-3f8d54629a9b 2025-04-16 21:34:48,710 - DEBUG - ==>Verifying data for policy with id: 2e407800-39e7-4a21-908a-cdd0c3f608f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-07960774', 'ctest-policy-allow-all-94286058'] 2025-04-16 21:34:48,710 - INFO - VN ctest-vn-35168031 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-16 21:34:48,710 - DEBUG - Verifying the vn in opserver 2025-04-16 21:34:48,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-35168031 virtual network link through opserver 10.0.0.38 2025-04-16 21:34:48,710 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-16 21:34:48,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-35168031', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-35168031?flat'} 2025-04-16 21:34:48,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-35168031 is found in opserver 2025-04-16 21:34:48,735 - DEBUG - Do not have enough data to verify VN in agent 2025-04-16 21:34:48,741 - DEBUG - VRF ids for VN ctest-vn-35168031: {} 2025-04-16 21:34:48,808 - DEBUG - Services list from nova: [, , ] 2025-04-16 21:34:49,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3126-1) 2025-04-16 21:34:51,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3126-1) 2025-04-16 21:34:51,241 - INFO - Waiting for VM ctest-TestBasicPolicy-07960774-57121464 to be up.. 2025-04-16 21:34:51,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 21:34:56,436 - DEBUG - VM is in ACTIVE state now 2025-04-16 21:34:56,436 - INFO - VM name : ctest-TestBasicPolicy-07960774-57121464 2025-04-16 21:34:56,532 - DEBUG - VM ctest-TestBasicPolicy-07960774-57121464 ID is 77f44937-8fb3-426b-802d-13ae43d720d6 2025-04-16 21:34:56,558 - DEBUG - VM ctest-TestBasicPolicy-07960774-57121464 launched on Node cn-jenkins-deploy-platform-ansible-os-3126-1 2025-04-16 21:34:56,653 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77f44937-8fb3-426b-802d-13ae43d720d6 2025-04-16 21:34:56,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4203a7ea-e334-48dc-95de-310ae1d6ba4f 2025-04-16 21:34:59,947 - 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 1026ms') 2025-04-16 21:34:59,947 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07960774-57121464 failed! 2025-04-16 21:35:00,007 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07960774:ctest-vn-02672986 is 175.124.161.129 and allocation pool is NOT set 2025-04-16 21:35:02,068 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/4.547/8.660/4.113 ms') 2025-04-16 21:35:02,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07960774-57121464 passed 2025-04-16 21:35:02,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:35:02,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07960774-57121464, IP 175.124.161.131, Port 22 2025-04-16 21:35:02,402 - DEBUG - VM ctest-TestBasicPolicy-07960774-57121464 is ready for SSH connections 2025-04-16 21:35:02,402 - INFO - Waiting for VM ctest-TestBasicPolicy-07960774-21569076 to be up.. 2025-04-16 21:35:02,500 - DEBUG - VM is in ACTIVE state now 2025-04-16 21:35:02,500 - INFO - VM name : ctest-TestBasicPolicy-07960774-21569076 2025-04-16 21:35:02,598 - DEBUG - VM ctest-TestBasicPolicy-07960774-21569076 ID is 65c5420b-4eb0-4b11-abd7-b75b15cb3b51 2025-04-16 21:35:02,598 - DEBUG - VM ctest-TestBasicPolicy-07960774-21569076 launched on Node cn-jenkins-deploy-platform-ansible-os-3126-1 2025-04-16 21:35:02,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/65c5420b-4eb0-4b11-abd7-b75b15cb3b51 2025-04-16 21:35:02,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b18680c3-7797-47aa-b3ba-029664a91c6b 2025-04-16 21:35:03,955 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.832 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.832/2.532/4.233/1.700 ms') 2025-04-16 21:35:03,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07960774-21569076 passed 2025-04-16 21:35:04,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:35:04,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07960774-21569076, IP 200.23.132.3, Port 22 2025-04-16 21:35:04,281 - DEBUG - VM ctest-TestBasicPolicy-07960774-21569076 is ready for SSH connections 2025-04-16 21:35:04,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:35:04,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.23.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-16 21:35:04,281 - DEBUG - ping -s 56 -c 3 -W 1 200.23.132.3 2025-04-16 21:35:08,355 - DEBUG - PING 200.23.132.3 (200.23.132.3): 56 data bytes 64 bytes from 200.23.132.3: seq=0 ttl=63 time=4.336 ms 64 bytes from 200.23.132.3: seq=1 ttl=63 time=1.012 ms 64 bytes from 200.23.132.3: seq=2 ttl=63 time=1.029 ms --- 200.23.132.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.012/2.125/4.336 ms 2025-04-16 21:35:08,355 - INFO - Ping to IP 200.23.132.3 from VM ctest-TestBasicPolicy-07960774-57121464 passed 2025-04-16 21:35:08,554 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2e407800-39e7-4a21-908a-cdd0c3f608f2", "href": "http://10.0.0.38:8082/network-policy/2e407800-39e7-4a21-908a-cdd0c3f608f2"}} 2025-04-16 21:35:08,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 21:35:08,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.23.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-16 21:35:08,554 - DEBUG - ping -s 56 -c 3 -W 1 200.23.132.3 2025-04-16 21:35:11,774 - DEBUG - PING 200.23.132.3 (200.23.132.3): 56 data bytes --- 200.23.132.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-16 21:35:11,774 - WARNING - Ping to IP 200.23.132.3 from VM ctest-TestBasicPolicy-07960774-57121464 failed 2025-04-16 21:35:11,775 - INFO - Deleting VM ctest-TestBasicPolicy-07960774-21569076 2025-04-16 21:35:11,869 - INFO - Deleting VM ctest-TestBasicPolicy-07960774-57121464 2025-04-16 21:35:12,392 - INFO - Deleted policy ctest-policy-allow-all-94286058 2025-04-16 21:35:12,392 - INFO - Deleting VN ctest-vn-35168031 2025-04-16 21:35:12,457 - DEBUG - VN bfa089ef-dc33-44c6-a82f-3f8d54629a9b still in use: Unable to complete operation on network bfa089ef-dc33-44c6-a82f-3f8d54629a9b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27fd6ebb-b000-41c7-9b69-5017133b390c'] 2025-04-16 21:35:12,457 - WARNING - Deleting VN ctest-vn-35168031 failed..Will retry 2025-04-16 21:35:14,600 - DEBUG - Response for deleting network () 2025-04-16 21:35:14,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0b7f56-5bf4-440a-a0c7-c9a9b3dedc90 2025-04-16 21:35:14,608 - DEBUG - Response Code: 404 2025-04-16 21:35:14,609 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:35:14,618 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:35:14,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:35:14,759 - INFO - Validated that VN ctest-vn-35168031 is not found in API Server 2025-04-16 21:35:14,772 - DEBUG - VN ctest-vn-35168031 is not present in Agent 10.0.0.38 2025-04-16 21:35:14,772 - INFO - Validated that VN ctest-vn-35168031 is not in any agent 2025-04-16 21:35:14,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35168031 info 2025-04-16 21:35:14,794 - INFO - Deleting VN ctest-vn-02672986 2025-04-16 21:35:14,942 - DEBUG - Response for deleting network () 2025-04-16 21:35:14,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348b324b-f732-42ad-80d9-1589e37189f2 2025-04-16 21:35:14,951 - DEBUG - Response Code: 404 2025-04-16 21:35:14,951 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-16 21:35:14,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04693142-946a-4811-aade-69c10095f4af 2025-04-16 21:35:15,016 - DEBUG - Requesting: http://10.0.0.38:8082/project/33678bfd-189c-4647-a48d-ce92d2a965f0 2025-04-16 21:35:15,104 - INFO - Validated that VN ctest-vn-02672986 is not found in API Server 2025-04-16 21:35:15,117 - DEBUG - VN ctest-vn-02672986 is not present in Agent 10.0.0.38 2025-04-16 21:35:15,117 - INFO - Validated that VN ctest-vn-02672986 is not in any agent 2025-04-16 21:35:15,137 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02672986 info 2025-04-16 21:35:15,415 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 21:35:15,415 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-16 21:35:15,415 - INFO - -------------------------------------------------------------------------------- 2025-04-16 21:35:16,111 - INFO - Deleted project: ctest-TestBasicPolicy-07960774, ID : 33678bfd-189c-4647-a48d-ce92d2a965f0