2026-11-02 22:07:54,694 - INFO - Domain Default found not creating 2026-11-02 22:07:54,908 - INFO - Project ctest-TestBasicPolicy-38941441 not found, creating it 2026-11-02 22:07:55,438 - INFO - Created Project:ctest-TestBasicPolicy-38941441, ID : b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:07:57,568 - INFO - ================================================================================ 2026-11-02 22:07:57,568 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 22:07:57,568 - 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-02 22:07:57,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-02 22:07:57,852 - INFO - Initial checks done. Running the testcase now 2026-11-02 22:07:57,852 - INFO - 2026-11-02 22:07:58,521 - DEBUG - Response for create_network : {'network': {'id': '92256380-fa28-4748-aab1-e1c6dc5dbfed', 'name': 'ctest-vn-07049090', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-vn-07049090'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:07:58,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '51a737f0-d3a6-4e3d-8efa-2173c3eaf19b', 'name': '', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'network_id': '92256380-fa28-4748-aab1-e1c6dc5dbfed', 'ip_version': 4, 'cidr': '15.122.109.0/26', 'allocation_pools': [{'start': '15.122.109.2', 'end': '15.122.109.62'}], 'gateway_ip': '15.122.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.122.109.2', 'tags': [], 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797'}} 2026-11-02 22:07:58,747 - INFO - Created VN ctest-vn-07049090 2026-11-02 22:07:58,806 - DEBUG - VN ctest-vn-07049090 UUID is 92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:07:59,153 - DEBUG - Response for create_network : {'network': {'id': '1bce2c23-5c4c-4f4c-88cf-4e797cb67401', 'name': 'ctest-vn-45070635', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-vn-45070635'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:07:59,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ce26a1e-c6e4-41b9-991f-2af4492ad44e', 'name': '', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'network_id': '1bce2c23-5c4c-4f4c-88cf-4e797cb67401', 'ip_version': 4, 'cidr': '82.45.156.192/26', 'allocation_pools': [{'start': '82.45.156.194', 'end': '82.45.156.254'}], 'gateway_ip': '82.45.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.45.156.194', 'tags': [], 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797'}} 2026-11-02 22:07:59,456 - INFO - Created VN ctest-vn-45070635 2026-11-02 22:07:59,517 - DEBUG - VN ctest-vn-45070635 UUID is 1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:07:59,659 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090, 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-38941441:ctest-vn-45070635, 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-02 22:08:00,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92256380-fa28-4748-aab1-e1c6dc5dbfed', 'name': 'ctest-vn-07049090', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['51a737f0-d3a6-4e3d-8efa-2173c3eaf19b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-vn-07049090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-policy-allow-all-05886754']], 'subnet_ipam': [{'subnet_cidr': '15.122.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:08:00,342 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bce2c23-5c4c-4f4c-88cf-4e797cb67401', 'name': 'ctest-vn-45070635', 'tenant_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'project_id': 'b513e26a7fce401e8dbdf3ea946cb797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4ce26a1e-c6e4-41b9-991f-2af4492ad44e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-vn-45070635'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-policy-allow-all-05886754']], 'subnet_ipam': [{'subnet_cidr': '82.45.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:08:00,521 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:08:00,906 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:08:00,981 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:08:01,030 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:08:01,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,156 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:08:01,167 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:08:01,177 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fc3c0e2f-6ea0-420e-bee9-72a8163d1da6 2026-11-02 22:08:01,186 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 22:08:01,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:08:01,211 - INFO - Verified VN network id 12 for VN 92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,211 - INFO - Verifications in API Server for VN ctest-vn-07049090 passed 2026-11-02 22:08:01,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:08:01,227 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:08:01,235 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fc3c0e2f-6ea0-420e-bee9-72a8163d1da6 2026-11-02 22:08:01,249 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38941441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10530932709279680328', 'uuid-lslong': '12299860301542440941'}, 'enable': 'true', 'created': '2026-11-02T22:07:58', 'last-modified': '2026-11-02T22:07:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240313'} 2026-11-02 22:08:01,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 22:08:01,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07049090 passed 2026-11-02 22:08:01,256 - DEBUG - ====Verifying policy data for ctest-vn-07049090 in API_Server ====== 2026-11-02 22:08:01,256 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:08:01,262 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:08:01,272 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:08:01,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/92256380-fa28-4748-aab1-e1c6dc5dbfed 2026-11-02 22:08:01,356 - DEBUG - ==>Verifying data for policy with id: 753fd334-abb5-47ee-81f2-67b51558d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-policy-allow-all-05886754'] 2026-11-02 22:08:01,357 - INFO - VN ctest-vn-07049090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 22:08:01,357 - DEBUG - Verifying the vn in opserver 2026-11-02 22:08:01,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090 virtual network link through opserver 10.0.0.50 2026-11-02 22:08:01,357 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 22:08:01,717 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 22:08:01,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090?flat'} 2026-11-02 22:08:01,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090 is found in opserver 2026-11-02 22:08:01,772 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 22:08:01,777 - DEBUG - VRF ids for VN ctest-vn-07049090: {} 2026-11-02 22:08:01,777 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:08:01,782 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:08:01,792 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:08:01,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:01,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:01,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:08:01,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:08:01,901 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a4c056bf-3444-464f-aaaa-5d1edebd093a 2026-11-02 22:08:01,908 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 22:08:01,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:01,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:08:01,929 - INFO - Verified VN network id 13 for VN 1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:01,929 - INFO - Verifications in API Server for VN ctest-vn-45070635 passed 2026-11-02 22:08:01,929 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:01,937 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:08:01,944 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:08:01,950 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a4c056bf-3444-464f-aaaa-5d1edebd093a 2026-11-02 22:08:01,961 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-45070635', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38941441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2003587414610431820', 'uuid-lslong': '9858184393027646465'}, 'enable': 'true', 'created': '2026-11-02T22:07:59', 'last-modified': '2026-11-02T22:08:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.673541'} 2026-11-02 22:08:01,968 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 22:08:01,968 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45070635 passed 2026-11-02 22:08:01,968 - DEBUG - ====Verifying policy data for ctest-vn-45070635 in API_Server ====== 2026-11-02 22:08:01,968 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:08:01,974 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:08:01,985 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:08:02,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bce2c23-5c4c-4f4c-88cf-4e797cb67401 2026-11-02 22:08:02,065 - DEBUG - ==>Verifying data for policy with id: 753fd334-abb5-47ee-81f2-67b51558d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-38941441', 'ctest-policy-allow-all-05886754'] 2026-11-02 22:08:02,065 - INFO - VN ctest-vn-45070635 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 22:08:02,065 - DEBUG - Verifying the vn in opserver 2026-11-02 22:08:02,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-45070635 virtual network link through opserver 10.0.0.50 2026-11-02 22:08:02,065 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 22:08:02,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-45070635', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-45070635?flat'} 2026-11-02 22:08:02,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-45070635 is found in opserver 2026-11-02 22:08:02,084 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 22:08:02,088 - DEBUG - VRF ids for VN ctest-vn-45070635: {} 2026-11-02 22:08:02,141 - DEBUG - Services list from nova: [, , ] 2026-11-02 22:08:02,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1) 2026-11-02 22:08:02,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1) 2026-11-02 22:08:02,884 - INFO - Waiting for VM ctest-TestBasicPolicy-38941441-12465138 to be up.. 2026-11-02 22:08:02,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:08,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:13,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:18,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:23,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:28,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:33,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:38,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:43,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:08:48,766 - DEBUG - VM is in ACTIVE state now 2026-11-02 22:08:48,766 - INFO - VM name : ctest-TestBasicPolicy-38941441-12465138 2026-11-02 22:08:48,870 - DEBUG - VM ctest-TestBasicPolicy-38941441-12465138 ID is 07665217-6098-412e-a31f-0fa791ee99b9 2026-11-02 22:08:48,892 - DEBUG - VM ctest-TestBasicPolicy-38941441-12465138 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1 2026-11-02 22:08:48,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/07665217-6098-412e-a31f-0fa791ee99b9 2026-11-02 22:08:49,002 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8000a5f-f916-4e08-9b8a-67c5c180ee65 2026-11-02 22:08:52,258 - 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 1005ms') 2026-11-02 22:08:52,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38941441-12465138 failed! 2026-11-02 22:08:52,313 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38941441:ctest-vn-07049090 is 15.122.109.1 and allocation pool is NOT set 2026-11-02 22:08:54,376 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/3.360/6.300/2.940 ms') 2026-11-02 22:08:54,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38941441-12465138 passed 2026-11-02 22:08:54,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:08:54,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38941441-12465138, IP 15.122.109.3, Port 22 2026-11-02 22:08:54,698 - DEBUG - VM ctest-TestBasicPolicy-38941441-12465138 is ready for SSH connections 2026-11-02 22:08:54,699 - INFO - Waiting for VM ctest-TestBasicPolicy-38941441-65362370 to be up.. 2026-11-02 22:08:54,787 - DEBUG - VM is in ACTIVE state now 2026-11-02 22:08:54,787 - INFO - VM name : ctest-TestBasicPolicy-38941441-65362370 2026-11-02 22:08:54,864 - DEBUG - VM ctest-TestBasicPolicy-38941441-65362370 ID is 8da599fb-f7fe-42e6-b2e7-b7994fd745eb 2026-11-02 22:08:54,864 - DEBUG - VM ctest-TestBasicPolicy-38941441-65362370 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1 2026-11-02 22:08:54,948 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8da599fb-f7fe-42e6-b2e7-b7994fd745eb 2026-11-02 22:08:54,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/df8dc705-878c-4ea6-bd1f-924b8f9d53ff 2026-11-02 22:08:58,209 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.437/10.437/10.437/0.000 ms') 2026-11-02 22:08:58,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38941441-65362370 passed 2026-11-02 22:08:58,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:08:58,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38941441-65362370, IP 82.45.156.195, Port 22 2026-11-02 22:08:58,573 - DEBUG - VM ctest-TestBasicPolicy-38941441-65362370 is ready for SSH connections 2026-11-02 22:08:58,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:08:58,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.45.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 22:08:58,574 - DEBUG - ping -s 56 -c 3 -W 1 82.45.156.195 2026-11-02 22:09:02,992 - DEBUG - PING 82.45.156.195 (82.45.156.195): 56 data bytes 64 bytes from 82.45.156.195: seq=0 ttl=63 time=6.872 ms 64 bytes from 82.45.156.195: seq=1 ttl=63 time=1.868 ms 64 bytes from 82.45.156.195: seq=2 ttl=63 time=0.888 ms --- 82.45.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/3.209/6.872 ms 2026-11-02 22:09:02,992 - INFO - Ping to IP 82.45.156.195 from VM ctest-TestBasicPolicy-38941441-12465138 passed 2026-11-02 22:09:03,173 - DEBUG - Policy Update Response {"network-policy": {"uuid": "753fd334-abb5-47ee-81f2-67b51558d32c", "href": "http://10.0.0.50:8082/network-policy/753fd334-abb5-47ee-81f2-67b51558d32c"}} 2026-11-02 22:09:03,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:09:03,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.45.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 22:09:03,173 - DEBUG - ping -s 56 -c 3 -W 1 82.45.156.195 2026-11-02 22:09:06,323 - DEBUG - PING 82.45.156.195 (82.45.156.195): 56 data bytes 64 bytes from 82.45.156.195: seq=0 ttl=63 time=2.746 ms --- 82.45.156.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.746/2.746/2.746 ms 2026-11-02 22:09:06,324 - WARNING - Ping to IP 82.45.156.195 from VM ctest-TestBasicPolicy-38941441-12465138 failed 2026-11-02 22:09:06,324 - INFO - Deleting VM ctest-TestBasicPolicy-38941441-65362370 2026-11-02 22:09:06,458 - INFO - Deleting VM ctest-TestBasicPolicy-38941441-12465138 2026-11-02 22:09:06,960 - INFO - Deleted policy ctest-policy-allow-all-05886754 2026-11-02 22:09:06,960 - INFO - Deleting VN ctest-vn-45070635 2026-11-02 22:09:07,032 - DEBUG - VN 1bce2c23-5c4c-4f4c-88cf-4e797cb67401 still in use: Unable to complete operation on network 1bce2c23-5c4c-4f4c-88cf-4e797cb67401. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-362e3ad1-0a53-453d-a4bf-d46d146f1571'] 2026-11-02 22:09:07,032 - WARNING - Deleting VN ctest-vn-45070635 failed..Will retry 2026-11-02 22:09:09,073 - DEBUG - VN 1bce2c23-5c4c-4f4c-88cf-4e797cb67401 still in use: Unable to complete operation on network 1bce2c23-5c4c-4f4c-88cf-4e797cb67401. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44114f6d-3b47-41b9-96ea-57d6bef4295a'] 2026-11-02 22:09:09,073 - WARNING - Deleting VN ctest-vn-45070635 failed..Will retry 2026-11-02 22:09:11,174 - DEBUG - Response for deleting network () 2026-11-02 22:09:11,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02325f7e-ca1a-4026-923f-fae68872f18a 2026-11-02 22:09:11,179 - DEBUG - Response Code: 404 2026-11-02 22:09:11,179 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:09:11,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:09:11,242 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:09:11,320 - INFO - Validated that VN ctest-vn-45070635 is not found in API Server 2026-11-02 22:09:11,331 - DEBUG - VN ctest-vn-45070635 is not present in Agent 10.0.0.50 2026-11-02 22:09:11,331 - INFO - Validated that VN ctest-vn-45070635 is not in any agent 2026-11-02 22:09:11,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45070635 info 2026-11-02 22:09:11,351 - INFO - Deleting VN ctest-vn-07049090 2026-11-02 22:09:11,487 - DEBUG - Response for deleting network () 2026-11-02 22:09:11,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/521cdd64-3dab-4707-a4e1-a65cc12233ad 2026-11-02 22:09:11,498 - DEBUG - Response Code: 404 2026-11-02 22:09:11,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 22:09:11,509 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2f611ba-7871-413d-9ee6-ccc24d2220c1 2026-11-02 22:09:11,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/b513e26a-7fce-401e-8dbd-f3ea946cb797 2026-11-02 22:09:11,646 - INFO - Validated that VN ctest-vn-07049090 is not found in API Server 2026-11-02 22:09:11,662 - DEBUG - VN ctest-vn-07049090 is not present in Agent 10.0.0.50 2026-11-02 22:09:11,662 - INFO - Validated that VN ctest-vn-07049090 is not in any agent 2026-11-02 22:09:11,686 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07049090 info 2026-11-02 22:09:11,973 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 22:09:11,973 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14]
2026-11-02 22:09:11,973 - INFO - -------------------------------------------------------------------------------- 2026-11-02 22:09:12,789 - INFO - Deleted project: ctest-TestBasicPolicy-38941441, ID : b513e26a-7fce-401e-8dbd-f3ea946cb797