2025-08-15 17:04:07,301 - INFO - Domain Default found not creating 2025-08-15 17:04:07,413 - INFO - Project ctest-TestBasicPolicy-31193521 not found, creating it 2025-08-15 17:04:07,875 - INFO - Created Project:ctest-TestBasicPolicy-31193521, ID : dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:09,143 - INFO - ================================================================================ 2025-08-15 17:04:09,143 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 17:04:09,143 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-15 17:04:09,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 17:04:09,396 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:04:09,396 - INFO - 2025-08-15 17:04:09,897 - DEBUG - Response for create_network : {'network': {'id': 'f4575e1b-9ebf-487f-a554-b384958d1e34', 'name': 'ctest-vn-02579992', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'project_id': 'dc014809f3264dbca0583f1bda7a9eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-vn-02579992'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:04:10,078 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a538d7-745f-4637-969c-df0e48765c11', 'name': '', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'network_id': 'f4575e1b-9ebf-487f-a554-b384958d1e34', 'ip_version': 4, 'cidr': '5.82.174.64/26', 'allocation_pools': [{'start': '5.82.174.66', 'end': '5.82.174.126'}], 'gateway_ip': '5.82.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.82.174.66', 'tags': [], 'project_id': 'dc014809f3264dbca0583f1bda7a9eff'}} 2025-08-15 17:04:10,092 - INFO - Created VN ctest-vn-02579992 2025-08-15 17:04:10,143 - DEBUG - VN ctest-vn-02579992 UUID is f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:10,442 - DEBUG - Response for create_network : {'network': {'id': '981e58ae-465a-43e4-9af6-2b7d85beea19', 'name': 'ctest-vn-78086550', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'project_id': 'dc014809f3264dbca0583f1bda7a9eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-vn-78086550'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:04:10,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae52285c-c952-4ec1-b581-03e9c063b42d', 'name': '', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'network_id': '981e58ae-465a-43e4-9af6-2b7d85beea19', 'ip_version': 4, 'cidr': '35.82.242.0/26', 'allocation_pools': [{'start': '35.82.242.2', 'end': '35.82.242.62'}], 'gateway_ip': '35.82.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.82.242.2', 'tags': [], 'project_id': 'dc014809f3264dbca0583f1bda7a9eff'}} 2025-08-15 17:04:10,646 - INFO - Created VN ctest-vn-78086550 2025-08-15 17:04:10,695 - DEBUG - VN ctest-vn-78086550 UUID is 981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:10,835 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992, 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-31193521:ctest-vn-78086550, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-15 17:04:11,120 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4575e1b-9ebf-487f-a554-b384958d1e34', 'name': 'ctest-vn-02579992', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'project_id': 'dc014809f3264dbca0583f1bda7a9eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8a538d7-745f-4637-969c-df0e48765c11'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-vn-02579992'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-policy-allow-all-72863583']], 'subnet_ipam': [{'subnet_cidr': '5.82.174.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:04:11,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '981e58ae-465a-43e4-9af6-2b7d85beea19', 'name': 'ctest-vn-78086550', 'tenant_id': 'dc014809f3264dbca0583f1bda7a9eff', 'project_id': 'dc014809f3264dbca0583f1bda7a9eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae52285c-c952-4ec1-b581-03e9c063b42d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-vn-78086550'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-policy-allow-all-72863583']], 'subnet_ipam': [{'subnet_cidr': '35.82.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:04:11,535 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:11,823 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:11,847 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:11,858 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:11,929 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:11,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:11,946 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:11,951 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:11,956 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63581aba-6d6a-472e-92b4-455f400e6cfd 2025-08-15 17:04:11,960 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 17:04:11,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:11,967 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:11,978 - INFO - Verified VN network id 11 for VN f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:11,978 - INFO - Verifications in API Server for VN ctest-vn-02579992 passed 2025-08-15 17:04:11,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:11,985 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:11,990 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:11,995 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63581aba-6d6a-472e-92b4-455f400e6cfd 2025-08-15 17:04:12,004 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31193521', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17606644740948707455', 'uuid-lslong': '11913344296327913012'}, 'enable': 'true', 'created': '2025-08-15T17:04:09', 'last-modified': '2025-08-15T17:04:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905016'} 2025-08-15 17:04:12,009 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 17:04:12,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02579992 passed 2025-08-15 17:04:12,010 - DEBUG - ====Verifying policy data for ctest-vn-02579992 in API_Server ====== 2025-08-15 17:04:12,010 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:12,013 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:12,023 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:12,092 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f4575e1b-9ebf-487f-a554-b384958d1e34 2025-08-15 17:04:12,100 - DEBUG - ==>Verifying data for policy with id: 3f4b9a55-b699-46d6-be95-b781aa1165e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-policy-allow-all-72863583'] 2025-08-15 17:04:12,100 - INFO - VN ctest-vn-02579992 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 17:04:12,101 - DEBUG - Verifying the vn in opserver 2025-08-15 17:04:12,101 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992 virtual network link through opserver 10.0.0.254 2025-08-15 17:04:12,101 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 17:04:12,386 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 17:04:12,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992?flat'} 2025-08-15 17:04:12,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992 is found in opserver 2025-08-15 17:04:12,441 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 17:04:12,444 - DEBUG - VRF ids for VN ctest-vn-02579992: {} 2025-08-15 17:04:12,445 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:12,449 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:12,458 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:12,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,538 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:12,543 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:12,548 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/026ad3c5-21b0-45a3-a971-3ceccc970404 2025-08-15 17:04:12,553 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 17:04:12,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,560 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:12,570 - INFO - Verified VN network id 12 for VN 981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,570 - INFO - Verifications in API Server for VN ctest-vn-78086550 passed 2025-08-15 17:04:12,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,577 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:12,582 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:12,587 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/026ad3c5-21b0-45a3-a971-3ceccc970404 2025-08-15 17:04:12,595 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-78086550', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31193521', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10961296048594240484', 'uuid-lslong': '11166160144226511385'}, 'enable': 'true', 'created': '2025-08-15T17:04:10', 'last-modified': '2025-08-15T17:04:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281543'} 2025-08-15 17:04:12,600 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 17:04:12,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78086550 passed 2025-08-15 17:04:12,600 - DEBUG - ====Verifying policy data for ctest-vn-78086550 in API_Server ====== 2025-08-15 17:04:12,600 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:12,604 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:12,613 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:12,683 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/981e58ae-465a-43e4-9af6-2b7d85beea19 2025-08-15 17:04:12,691 - DEBUG - ==>Verifying data for policy with id: 3f4b9a55-b699-46d6-be95-b781aa1165e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31193521', 'ctest-policy-allow-all-72863583'] 2025-08-15 17:04:12,691 - INFO - VN ctest-vn-78086550 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 17:04:12,691 - DEBUG - Verifying the vn in opserver 2025-08-15 17:04:12,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-78086550 virtual network link through opserver 10.0.0.254 2025-08-15 17:04:12,691 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 17:04:12,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-78086550', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-78086550?flat'} 2025-08-15 17:04:12,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-78086550 is found in opserver 2025-08-15 17:04:12,707 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 17:04:12,711 - DEBUG - VRF ids for VN ctest-vn-78086550: {} 2025-08-15 17:04:12,756 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:04:13,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:04:14,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:04:14,698 - INFO - Waiting for VM ctest-TestBasicPolicy-31193521-33322511 to be up.. 2025-08-15 17:04:14,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 17:04:19,829 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:04:19,829 - INFO - VM name : ctest-TestBasicPolicy-31193521-33322511 2025-08-15 17:04:19,953 - DEBUG - VM ctest-TestBasicPolicy-31193521-33322511 ID is ee0ec9b3-a445-44ab-b145-519c643660cc 2025-08-15 17:04:19,969 - DEBUG - VM ctest-TestBasicPolicy-31193521-33322511 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:04:20,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee0ec9b3-a445-44ab-b145-519c643660cc 2025-08-15 17:04:20,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/17faa0fd-4e70-401b-bfd6-a171a7ec57f7 2025-08-15 17:04:23,301 - 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 1032ms') 2025-08-15 17:04:23,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31193521-33322511 failed! 2025-08-15 17:04:23,355 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31193521:ctest-vn-02579992 is 5.82.174.65 and allocation pool is NOT set 2025-08-15 17:04:25,414 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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.495/1.525/2.556/1.030 ms') 2025-08-15 17:04:25,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31193521-33322511 passed 2025-08-15 17:04:25,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:04:25,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31193521-33322511, IP 5.82.174.67, Port 22 2025-08-15 17:04:25,722 - DEBUG - VM ctest-TestBasicPolicy-31193521-33322511 is ready for SSH connections 2025-08-15 17:04:25,722 - INFO - Waiting for VM ctest-TestBasicPolicy-31193521-66170273 to be up.. 2025-08-15 17:04:25,785 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:04:25,786 - INFO - VM name : ctest-TestBasicPolicy-31193521-66170273 2025-08-15 17:04:25,846 - DEBUG - VM ctest-TestBasicPolicy-31193521-66170273 ID is e2569446-2ea7-4592-a562-da4976d840af 2025-08-15 17:04:25,846 - DEBUG - VM ctest-TestBasicPolicy-31193521-66170273 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:04:25,908 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e2569446-2ea7-4592-a562-da4976d840af 2025-08-15 17:04:25,914 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b3db3d8d-36ab-4feb-bd69-4c61d4d0ceae 2025-08-15 17:04:27,144 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.530/1.659/2.788/1.129 ms') 2025-08-15 17:04:27,144 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31193521-66170273 passed 2025-08-15 17:04:27,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:04:27,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31193521-66170273, IP 35.82.242.3, Port 22 2025-08-15 17:04:27,451 - DEBUG - VM ctest-TestBasicPolicy-31193521-66170273 is ready for SSH connections 2025-08-15 17:04:27,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:04:27,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.82.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 17:04:27,451 - DEBUG - ping -s 56 -c 3 -W 1 35.82.242.3 2025-08-15 17:04:31,388 - DEBUG - PING 35.82.242.3 (35.82.242.3): 56 data bytes 64 bytes from 35.82.242.3: seq=0 ttl=63 time=3.015 ms 64 bytes from 35.82.242.3: seq=1 ttl=63 time=0.680 ms 64 bytes from 35.82.242.3: seq=2 ttl=63 time=0.719 ms --- 35.82.242.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.680/1.471/3.015 ms 2025-08-15 17:04:31,388 - INFO - Ping to IP 35.82.242.3 from VM ctest-TestBasicPolicy-31193521-33322511 passed 2025-08-15 17:04:31,567 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3f4b9a55-b699-46d6-be95-b781aa1165e6", "href": "http://10.0.0.254:8082/network-policy/3f4b9a55-b699-46d6-be95-b781aa1165e6"}} 2025-08-15 17:04:31,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:04:31,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.82.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 17:04:31,567 - DEBUG - ping -s 56 -c 3 -W 1 35.82.242.3 2025-08-15 17:04:34,762 - DEBUG - PING 35.82.242.3 (35.82.242.3): 56 data bytes 64 bytes from 35.82.242.3: seq=0 ttl=63 time=1.349 ms --- 35.82.242.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.349/1.349/1.349 ms 2025-08-15 17:04:34,762 - WARNING - Ping to IP 35.82.242.3 from VM ctest-TestBasicPolicy-31193521-33322511 failed 2025-08-15 17:04:34,762 - INFO - Deleting VM ctest-TestBasicPolicy-31193521-66170273 2025-08-15 17:04:34,820 - INFO - Deleting VM ctest-TestBasicPolicy-31193521-33322511 2025-08-15 17:04:35,140 - INFO - Deleted policy ctest-policy-allow-all-72863583 2025-08-15 17:04:35,140 - INFO - Deleting VN ctest-vn-78086550 2025-08-15 17:04:35,170 - DEBUG - VN 981e58ae-465a-43e4-9af6-2b7d85beea19 still in use: Unable to complete operation on network 981e58ae-465a-43e4-9af6-2b7d85beea19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e06ae5f0-55c9-4636-8185-30b95565500d'] 2025-08-15 17:04:35,170 - WARNING - Deleting VN ctest-vn-78086550 failed..Will retry 2025-08-15 17:04:37,265 - DEBUG - Response for deleting network () 2025-08-15 17:04:37,265 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/68d1d8d9-46cf-4500-8144-a06f1c8af193 2025-08-15 17:04:37,271 - DEBUG - Response Code: 404 2025-08-15 17:04:37,271 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:37,276 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:37,327 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:37,399 - INFO - Validated that VN ctest-vn-78086550 is not found in API Server 2025-08-15 17:04:37,408 - DEBUG - VN ctest-vn-78086550 is not present in Agent 10.0.0.254 2025-08-15 17:04:37,408 - INFO - Validated that VN ctest-vn-78086550 is not in any agent 2025-08-15 17:04:37,421 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78086550 info 2025-08-15 17:04:37,421 - INFO - Deleting VN ctest-vn-02579992 2025-08-15 17:04:37,505 - DEBUG - Response for deleting network () 2025-08-15 17:04:37,505 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9ce412e-1d37-4435-b559-c6154aef7af4 2025-08-15 17:04:37,509 - DEBUG - Response Code: 404 2025-08-15 17:04:37,510 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 17:04:37,514 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8d180d7d-7023-40e6-b2ef-f79186022083 2025-08-15 17:04:37,564 - DEBUG - Requesting: http://10.0.0.254:8082/project/dc014809-f326-4dbc-a058-3f1bda7a9eff 2025-08-15 17:04:37,633 - INFO - Validated that VN ctest-vn-02579992 is not found in API Server 2025-08-15 17:04:37,641 - DEBUG - VN ctest-vn-02579992 is not present in Agent 10.0.0.254 2025-08-15 17:04:37,641 - INFO - Validated that VN ctest-vn-02579992 is not in any agent 2025-08-15 17:04:37,654 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02579992 info 2025-08-15 17:04:37,904 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 17:04:37,904 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-15 17:04:37,904 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:04:38,554 - INFO - Deleted project: ctest-TestBasicPolicy-31193521, ID : dc014809-f326-4dbc-a058-3f1bda7a9eff