2026-02-26 02:01:54,740 - INFO - Domain Default found not creating 2026-02-26 02:01:54,906 - INFO - Project ctest-TestBasicPolicy-09512276 not found, creating it 2026-02-26 02:01:55,388 - INFO - Created Project:ctest-TestBasicPolicy-09512276, ID : ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:01:56,908 - INFO - ================================================================================ 2026-02-26 02:01:56,908 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-26 02:01:56,908 - 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-26 02:01:57,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-02-26 02:01:57,169 - INFO - Initial checks done. Running the testcase now 2026-02-26 02:01:57,169 - INFO - 2026-02-26 02:01:57,729 - DEBUG - Response for create_network : {'network': {'id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'name': 'ctest-vn-46927920', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-46927920'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:01:57,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be91500b-c71b-42c5-80d5-91281bc43bd5', 'name': '', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'network_id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'ip_version': 4, 'cidr': '214.10.34.192/26', 'allocation_pools': [{'start': '214.10.34.194', 'end': '214.10.34.254'}], 'gateway_ip': '214.10.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.10.34.194', 'tags': [], 'project_id': 'ff5218698f0144c3853fef4a6771bce6'}} 2026-02-26 02:01:57,922 - INFO - Created VN ctest-vn-46927920 2026-02-26 02:01:57,974 - DEBUG - VN ctest-vn-46927920 UUID is 2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:58,250 - DEBUG - Response for create_network : {'network': {'id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'name': 'ctest-vn-51146861', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-51146861'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:01:58,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '538f7e8b-c1ce-416c-b114-f1b1399614b1', 'name': '', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'network_id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'ip_version': 4, 'cidr': '214.177.73.192/26', 'allocation_pools': [{'start': '214.177.73.194', 'end': '214.177.73.254'}], 'gateway_ip': '214.177.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.177.73.194', 'tags': [], 'project_id': 'ff5218698f0144c3853fef4a6771bce6'}} 2026-02-26 02:01:58,498 - INFO - Created VN ctest-vn-51146861 2026-02-26 02:01:58,550 - DEBUG - VN ctest-vn-51146861 UUID is ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:01:58,663 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920, 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-09512276:ctest-vn-51146861, 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-26 02:01:58,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1', 'name': 'ctest-vn-46927920', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be91500b-c71b-42c5-80d5-91281bc43bd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-46927920'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']], 'subnet_ipam': [{'subnet_cidr': '214.10.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:01:59,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad49a107-4b8a-493f-a643-8a5bda59d334', 'name': 'ctest-vn-51146861', 'tenant_id': 'ff5218698f0144c3853fef4a6771bce6', 'project_id': 'ff5218698f0144c3853fef4a6771bce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['538f7e8b-c1ce-416c-b114-f1b1399614b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-vn-51146861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447']], 'subnet_ipam': [{'subnet_cidr': '214.177.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:01:59,383 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:01:59,694 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:01:59,728 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:01:59,744 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:01:59,814 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:59,824 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:59,833 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:01:59,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:01:59,846 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a2dafe14-6bfa-4080-a4e9-1e1ab7c0c7d5 2026-02-26 02:01:59,852 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 02:01:59,852 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:59,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:01:59,873 - INFO - Verified VN network id 12 for VN 2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:59,873 - INFO - Verifications in API Server for VN ctest-vn-46927920 passed 2026-02-26 02:01:59,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:01:59,881 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:01:59,888 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:01:59,894 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a2dafe14-6bfa-4080-a4e9-1e1ab7c0c7d5 2026-02-26 02:01:59,904 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09512276', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3327628407820471803', 'uuid-lslong': '10571395055591435201'}, 'enable': 'true', 'created': '2026-02-26T02:01:57', 'last-modified': '2026-02-26T02:01:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978467'} 2026-02-26 02:01:59,910 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 02:01:59,910 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46927920 passed 2026-02-26 02:01:59,911 - DEBUG - ====Verifying policy data for ctest-vn-46927920 in API_Server ====== 2026-02-26 02:01:59,911 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:01:59,915 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:01:59,926 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:01:59,995 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2e2e1c68-08a3-4dfb-92b5-23cb1cd92bc1 2026-02-26 02:02:00,012 - DEBUG - ==>Verifying data for policy with id: 5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447'] 2026-02-26 02:02:00,013 - INFO - VN ctest-vn-46927920 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 02:02:00,013 - DEBUG - Verifying the vn in opserver 2026-02-26 02:02:00,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920 virtual network link through opserver 10.0.0.242 2026-02-26 02:02:00,013 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-26 02:02:00,321 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-26 02:02:00,385 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920?flat'} 2026-02-26 02:02:00,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920 is found in opserver 2026-02-26 02:02:00,396 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 02:02:00,401 - DEBUG - VRF ids for VN ctest-vn-46927920: {} 2026-02-26 02:02:00,401 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:02:00,406 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:02:00,418 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:02:00,495 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,507 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,517 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:00,524 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:00,532 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d2d1a86c-3e5b-4a6a-b08c-4f6ad35d1647 2026-02-26 02:02:00,538 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 02:02:00,538 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,547 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:00,562 - INFO - Verified VN network id 13 for VN ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,562 - INFO - Verifications in API Server for VN ctest-vn-51146861 passed 2026-02-26 02:02:00,562 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,573 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:00,581 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:00,590 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d2d1a86c-3e5b-4a6a-b08c-4f6ad35d1647 2026-02-26 02:02:00,602 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09512276', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12486688494565607743', 'uuid-lslong': '11980571560845628212'}, 'enable': 'true', 'created': '2026-02-26T02:01:58', 'last-modified': '2026-02-26T02:01:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448061'} 2026-02-26 02:02:00,609 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 02:02:00,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51146861 passed 2026-02-26 02:02:00,610 - DEBUG - ====Verifying policy data for ctest-vn-51146861 in API_Server ====== 2026-02-26 02:02:00,610 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:02:00,617 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:02:00,632 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:02:00,704 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad49a107-4b8a-493f-a643-8a5bda59d334 2026-02-26 02:02:00,716 - DEBUG - ==>Verifying data for policy with id: 5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f, fqn: ['default-domain', 'ctest-TestBasicPolicy-09512276', 'ctest-policy-allow-all-60348447'] 2026-02-26 02:02:00,716 - INFO - VN ctest-vn-51146861 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 02:02:00,716 - DEBUG - Verifying the vn in opserver 2026-02-26 02:02:00,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861 virtual network link through opserver 10.0.0.242 2026-02-26 02:02:00,716 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-26 02:02:00,725 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861?flat'} 2026-02-26 02:02:00,725 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-51146861 is found in opserver 2026-02-26 02:02:00,737 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 02:02:00,741 - DEBUG - VRF ids for VN ctest-vn-51146861: {} 2026-02-26 02:02:00,813 - DEBUG - Services list from nova: [, , ] 2026-02-26 02:02:01,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5399-1) 2026-02-26 02:02:03,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5399-1) 2026-02-26 02:02:03,092 - INFO - Waiting for VM ctest-TestBasicPolicy-09512276-45803953 to be up.. 2026-02-26 02:02:03,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 02:02:08,252 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:02:08,252 - INFO - VM name : ctest-TestBasicPolicy-09512276-45803953 2026-02-26 02:02:08,334 - DEBUG - VM ctest-TestBasicPolicy-09512276-45803953 ID is 869dee8b-e76c-4bf0-81a3-f43ba7a4ea71 2026-02-26 02:02:08,354 - DEBUG - VM ctest-TestBasicPolicy-09512276-45803953 launched on Node cn-jenkins-deploy-platform-ansible-os-5399-1 2026-02-26 02:02:08,433 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/869dee8b-e76c-4bf0-81a3-f43ba7a4ea71 2026-02-26 02:02:08,442 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c3d3d87e-fef9-4fbe-a957-a2ef5a5a2fa2 2026-02-26 02:02:11,664 - 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 1035ms') 2026-02-26 02:02:11,664 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09512276-45803953 failed! 2026-02-26 02:02:11,719 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09512276:ctest-vn-46927920 is 214.10.34.193 and allocation pool is NOT set 2026-02-26 02:02:13,782 - 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=7.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.712 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.712/4.157/7.602/3.445 ms') 2026-02-26 02:02:13,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09512276-45803953 passed 2026-02-26 02:02:13,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:02:13,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09512276-45803953, IP 214.10.34.195, Port 22 2026-02-26 02:02:14,005 - 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-02-26 02:02:14,088 - DEBUG - VM ctest-TestBasicPolicy-09512276-45803953 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-26 02:02:19,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:02:19,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09512276-45803953, IP 214.10.34.195, Port 22 2026-02-26 02:02:19,246 - DEBUG - VM ctest-TestBasicPolicy-09512276-45803953 is ready for SSH connections 2026-02-26 02:02:19,246 - INFO - Waiting for VM ctest-TestBasicPolicy-09512276-09475260 to be up.. 2026-02-26 02:02:19,327 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:02:19,327 - INFO - VM name : ctest-TestBasicPolicy-09512276-09475260 2026-02-26 02:02:19,396 - DEBUG - VM ctest-TestBasicPolicy-09512276-09475260 ID is ef250866-30b6-4ce0-8220-5edca763cc26 2026-02-26 02:02:19,396 - DEBUG - VM ctest-TestBasicPolicy-09512276-09475260 launched on Node cn-jenkins-deploy-platform-ansible-os-5399-1 2026-02-26 02:02:19,464 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ef250866-30b6-4ce0-8220-5edca763cc26 2026-02-26 02:02:19,471 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4e8b4e16-bf91-4d06-809e-190be1182920 2026-02-26 02:02:20,710 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.444/1.852/3.261/1.408 ms') 2026-02-26 02:02:20,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09512276-09475260 passed 2026-02-26 02:02:20,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:02:20,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09512276-09475260, IP 214.177.73.195, Port 22 2026-02-26 02:02:21,013 - DEBUG - VM ctest-TestBasicPolicy-09512276-09475260 is ready for SSH connections 2026-02-26 02:02:21,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:02:21,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.177.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-26 02:02:21,014 - DEBUG - ping -s 56 -c 3 -W 1 214.177.73.195 2026-02-26 02:02:25,054 - DEBUG - PING 214.177.73.195 (214.177.73.195): 56 data bytes 64 bytes from 214.177.73.195: seq=0 ttl=63 time=4.058 ms 64 bytes from 214.177.73.195: seq=1 ttl=63 time=0.813 ms 64 bytes from 214.177.73.195: seq=2 ttl=63 time=0.902 ms --- 214.177.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.924/4.058 ms 2026-02-26 02:02:25,054 - INFO - Ping to IP 214.177.73.195 from VM ctest-TestBasicPolicy-09512276-45803953 passed 2026-02-26 02:02:25,226 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f", "href": "http://10.0.0.242:8082/network-policy/5cd33b3d-8f85-4b11-9f87-9ebf5f4cf48f"}} 2026-02-26 02:02:25,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:02:25,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.177.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-26 02:02:25,227 - DEBUG - ping -s 56 -c 3 -W 1 214.177.73.195 2026-02-26 02:02:28,449 - DEBUG - PING 214.177.73.195 (214.177.73.195): 56 data bytes --- 214.177.73.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-26 02:02:28,449 - WARNING - Ping to IP 214.177.73.195 from VM ctest-TestBasicPolicy-09512276-45803953 failed 2026-02-26 02:02:28,449 - INFO - Deleting VM ctest-TestBasicPolicy-09512276-09475260 2026-02-26 02:02:28,536 - INFO - Deleting VM ctest-TestBasicPolicy-09512276-45803953 2026-02-26 02:02:28,920 - INFO - Deleted policy ctest-policy-allow-all-60348447 2026-02-26 02:02:28,920 - INFO - Deleting VN ctest-vn-51146861 2026-02-26 02:02:28,956 - DEBUG - VN ad49a107-4b8a-493f-a643-8a5bda59d334 still in use: Unable to complete operation on network ad49a107-4b8a-493f-a643-8a5bda59d334. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e99d499-aecc-45b0-88ab-a2c30e6773ef'] 2026-02-26 02:02:28,956 - WARNING - Deleting VN ctest-vn-51146861 failed..Will retry 2026-02-26 02:02:31,060 - DEBUG - Response for deleting network () 2026-02-26 02:02:31,060 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9f00cb6-3b31-448d-980e-209b257e4945 2026-02-26 02:02:31,069 - DEBUG - Response Code: 404 2026-02-26 02:02:31,069 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:02:31,074 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:02:31,128 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:02:31,200 - INFO - Validated that VN ctest-vn-51146861 is not found in API Server 2026-02-26 02:02:31,209 - DEBUG - VN ctest-vn-51146861 is not present in Agent 10.0.0.242 2026-02-26 02:02:31,209 - INFO - Validated that VN ctest-vn-51146861 is not in any agent 2026-02-26 02:02:31,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51146861 info 2026-02-26 02:02:31,223 - INFO - Deleting VN ctest-vn-46927920 2026-02-26 02:02:31,339 - DEBUG - Response for deleting network () 2026-02-26 02:02:31,339 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ccd94245-11eb-4a3e-86a1-8104fa69ca01 2026-02-26 02:02:31,344 - DEBUG - Response Code: 404 2026-02-26 02:02:31,344 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-26 02:02:31,363 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e0bad988-196d-4f23-80db-d8d68d99880f 2026-02-26 02:02:31,420 - DEBUG - Requesting: http://10.0.0.242:8082/project/ff521869-8f01-44c3-853f-ef4a6771bce6 2026-02-26 02:02:31,496 - INFO - Validated that VN ctest-vn-46927920 is not found in API Server 2026-02-26 02:02:31,506 - DEBUG - VN ctest-vn-46927920 is not present in Agent 10.0.0.242 2026-02-26 02:02:31,506 - INFO - Validated that VN ctest-vn-46927920 is not in any agent 2026-02-26 02:02:31,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46927920 info 2026-02-26 02:02:31,790 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 02:02:31,790 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-26 02:02:31,790 - INFO - -------------------------------------------------------------------------------- 2026-02-26 02:02:32,535 - INFO - Deleted project: ctest-TestBasicPolicy-09512276, ID : ff521869-8f01-44c3-853f-ef4a6771bce6