2026-02-20 18:41:11,475 - INFO - Domain Default found not creating 2026-02-20 18:41:11,658 - INFO - Project ctest-TestBasicPolicy-32850701 not found, creating it 2026-02-20 18:41:12,416 - INFO - Created Project:ctest-TestBasicPolicy-32850701, ID : 145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:13,964 - INFO - ================================================================================ 2026-02-20 18:41:13,964 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 18:41:13,964 - 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-02-20 18:41:14,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-20 18:41:14,218 - INFO - Initial checks done. Running the testcase now 2026-02-20 18:41:14,218 - INFO - 2026-02-20 18:41:14,774 - DEBUG - Response for create_network : {'network': {'id': '14d7a560-32cc-4b66-9b59-ef387b74622d', 'name': 'ctest-vn-73665151', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-vn-73665151'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:41:14,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a82982cc-9b25-413f-8da9-248ffd3bd9ea', 'name': '', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'network_id': '14d7a560-32cc-4b66-9b59-ef387b74622d', 'ip_version': 4, 'cidr': '41.187.194.192/26', 'allocation_pools': [{'start': '41.187.194.194', 'end': '41.187.194.254'}], 'gateway_ip': '41.187.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.187.194.194', 'tags': [], 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8'}} 2026-02-20 18:41:14,968 - INFO - Created VN ctest-vn-73665151 2026-02-20 18:41:15,020 - DEBUG - VN ctest-vn-73665151 UUID is 14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:15,305 - DEBUG - Response for create_network : {'network': {'id': '27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c', 'name': 'ctest-vn-56392069', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-vn-56392069'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:41:15,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f35299a-3b2a-4334-b1a9-8615b84aa32d', 'name': '', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'network_id': '27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c', 'ip_version': 4, 'cidr': '29.86.43.192/26', 'allocation_pools': [{'start': '29.86.43.194', 'end': '29.86.43.254'}], 'gateway_ip': '29.86.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.86.43.194', 'tags': [], 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8'}} 2026-02-20 18:41:15,516 - INFO - Created VN ctest-vn-56392069 2026-02-20 18:41:15,568 - DEBUG - VN ctest-vn-56392069 UUID is 27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:15,720 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151, 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-32850701:ctest-vn-56392069, 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-02-20 18:41:16,015 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14d7a560-32cc-4b66-9b59-ef387b74622d', 'name': 'ctest-vn-73665151', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a82982cc-9b25-413f-8da9-248ffd3bd9ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-vn-73665151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-policy-allow-all-46948332']], 'subnet_ipam': [{'subnet_cidr': '41.187.194.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:41:16,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c', 'name': 'ctest-vn-56392069', 'tenant_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'project_id': '145e9c0065e34c4d9a0334a4da93a7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f35299a-3b2a-4334-b1a9-8615b84aa32d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-vn-56392069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-policy-allow-all-46948332']], 'subnet_ipam': [{'subnet_cidr': '29.86.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:41:16,408 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:16,716 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:16,751 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:16,762 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:16,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:16,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:16,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:16,859 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:16,866 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/282c9505-43fa-4e93-ac8a-51a7b4cb41a6 2026-02-20 18:41:16,872 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 18:41:16,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:16,880 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:16,894 - INFO - Verified VN network id 12 for VN 14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:16,894 - INFO - Verifications in API Server for VN ctest-vn-73665151 passed 2026-02-20 18:41:16,894 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:16,903 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:16,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:16,918 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/282c9505-43fa-4e93-ac8a-51a7b4cb41a6 2026-02-20 18:41:16,930 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32850701', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1501850833339042662', 'uuid-lslong': '11194241374674510381'}, 'enable': 'true', 'created': '2026-02-20T18:41:14', 'last-modified': '2026-02-20T18:41:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938585'} 2026-02-20 18:41:16,936 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 18:41:16,936 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73665151 passed 2026-02-20 18:41:16,937 - DEBUG - ====Verifying policy data for ctest-vn-73665151 in API_Server ====== 2026-02-20 18:41:16,937 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:16,942 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:16,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:17,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/14d7a560-32cc-4b66-9b59-ef387b74622d 2026-02-20 18:41:17,035 - DEBUG - ==>Verifying data for policy with id: 676e9efa-b1f1-48de-ac7d-3ac4bdb5ca79, fqn: ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-policy-allow-all-46948332'] 2026-02-20 18:41:17,035 - INFO - VN ctest-vn-73665151 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 18:41:17,035 - DEBUG - Verifying the vn in opserver 2026-02-20 18:41:17,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151 virtual network link through opserver 10.0.0.50 2026-02-20 18:41:17,035 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-20 18:41:17,327 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-20 18:41:17,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151?flat'} 2026-02-20 18:41:17,724 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151 is found in opserver 2026-02-20 18:41:17,733 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 18:41:17,739 - DEBUG - VRF ids for VN ctest-vn-73665151: {} 2026-02-20 18:41:17,740 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:17,746 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:17,759 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:17,836 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:17,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:17,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:17,869 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:17,878 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/260d1f34-f45a-49f3-9cb1-6f6c35f3d9a1 2026-02-20 18:41:17,885 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 18:41:17,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:17,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:17,911 - INFO - Verified VN network id 13 for VN 27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:17,911 - INFO - Verifications in API Server for VN ctest-vn-56392069 passed 2026-02-20 18:41:17,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:17,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:17,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:17,940 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/260d1f34-f45a-49f3-9cb1-6f6c35f3d9a1 2026-02-20 18:41:17,952 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-56392069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32850701', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2879704197562845896', 'uuid-lslong': '11580158756918225452'}, 'enable': 'true', 'created': '2026-02-20T18:41:15', 'last-modified': '2026-02-20T18:41:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.762661'} 2026-02-20 18:41:17,957 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 18:41:17,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56392069 passed 2026-02-20 18:41:17,958 - DEBUG - ====Verifying policy data for ctest-vn-56392069 in API_Server ====== 2026-02-20 18:41:17,958 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:17,963 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:17,973 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:18,049 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c 2026-02-20 18:41:18,060 - DEBUG - ==>Verifying data for policy with id: 676e9efa-b1f1-48de-ac7d-3ac4bdb5ca79, fqn: ['default-domain', 'ctest-TestBasicPolicy-32850701', 'ctest-policy-allow-all-46948332'] 2026-02-20 18:41:18,060 - INFO - VN ctest-vn-56392069 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 18:41:18,060 - DEBUG - Verifying the vn in opserver 2026-02-20 18:41:18,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-56392069 virtual network link through opserver 10.0.0.50 2026-02-20 18:41:18,060 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-20 18:41:18,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-56392069', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-56392069?flat'} 2026-02-20 18:41:18,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-56392069 is found in opserver 2026-02-20 18:41:18,081 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 18:41:18,086 - DEBUG - VRF ids for VN ctest-vn-56392069: {} 2026-02-20 18:41:18,142 - DEBUG - Services list from nova: [, , ] 2026-02-20 18:41:19,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5379-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5379-1) 2026-02-20 18:41:20,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5379-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5379-1) 2026-02-20 18:41:20,299 - INFO - Waiting for VM ctest-TestBasicPolicy-32850701-78083842 to be up.. 2026-02-20 18:41:20,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 18:41:25,463 - DEBUG - VM is in ACTIVE state now 2026-02-20 18:41:25,464 - INFO - VM name : ctest-TestBasicPolicy-32850701-78083842 2026-02-20 18:41:25,538 - DEBUG - VM ctest-TestBasicPolicy-32850701-78083842 ID is d026ebc7-8399-47ef-8102-9836fcc02d3a 2026-02-20 18:41:25,557 - DEBUG - VM ctest-TestBasicPolicy-32850701-78083842 launched on Node cn-jenkins-deploy-platform-ansible-os-5379-1 2026-02-20 18:41:25,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d026ebc7-8399-47ef-8102-9836fcc02d3a 2026-02-20 18:41:25,648 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d706a38d-ce97-4899-9981-4ea0ce919a7a 2026-02-20 18:41:28,892 - 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 1007ms') 2026-02-20 18:41:28,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32850701-78083842 failed! 2026-02-20 18:41:28,949 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32850701:ctest-vn-73665151 is 41.187.194.193 and allocation pool is NOT set 2026-02-20 18:41:31,010 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.438/3.484/6.530/3.046 ms') 2026-02-20 18:41:31,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32850701-78083842 passed 2026-02-20 18:41:31,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:41:31,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32850701-78083842, IP 41.187.194.195, Port 22 2026-02-20 18:41:31,312 - DEBUG - VM ctest-TestBasicPolicy-32850701-78083842 is ready for SSH connections 2026-02-20 18:41:31,312 - INFO - Waiting for VM ctest-TestBasicPolicy-32850701-99868666 to be up.. 2026-02-20 18:41:31,386 - DEBUG - VM is in ACTIVE state now 2026-02-20 18:41:31,386 - INFO - VM name : ctest-TestBasicPolicy-32850701-99868666 2026-02-20 18:41:31,465 - DEBUG - VM ctest-TestBasicPolicy-32850701-99868666 ID is 6a9c3675-874a-4703-978e-aa3f931126aa 2026-02-20 18:41:31,465 - DEBUG - VM ctest-TestBasicPolicy-32850701-99868666 launched on Node cn-jenkins-deploy-platform-ansible-os-5379-1 2026-02-20 18:41:31,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a9c3675-874a-4703-978e-aa3f931126aa 2026-02-20 18:41:31,549 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a2f4e68f-5936-45e7-ad19-9ad8c2056d32 2026-02-20 18:41:32,787 - 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=5.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.10 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 = 2.103/3.772/5.442/1.669 ms') 2026-02-20 18:41:32,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32850701-99868666 passed 2026-02-20 18:41:32,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:41:32,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32850701-99868666, IP 29.86.43.195, Port 22 2026-02-20 18:41:32,999 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-20 18:41:33,081 - DEBUG - VM ctest-TestBasicPolicy-32850701-99868666 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-20 18:41:38,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:41:38,082 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32850701-99868666, IP 29.86.43.195, Port 22 2026-02-20 18:41:38,240 - DEBUG - VM ctest-TestBasicPolicy-32850701-99868666 is ready for SSH connections 2026-02-20 18:41:38,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:41:38,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.86.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-20 18:41:38,241 - DEBUG - ping -s 56 -c 3 -W 1 29.86.43.195 2026-02-20 18:41:42,326 - DEBUG - PING 29.86.43.195 (29.86.43.195): 56 data bytes 64 bytes from 29.86.43.195: seq=0 ttl=63 time=4.582 ms 64 bytes from 29.86.43.195: seq=1 ttl=63 time=0.961 ms 64 bytes from 29.86.43.195: seq=2 ttl=63 time=0.933 ms --- 29.86.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/2.158/4.582 ms 2026-02-20 18:41:42,326 - INFO - Ping to IP 29.86.43.195 from VM ctest-TestBasicPolicy-32850701-78083842 passed 2026-02-20 18:41:42,504 - DEBUG - Policy Update Response {"network-policy": {"uuid": "676e9efa-b1f1-48de-ac7d-3ac4bdb5ca79", "href": "http://10.0.0.50:8082/network-policy/676e9efa-b1f1-48de-ac7d-3ac4bdb5ca79"}} 2026-02-20 18:41:42,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:41:42,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.86.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-20 18:41:42,505 - DEBUG - ping -s 56 -c 3 -W 1 29.86.43.195 2026-02-20 18:41:45,719 - DEBUG - PING 29.86.43.195 (29.86.43.195): 56 data bytes --- 29.86.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 18:41:45,719 - WARNING - Ping to IP 29.86.43.195 from VM ctest-TestBasicPolicy-32850701-78083842 failed 2026-02-20 18:41:45,719 - INFO - Deleting VM ctest-TestBasicPolicy-32850701-99868666 2026-02-20 18:41:45,798 - INFO - Deleting VM ctest-TestBasicPolicy-32850701-78083842 2026-02-20 18:41:46,158 - INFO - Deleted policy ctest-policy-allow-all-46948332 2026-02-20 18:41:46,158 - INFO - Deleting VN ctest-vn-56392069 2026-02-20 18:41:46,195 - DEBUG - VN 27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c still in use: Unable to complete operation on network 27f6c3b5-d9ef-4ac8-a0b4-fd08fcbd6a2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-507cde18-581c-4bd8-97c7-bc410ef052cd'] 2026-02-20 18:41:46,195 - WARNING - Deleting VN ctest-vn-56392069 failed..Will retry 2026-02-20 18:41:48,299 - DEBUG - Response for deleting network () 2026-02-20 18:41:48,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/781d84ff-e5e5-4f0c-82b2-a09e9430ff16 2026-02-20 18:41:48,311 - DEBUG - Response Code: 404 2026-02-20 18:41:48,311 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:48,316 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:48,370 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:48,443 - INFO - Validated that VN ctest-vn-56392069 is not found in API Server 2026-02-20 18:41:48,452 - DEBUG - VN ctest-vn-56392069 is not present in Agent 10.0.0.50 2026-02-20 18:41:48,452 - INFO - Validated that VN ctest-vn-56392069 is not in any agent 2026-02-20 18:41:48,468 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56392069 info 2026-02-20 18:41:48,468 - INFO - Deleting VN ctest-vn-73665151 2026-02-20 18:41:48,562 - DEBUG - Response for deleting network () 2026-02-20 18:41:48,562 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/19c9c1ce-5d4a-4e43-9934-7715eab55aa4 2026-02-20 18:41:48,570 - DEBUG - Response Code: 404 2026-02-20 18:41:48,570 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-20 18:41:48,575 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e307ae8f-5c6f-464d-ab68-6f96b06c5506 2026-02-20 18:41:48,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/145e9c00-65e3-4c4d-9a03-34a4da93a7e8 2026-02-20 18:41:48,703 - INFO - Validated that VN ctest-vn-73665151 is not found in API Server 2026-02-20 18:41:48,712 - DEBUG - VN ctest-vn-73665151 is not present in Agent 10.0.0.50 2026-02-20 18:41:48,712 - INFO - Validated that VN ctest-vn-73665151 is not in any agent 2026-02-20 18:41:48,726 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73665151 info 2026-02-20 18:41:48,978 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 18:41:48,978 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-20 18:41:48,978 - INFO - -------------------------------------------------------------------------------- 2026-02-20 18:41:49,649 - INFO - Deleted project: ctest-TestBasicPolicy-32850701, ID : 145e9c00-65e3-4c4d-9a03-34a4da93a7e8