2026-11-04 04:12:32,417 - INFO - Domain Default found not creating 2026-11-04 04:12:32,607 - INFO - Project ctest-TestBasicPolicy-12757195 not found, creating it 2026-11-04 04:12:33,112 - INFO - Created Project:ctest-TestBasicPolicy-12757195, ID : c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:12:35,638 - INFO - ================================================================================ 2026-11-04 04:12:35,638 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-04 04:12:35,638 - 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 2026-11-04 04:12:35,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-11-04 04:12:35,908 - INFO - Initial checks done. Running the testcase now 2026-11-04 04:12:35,908 - INFO - 2026-11-04 04:12:36,499 - DEBUG - Response for create_network : {'network': {'id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'name': 'ctest-vn-33883671', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-33883671'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 04:12:36,720 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f1c7721-e4d1-43f2-a068-9b949ec733e5', 'name': '', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'network_id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'ip_version': 4, 'cidr': '12.145.130.64/26', 'allocation_pools': [{'start': '12.145.130.66', 'end': '12.145.130.126'}], 'gateway_ip': '12.145.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.145.130.66', 'tags': [], 'project_id': 'c62113c2196042c88989d2aef20ea39f'}} 2026-11-04 04:12:36,737 - INFO - Created VN ctest-vn-33883671 2026-11-04 04:12:36,790 - DEBUG - VN ctest-vn-33883671 UUID is 317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:37,105 - DEBUG - Response for create_network : {'network': {'id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'name': 'ctest-vn-58288084', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-58288084'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 04:12:37,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4022628-261f-4740-8c62-94bfb2d2f5b0', 'name': '', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'network_id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'ip_version': 4, 'cidr': '20.245.197.192/26', 'allocation_pools': [{'start': '20.245.197.194', 'end': '20.245.197.254'}], 'gateway_ip': '20.245.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.245.197.194', 'tags': [], 'project_id': 'c62113c2196042c88989d2aef20ea39f'}} 2026-11-04 04:12:37,322 - INFO - Created VN ctest-vn-58288084 2026-11-04 04:12:37,389 - DEBUG - VN ctest-vn-58288084 UUID is 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:37,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671, 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-12757195:ctest-vn-58288084, 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] 2026-11-04 04:12:37,819 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'name': 'ctest-vn-33883671', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5f1c7721-e4d1-43f2-a068-9b949ec733e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-33883671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']], 'subnet_ipam': [{'subnet_cidr': '12.145.130.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 04:12:38,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'name': 'ctest-vn-58288084', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e4022628-261f-4740-8c62-94bfb2d2f5b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-58288084'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']], 'subnet_ipam': [{'subnet_cidr': '20.245.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 04:12:38,210 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:12:38,581 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:12:38,608 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:12:38,621 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:12:38,698 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,710 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,720 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:12:38,727 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:12:38,735 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a4fbeed5-916a-427f-b13b-b9e6dc190174 2026-11-04 04:12:38,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 04:12:38,743 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,753 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:12:38,768 - INFO - Verified VN network id 11 for VN 317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,768 - INFO - Verifications in API Server for VN ctest-vn-33883671 passed 2026-11-04 04:12:38,768 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,778 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:12:38,785 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:12:38,792 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a4fbeed5-916a-427f-b13b-b9e6dc190174 2026-11-04 04:12:38,805 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12757195', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3562703341571358983', 'uuid-lslong': '13512766634143488932'}, 'enable': 'true', 'created': '2026-11-04T04:12:36', 'last-modified': '2026-11-04T04:12:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017280'} 2026-11-04 04:12:38,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 04:12:38,812 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33883671 passed 2026-11-04 04:12:38,812 - DEBUG - ====Verifying policy data for ctest-vn-33883671 in API_Server ====== 2026-11-04 04:12:38,812 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:12:38,817 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:12:38,828 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:12:38,905 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4 2026-11-04 04:12:38,916 - DEBUG - ==>Verifying data for policy with id: a14f3f09-acb2-4a05-81bb-414fce069f60, fqn: ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542'] 2026-11-04 04:12:38,916 - INFO - VN ctest-vn-33883671 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 04:12:38,916 - DEBUG - Verifying the vn in opserver 2026-11-04 04:12:38,916 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671 virtual network link through opserver 10.0.0.177 2026-11-04 04:12:38,917 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-04 04:12:39,280 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-04 04:12:39,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671?flat'} 2026-11-04 04:12:39,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671 is found in opserver 2026-11-04 04:12:39,340 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 04:12:39,345 - DEBUG - VRF ids for VN ctest-vn-33883671: {} 2026-11-04 04:12:39,345 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:12:39,351 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:12:39,367 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:12:39,446 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,457 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,467 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:12:39,475 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:12:39,482 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cbaa48ca-673d-405c-831f-84328a761b7f 2026-11-04 04:12:39,488 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 04:12:39,489 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,498 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:12:39,512 - INFO - Verified VN network id 12 for VN 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,512 - INFO - Verifications in API Server for VN ctest-vn-58288084 passed 2026-11-04 04:12:39,513 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,522 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:12:39,531 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:12:39,538 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cbaa48ca-673d-405c-831f-84328a761b7f 2026-11-04 04:12:39,551 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12757195', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4087483398716541863', 'uuid-lslong': '12895795187744327574'}, 'enable': 'true', 'created': '2026-11-04T04:12:37', 'last-modified': '2026-11-04T04:12:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.529681'} 2026-11-04 04:12:39,557 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 04:12:39,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58288084 passed 2026-11-04 04:12:39,557 - DEBUG - ====Verifying policy data for ctest-vn-58288084 in API_Server ====== 2026-11-04 04:12:39,557 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:12:39,563 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:12:39,574 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:12:39,648 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 2026-11-04 04:12:39,658 - DEBUG - ==>Verifying data for policy with id: a14f3f09-acb2-4a05-81bb-414fce069f60, fqn: ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542'] 2026-11-04 04:12:39,658 - INFO - VN ctest-vn-58288084 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 04:12:39,658 - DEBUG - Verifying the vn in opserver 2026-11-04 04:12:39,658 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084 virtual network link through opserver 10.0.0.177 2026-11-04 04:12:39,658 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-04 04:12:39,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084?flat'} 2026-11-04 04:12:39,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084 is found in opserver 2026-11-04 04:12:39,680 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 04:12:39,686 - DEBUG - VRF ids for VN ctest-vn-58288084: {} 2026-11-04 04:12:39,748 - DEBUG - Services list from nova: [, , ] 2026-11-04 04:12:40,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6478-1) 2026-11-04 04:12:40,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6478-1) 2026-11-04 04:12:40,602 - INFO - Waiting for VM ctest-TestBasicPolicy-12757195-05985053 to be up.. 2026-11-04 04:12:40,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:12:45,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:12:50,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:12:55,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:13:00,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:13:06,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:13:11,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:13:16,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 04:13:21,321 - DEBUG - VM is in ACTIVE state now 2026-11-04 04:13:21,322 - INFO - VM name : ctest-TestBasicPolicy-12757195-05985053 2026-11-04 04:13:21,422 - DEBUG - VM ctest-TestBasicPolicy-12757195-05985053 ID is 9a702038-0f99-46c9-93bb-0e5a36a31b84 2026-11-04 04:13:21,445 - DEBUG - VM ctest-TestBasicPolicy-12757195-05985053 launched on Node cn-jenkins-deploy-platform-ansible-os-6478-1 2026-11-04 04:13:21,534 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9a702038-0f99-46c9-93bb-0e5a36a31b84 2026-11-04 04:13:21,547 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/e046615d-25af-4d6d-be85-603b5b864620 2026-11-04 04:13:24,807 - 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 1011ms') 2026-11-04 04:13:24,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12757195-05985053 failed! 2026-11-04 04:13:24,862 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671 is 12.145.130.65 and allocation pool is NOT set 2026-11-04 04:13:26,925 - 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=6.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.384/3.888/6.393/2.504 ms') 2026-11-04 04:13:26,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12757195-05985053 passed 2026-11-04 04:13:27,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 04:13:27,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12757195-05985053, IP 12.145.130.67, Port 22 2026-11-04 04:13:27,140 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-04 04:13:27,220 - DEBUG - VM ctest-TestBasicPolicy-12757195-05985053 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-04 04:13:32,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 04:13:32,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12757195-05985053, IP 12.145.130.67, Port 22 2026-11-04 04:13:32,388 - DEBUG - VM ctest-TestBasicPolicy-12757195-05985053 is ready for SSH connections 2026-11-04 04:13:32,388 - INFO - Waiting for VM ctest-TestBasicPolicy-12757195-54947133 to be up.. 2026-11-04 04:13:32,471 - DEBUG - VM is in ACTIVE state now 2026-11-04 04:13:32,471 - INFO - VM name : ctest-TestBasicPolicy-12757195-54947133 2026-11-04 04:13:32,546 - DEBUG - VM ctest-TestBasicPolicy-12757195-54947133 ID is 000a7103-dc86-45dd-b8f2-65e546b5f395 2026-11-04 04:13:32,546 - DEBUG - VM ctest-TestBasicPolicy-12757195-54947133 launched on Node cn-jenkins-deploy-platform-ansible-os-6478-1 2026-11-04 04:13:32,619 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/000a7103-dc86-45dd-b8f2-65e546b5f395 2026-11-04 04:13:32,628 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/63037256-3134-41ae-bbb6-ff078dad9a41 2026-11-04 04:13:33,870 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/2.154/3.808/1.654 ms') 2026-11-04 04:13:33,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12757195-54947133 passed 2026-11-04 04:13:34,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 04:13:34,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12757195-54947133, IP 20.245.197.195, Port 22 2026-11-04 04:13:34,177 - DEBUG - VM ctest-TestBasicPolicy-12757195-54947133 is ready for SSH connections 2026-11-04 04:13:34,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 04:13:34,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.245.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-04 04:13:34,178 - DEBUG - ping -s 56 -c 3 -W 1 20.245.197.195 2026-11-04 04:13:38,180 - DEBUG - PING 20.245.197.195 (20.245.197.195): 56 data bytes 64 bytes from 20.245.197.195: seq=0 ttl=63 time=4.339 ms 64 bytes from 20.245.197.195: seq=1 ttl=63 time=0.912 ms 64 bytes from 20.245.197.195: seq=2 ttl=63 time=0.976 ms --- 20.245.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/2.075/4.339 ms 2026-11-04 04:13:38,180 - INFO - Ping to IP 20.245.197.195 from VM ctest-TestBasicPolicy-12757195-05985053 passed 2026-11-04 04:13:38,369 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a14f3f09-acb2-4a05-81bb-414fce069f60", "href": "http://10.0.0.177:8082/network-policy/a14f3f09-acb2-4a05-81bb-414fce069f60"}} 2026-11-04 04:13:38,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 04:13:38,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.245.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-04 04:13:38,370 - DEBUG - ping -s 56 -c 3 -W 1 20.245.197.195 2026-11-04 04:13:41,493 - DEBUG - PING 20.245.197.195 (20.245.197.195): 56 data bytes 64 bytes from 20.245.197.195: seq=0 ttl=63 time=1.353 ms --- 20.245.197.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.353/1.353/1.353 ms 2026-11-04 04:13:41,494 - WARNING - Ping to IP 20.245.197.195 from VM ctest-TestBasicPolicy-12757195-05985053 failed 2026-11-04 04:13:41,494 - INFO - Deleting VM ctest-TestBasicPolicy-12757195-54947133 2026-11-04 04:13:41,569 - INFO - Deleting VM ctest-TestBasicPolicy-12757195-05985053 2026-11-04 04:13:41,956 - INFO - Deleted policy ctest-policy-allow-all-92294542 2026-11-04 04:13:41,956 - INFO - Deleting VN ctest-vn-58288084 2026-11-04 04:13:41,992 - DEBUG - VN 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 still in use: Unable to complete operation on network 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c58ce38-246d-4081-8d73-c46d1248058e'] 2026-11-04 04:13:41,992 - WARNING - Deleting VN ctest-vn-58288084 failed..Will retry 2026-11-04 04:13:44,029 - DEBUG - VN 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796 still in use: Unable to complete operation on network 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6861ee75-e614-474f-952d-07d6ac922d7e'] 2026-11-04 04:13:44,029 - WARNING - Deleting VN ctest-vn-58288084 failed..Will retry 2026-11-04 04:13:46,138 - DEBUG - Response for deleting network () 2026-11-04 04:13:46,138 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502 2026-11-04 04:13:46,144 - DEBUG - Response Code: 404 2026-11-04 04:13:46,144 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:13:46,152 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:13:46,208 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:13:46,291 - INFO - Validated that VN ctest-vn-58288084 is not found in API Server 2026-11-04 04:13:46,307 - DEBUG - VN ctest-vn-58288084 is not present in Agent 10.0.0.177 2026-11-04 04:13:46,307 - INFO - Validated that VN ctest-vn-58288084 is not in any agent 2026-11-04 04:13:46,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58288084 info 2026-11-04 04:13:46,325 - INFO - Deleting VN ctest-vn-33883671 2026-11-04 04:13:46,435 - DEBUG - Response for deleting network () 2026-11-04 04:13:46,435 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a 2026-11-04 04:13:46,441 - DEBUG - Response Code: 404 2026-11-04 04:13:46,441 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-04 04:13:46,447 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d 2026-11-04 04:13:46,498 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f 2026-11-04 04:13:46,574 - INFO - Validated that VN ctest-vn-33883671 is not found in API Server 2026-11-04 04:13:46,584 - DEBUG - VN ctest-vn-33883671 is not present in Agent 10.0.0.177 2026-11-04 04:13:46,584 - INFO - Validated that VN ctest-vn-33883671 is not in any agent 2026-11-04 04:13:46,604 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33883671 info 2026-11-04 04:13:46,860 - DEBUG - No XMPP flaps were noticed during the test 2026-11-04 04:13:46,860 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-11-04 04:13:46,860 - INFO - -------------------------------------------------------------------------------- 2026-11-04 04:13:47,625 - INFO - Deleted project: ctest-TestBasicPolicy-12757195, ID : c62113c2-1960-42c8-8989-d2aef20ea39f