2026-08-04 09:30:58,213 - INFO - Domain Default found not creating 2026-08-04 09:30:58,414 - INFO - Project ctest-TestBasicPolicy-61046521 not found, creating it 2026-08-04 09:30:58,955 - INFO - Created Project:ctest-TestBasicPolicy-61046521, ID : b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:31:00,812 - INFO - ================================================================================ 2026-08-04 09:31:00,812 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-04 09:31:00,812 - 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-08-04 09:31:01,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-04 09:31:01,088 - INFO - Initial checks done. Running the testcase now 2026-08-04 09:31:01,088 - INFO - 2026-08-04 09:31:01,829 - DEBUG - Response for create_network : {'network': {'id': '74d09bae-4747-48b6-8a63-40be3cc268e0', 'name': 'ctest-vn-18819545', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'project_id': 'b91d6d68fa0a480db5874cfed75b7875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-vn-18819545'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:31:02,097 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af251471-a58d-4cfd-ab53-db59556d5b9a', 'name': '', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'network_id': '74d09bae-4747-48b6-8a63-40be3cc268e0', 'ip_version': 4, 'cidr': '210.52.134.192/26', 'allocation_pools': [{'start': '210.52.134.194', 'end': '210.52.134.254'}], 'gateway_ip': '210.52.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.52.134.194', 'tags': [], 'project_id': 'b91d6d68fa0a480db5874cfed75b7875'}} 2026-08-04 09:31:02,122 - INFO - Created VN ctest-vn-18819545 2026-08-04 09:31:02,181 - DEBUG - VN ctest-vn-18819545 UUID is 74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:02,559 - DEBUG - Response for create_network : {'network': {'id': '0830067d-34bd-4dfd-ab61-f0b018e4cd68', 'name': 'ctest-vn-54860248', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'project_id': 'b91d6d68fa0a480db5874cfed75b7875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-vn-54860248'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:31:02,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5bc3e0b-aafa-4aaa-96f7-aa008e972f47', 'name': '', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'network_id': '0830067d-34bd-4dfd-ab61-f0b018e4cd68', 'ip_version': 4, 'cidr': '150.172.74.192/26', 'allocation_pools': [{'start': '150.172.74.194', 'end': '150.172.74.254'}], 'gateway_ip': '150.172.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.172.74.194', 'tags': [], 'project_id': 'b91d6d68fa0a480db5874cfed75b7875'}} 2026-08-04 09:31:02,792 - INFO - Created VN ctest-vn-54860248 2026-08-04 09:31:02,849 - DEBUG - VN ctest-vn-54860248 UUID is 0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:02,980 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545, 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-61046521:ctest-vn-54860248, 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-08-04 09:31:03,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74d09bae-4747-48b6-8a63-40be3cc268e0', 'name': 'ctest-vn-18819545', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'project_id': 'b91d6d68fa0a480db5874cfed75b7875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af251471-a58d-4cfd-ab53-db59556d5b9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-vn-18819545'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-policy-allow-all-49773346']], 'subnet_ipam': [{'subnet_cidr': '210.52.134.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:31:03,607 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0830067d-34bd-4dfd-ab61-f0b018e4cd68', 'name': 'ctest-vn-54860248', 'tenant_id': 'b91d6d68fa0a480db5874cfed75b7875', 'project_id': 'b91d6d68fa0a480db5874cfed75b7875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5bc3e0b-aafa-4aaa-96f7-aa008e972f47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-vn-54860248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-policy-allow-all-49773346']], 'subnet_ipam': [{'subnet_cidr': '150.172.74.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:31:03,785 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:31:04,260 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:31:04,309 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:31:04,327 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:31:04,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:31:04,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:31:04,471 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b469bfae-727c-4328-ade0-f753e8884eca 2026-08-04 09:31:04,481 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-04 09:31:04,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:31:04,525 - INFO - Verified VN network id 9 for VN 74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,525 - INFO - Verifications in API Server for VN ctest-vn-18819545 passed 2026-08-04 09:31:04,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,538 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:31:04,548 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:31:04,558 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b469bfae-727c-4328-ade0-f753e8884eca 2026-08-04 09:31:04,576 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61046521', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8417398876377925814', 'uuid-lslong': '9971885185735747808'}, 'enable': 'true', 'created': '2026-08-04T09:31:01', 'last-modified': '2026-08-04T09:31:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.283146'} 2026-08-04 09:31:04,586 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-04 09:31:04,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18819545 passed 2026-08-04 09:31:04,586 - DEBUG - ====Verifying policy data for ctest-vn-18819545 in API_Server ====== 2026-08-04 09:31:04,586 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:31:04,593 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:31:04,604 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:31:04,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74d09bae-4747-48b6-8a63-40be3cc268e0 2026-08-04 09:31:04,705 - DEBUG - ==>Verifying data for policy with id: 61d445d5-452c-44dd-8d1f-603d775446a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-policy-allow-all-49773346'] 2026-08-04 09:31:04,705 - INFO - VN ctest-vn-18819545 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-04 09:31:04,705 - DEBUG - Verifying the vn in opserver 2026-08-04 09:31:04,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545 virtual network link through opserver 10.0.0.38 2026-08-04 09:31:04,705 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-04 09:31:05,089 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-04 09:31:05,146 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545?flat'} 2026-08-04 09:31:05,146 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545 is found in opserver 2026-08-04 09:31:05,161 - DEBUG - Do not have enough data to verify VN in agent 2026-08-04 09:31:05,167 - DEBUG - VRF ids for VN ctest-vn-18819545: {} 2026-08-04 09:31:05,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:31:05,176 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:31:05,191 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:31:05,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:31:05,319 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:31:05,327 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e27e817-2004-4054-83c1-6cf249dc2b06 2026-08-04 09:31:05,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-04 09:31:05,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,346 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:31:05,369 - INFO - Verified VN network id 10 for VN 0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,370 - INFO - Verifications in API Server for VN ctest-vn-54860248 passed 2026-08-04 09:31:05,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,384 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:31:05,393 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:31:05,403 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e27e817-2004-4054-83c1-6cf249dc2b06 2026-08-04 09:31:05,419 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61046521', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '589978686011035133', 'uuid-lslong': '12349416292349169000'}, 'enable': 'true', 'created': '2026-08-04T09:31:02', 'last-modified': '2026-08-04T09:31:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.853809'} 2026-08-04 09:31:05,426 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-04 09:31:05,426 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54860248 passed 2026-08-04 09:31:05,426 - DEBUG - ====Verifying policy data for ctest-vn-54860248 in API_Server ====== 2026-08-04 09:31:05,427 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:31:05,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:31:05,445 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:31:05,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0830067d-34bd-4dfd-ab61-f0b018e4cd68 2026-08-04 09:31:05,541 - DEBUG - ==>Verifying data for policy with id: 61d445d5-452c-44dd-8d1f-603d775446a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-61046521', 'ctest-policy-allow-all-49773346'] 2026-08-04 09:31:05,541 - INFO - VN ctest-vn-54860248 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-04 09:31:05,541 - DEBUG - Verifying the vn in opserver 2026-08-04 09:31:05,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248 virtual network link through opserver 10.0.0.38 2026-08-04 09:31:05,541 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-04 09:31:05,552 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248?flat'} 2026-08-04 09:31:05,552 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248 is found in opserver 2026-08-04 09:31:05,566 - DEBUG - Do not have enough data to verify VN in agent 2026-08-04 09:31:05,572 - DEBUG - VRF ids for VN ctest-vn-54860248: {} 2026-08-04 09:31:05,648 - DEBUG - Services list from nova: [, , ] 2026-08-04 09:31:06,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6131-1) 2026-08-04 09:31:06,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6131-1) 2026-08-04 09:31:06,733 - INFO - Waiting for VM ctest-TestBasicPolicy-61046521-45357141 to be up.. 2026-08-04 09:31:06,804 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:11,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:16,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:22,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:27,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:32,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:37,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:42,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:31:47,623 - DEBUG - VM is in ACTIVE state now 2026-08-04 09:31:47,623 - INFO - VM name : ctest-TestBasicPolicy-61046521-45357141 2026-08-04 09:31:47,711 - DEBUG - VM ctest-TestBasicPolicy-61046521-45357141 ID is 27fc7d2c-3674-472a-aeba-25f4b95d4741 2026-08-04 09:31:47,743 - DEBUG - VM ctest-TestBasicPolicy-61046521-45357141 launched on Node cn-jenkins-deploy-platform-ansible-os-6131-1 2026-08-04 09:31:47,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27fc7d2c-3674-472a-aeba-25f4b95d4741 2026-08-04 09:31:47,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4f57f096-f79b-4384-9405-f93ab0df937e 2026-08-04 09:31:51,154 - 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 1024ms') 2026-08-04 09:31:51,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61046521-45357141 failed! 2026-08-04 09:31:51,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-18819545 is 210.52.134.193 and allocation pool is NOT set 2026-08-04 09:31:53,276 - 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=4.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 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.596/2.417/4.239/1.821 ms') 2026-08-04 09:31:53,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61046521-45357141 passed 2026-08-04 09:31:53,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:31:53,441 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61046521-45357141, IP 210.52.134.195, Port 22 2026-08-04 09:31:53,611 - DEBUG - VM ctest-TestBasicPolicy-61046521-45357141 is ready for SSH connections 2026-08-04 09:31:53,611 - INFO - Waiting for VM ctest-TestBasicPolicy-61046521-79730624 to be up.. 2026-08-04 09:31:53,692 - DEBUG - VM is in ACTIVE state now 2026-08-04 09:31:53,692 - INFO - VM name : ctest-TestBasicPolicy-61046521-79730624 2026-08-04 09:31:53,794 - DEBUG - VM ctest-TestBasicPolicy-61046521-79730624 ID is 0f1d5791-73e9-49c5-8737-0d16fadb4739 2026-08-04 09:31:53,794 - DEBUG - VM ctest-TestBasicPolicy-61046521-79730624 launched on Node cn-jenkins-deploy-platform-ansible-os-6131-1 2026-08-04 09:31:53,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0f1d5791-73e9-49c5-8737-0d16fadb4739 2026-08-04 09:31:53,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f3523611-517b-4b18-bb72-b123d05f1722 2026-08-04 09:31:57,166 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-08-04 09:31:57,167 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61046521-79730624 failed! 2026-08-04 09:31:57,225 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61046521:ctest-vn-54860248 is 150.172.74.193 and allocation pool is NOT set 2026-08-04 09:31:59,295 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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 = 0.544/2.654/4.764/2.110 ms') 2026-08-04 09:31:59,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61046521-79730624 passed 2026-08-04 09:31:59,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:31:59,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61046521-79730624, IP 150.172.74.195, Port 22 2026-08-04 09:31:59,625 - DEBUG - VM ctest-TestBasicPolicy-61046521-79730624 is ready for SSH connections 2026-08-04 09:31:59,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:31:59,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.172.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-04 09:31:59,626 - DEBUG - ping -s 56 -c 3 -W 1 150.172.74.195 2026-08-04 09:32:03,788 - DEBUG - PING 150.172.74.195 (150.172.74.195): 56 data bytes 64 bytes from 150.172.74.195: seq=0 ttl=63 time=5.285 ms 64 bytes from 150.172.74.195: seq=1 ttl=63 time=1.211 ms 64 bytes from 150.172.74.195: seq=2 ttl=63 time=1.423 ms --- 150.172.74.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.211/2.639/5.285 ms 2026-08-04 09:32:03,788 - INFO - Ping to IP 150.172.74.195 from VM ctest-TestBasicPolicy-61046521-45357141 passed 2026-08-04 09:32:03,984 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61d445d5-452c-44dd-8d1f-603d775446a2", "href": "http://10.0.0.38:8082/network-policy/61d445d5-452c-44dd-8d1f-603d775446a2"}} 2026-08-04 09:32:03,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:32:03,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.172.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-04 09:32:03,985 - DEBUG - ping -s 56 -c 3 -W 1 150.172.74.195 2026-08-04 09:32:07,149 - DEBUG - PING 150.172.74.195 (150.172.74.195): 56 data bytes 64 bytes from 150.172.74.195: seq=0 ttl=63 time=1.973 ms --- 150.172.74.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.973/1.973/1.973 ms 2026-08-04 09:32:07,149 - WARNING - Ping to IP 150.172.74.195 from VM ctest-TestBasicPolicy-61046521-45357141 failed 2026-08-04 09:32:07,149 - INFO - Deleting VM ctest-TestBasicPolicy-61046521-79730624 2026-08-04 09:32:07,241 - INFO - Deleting VM ctest-TestBasicPolicy-61046521-45357141 2026-08-04 09:32:07,705 - INFO - Deleted policy ctest-policy-allow-all-49773346 2026-08-04 09:32:07,705 - INFO - Deleting VN ctest-vn-54860248 2026-08-04 09:32:07,750 - DEBUG - VN 0830067d-34bd-4dfd-ab61-f0b018e4cd68 still in use: Unable to complete operation on network 0830067d-34bd-4dfd-ab61-f0b018e4cd68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de0583de-4596-4ac8-80e5-76a979c09237'] 2026-08-04 09:32:07,750 - WARNING - Deleting VN ctest-vn-54860248 failed..Will retry 2026-08-04 09:32:09,877 - DEBUG - Response for deleting network () 2026-08-04 09:32:09,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d2e58b8e-4def-4b40-8501-0524a7faaea0 2026-08-04 09:32:09,886 - DEBUG - Response Code: 404 2026-08-04 09:32:09,886 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:32:09,893 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:32:09,948 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:32:10,036 - INFO - Validated that VN ctest-vn-54860248 is not found in API Server 2026-08-04 09:32:10,051 - DEBUG - VN ctest-vn-54860248 is not present in Agent 10.0.0.38 2026-08-04 09:32:10,051 - INFO - Validated that VN ctest-vn-54860248 is not in any agent 2026-08-04 09:32:10,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54860248 info 2026-08-04 09:32:10,073 - INFO - Deleting VN ctest-vn-18819545 2026-08-04 09:32:10,210 - DEBUG - Response for deleting network () 2026-08-04 09:32:10,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6c79cd6-6131-4e05-8ac5-a7d45c5a68fa 2026-08-04 09:32:10,220 - DEBUG - Response Code: 404 2026-08-04 09:32:10,220 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-04 09:32:10,226 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f99871a8-0529-4eab-a10d-d4786078fec9 2026-08-04 09:32:10,282 - DEBUG - Requesting: http://10.0.0.38:8082/project/b91d6d68-fa0a-480d-b587-4cfed75b7875 2026-08-04 09:32:10,364 - INFO - Validated that VN ctest-vn-18819545 is not found in API Server 2026-08-04 09:32:10,377 - DEBUG - VN ctest-vn-18819545 is not present in Agent 10.0.0.38 2026-08-04 09:32:10,377 - INFO - Validated that VN ctest-vn-18819545 is not in any agent 2026-08-04 09:32:10,394 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18819545 info 2026-08-04 09:32:10,668 - DEBUG - No XMPP flaps were noticed during the test 2026-08-04 09:32:10,668 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-08-04 09:32:10,668 - INFO - -------------------------------------------------------------------------------- 2026-08-04 09:32:11,480 - INFO - Deleted project: ctest-TestBasicPolicy-61046521, ID : b91d6d68-fa0a-480d-b587-4cfed75b7875