2025-10-20 13:59:16,939 - INFO - Reading existing Domain with UUID 359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:16,950 - INFO - Using existing domain ['admin_domain'](359ab6ea-20cc-44f4-9df6-3d9ae739b7c5) 2025-10-20 13:59:17,154 - INFO - Project ctest-TestBasicPolicy-71960822 not found, creating it 2025-10-20 13:59:17,680 - INFO - Created Project:ctest-TestBasicPolicy-71960822, ID : 994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:19,407 - INFO - ================================================================================ 2025-10-20 13:59:19,407 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 13:59:19,407 - 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 2025-10-20 13:59:19,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.0.0.137': '0'}} with 2025-10-20 13:59:19,801 - INFO - Initial checks done. Running the testcase now 2025-10-20 13:59:19,801 - INFO - 2025-10-20 13:59:20,556 - DEBUG - Response for create_network : {'network': {'id': '41632307-47d6-4ecb-be2d-23b2cb9c137b', 'name': 'ctest-vn-35005359', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'project_id': '994e0023974e413fba2e8dd749a7b743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-vn-35005359'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:59:20,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '73e2414f-8c2d-492a-b1ef-0fde3a68ae83', 'name': '', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'network_id': '41632307-47d6-4ecb-be2d-23b2cb9c137b', 'ip_version': 4, 'cidr': '182.133.147.0/26', 'allocation_pools': [{'start': '182.133.147.2', 'end': '182.133.147.62'}], 'gateway_ip': '182.133.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:59:20.661663', 'updated_at': '2025-10-20T13:59:20.661663', 'dns_server_address': '182.133.147.2', 'tags': [], 'project_id': '994e0023974e413fba2e8dd749a7b743'}} 2025-10-20 13:59:20,827 - INFO - Created VN ctest-vn-35005359 2025-10-20 13:59:20,880 - DEBUG - VN ctest-vn-35005359 UUID is 41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:21,402 - DEBUG - Response for create_network : {'network': {'id': '01bb910d-1226-4021-a549-a0a2d5526217', 'name': 'ctest-vn-62196205', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'project_id': '994e0023974e413fba2e8dd749a7b743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-vn-62196205'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:59:21,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '873bd277-0979-4fdb-9263-709a881b864d', 'name': '', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'network_id': '01bb910d-1226-4021-a549-a0a2d5526217', 'ip_version': 4, 'cidr': '101.128.227.0/26', 'allocation_pools': [{'start': '101.128.227.2', 'end': '101.128.227.62'}], 'gateway_ip': '101.128.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:59:21.527151', 'updated_at': '2025-10-20T13:59:21.527151', 'dns_server_address': '101.128.227.2', 'tags': [], 'project_id': '994e0023974e413fba2e8dd749a7b743'}} 2025-10-20 13:59:21,698 - INFO - Created VN ctest-vn-62196205 2025-10-20 13:59:21,752 - DEBUG - VN ctest-vn-62196205 UUID is 01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:21,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205, 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] 2025-10-20 13:59:22,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41632307-47d6-4ecb-be2d-23b2cb9c137b', 'name': 'ctest-vn-35005359', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'project_id': '994e0023974e413fba2e8dd749a7b743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73e2414f-8c2d-492a-b1ef-0fde3a68ae83'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-vn-35005359'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-policy-allow-all-37324797']], 'subnet_ipam': [{'subnet_cidr': '182.133.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T13:59:20.476734', 'updated_at': '2025-10-20T13:59:20.676710'}} 2025-10-20 13:59:22,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01bb910d-1226-4021-a549-a0a2d5526217', 'name': 'ctest-vn-62196205', 'tenant_id': '994e0023974e413fba2e8dd749a7b743', 'project_id': '994e0023974e413fba2e8dd749a7b743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['873bd277-0979-4fdb-9263-709a881b864d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-vn-62196205'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-policy-allow-all-37324797']], 'subnet_ipam': [{'subnet_cidr': '101.128.227.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T13:59:21.325988', 'updated_at': '2025-10-20T13:59:21.541564'}} 2025-10-20 13:59:22,904 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:23,250 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:23,328 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:23,385 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:23,473 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:23,530 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:23,586 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:23,637 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:23,697 - DEBUG - Requesting: https://10.0.0.137:8082/route-target/b7b3dee0-6436-4cc0-a9f6-68b4c5fe876c 2025-10-20 13:59:23,753 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 13:59:23,753 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:23,811 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:23,874 - INFO - Verified VN network id 11 for VN 41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:23,874 - INFO - Verifications in API Server for VN ctest-vn-35005359 passed 2025-10-20 13:59:23,875 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:23,931 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:23,985 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:24,041 - DEBUG - Requesting: https://10.0.0.137:8082/route-target/b7b3dee0-6436-4cc0-a9f6-68b4c5fe876c 2025-10-20 13:59:24,141 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71960822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4711648149336641227', 'uuid-lslong': '13703648491985441659'}, 'enable': 'true', 'created': '2025-10-20T13:59:20', 'last-modified': '2025-10-20T13:59:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.809068'} 2025-10-20 13:59:24,190 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 13:59:24,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35005359 passed 2025-10-20 13:59:24,191 - DEBUG - ====Verifying policy data for ctest-vn-35005359 in API_Server ====== 2025-10-20 13:59:24,191 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:24,240 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:24,297 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:24,377 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/41632307-47d6-4ecb-be2d-23b2cb9c137b 2025-10-20 13:59:24,434 - DEBUG - ==>Verifying data for policy with id: 40432e16-7084-4a8f-9645-7b63ba765dbe, fqn: ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-policy-allow-all-37324797'] 2025-10-20 13:59:24,434 - INFO - VN ctest-vn-35005359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 13:59:24,434 - DEBUG - Verifying the vn in opserver 2025-10-20 13:59:24,434 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359 virtual network link through opserver 10.0.0.137 2025-10-20 13:59:24,434 - DEBUG - Requesting: https://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-20 13:59:24,780 - DEBUG - Requesting: https://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-20 13:59:24,893 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359', 'href': 'https://10.0.0.137:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359?flat'} 2025-10-20 13:59:24,893 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359 is found in opserver 2025-10-20 13:59:24,996 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 13:59:25,049 - DEBUG - VRF ids for VN ctest-vn-35005359: {} 2025-10-20 13:59:25,049 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:25,100 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:25,162 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:25,241 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:25,298 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:25,354 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:25,409 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:25,461 - DEBUG - Requesting: https://10.0.0.137:8082/route-target/d41e6302-e6d4-4cc9-8f74-df008f2538b1 2025-10-20 13:59:25,513 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 13:59:25,513 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:25,574 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:25,638 - INFO - Verified VN network id 12 for VN 01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:25,638 - INFO - Verifications in API Server for VN ctest-vn-62196205 passed 2025-10-20 13:59:25,638 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:25,698 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:25,753 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:25,809 - DEBUG - Requesting: https://10.0.0.137:8082/route-target/d41e6302-e6d4-4cc9-8f74-df008f2538b1 2025-10-20 13:59:25,910 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71960822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '124852900007919649', 'uuid-lslong': '11910227310782079511'}, 'enable': 'true', 'created': '2025-10-20T13:59:21', 'last-modified': '2025-10-20T13:59:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.245827'} 2025-10-20 13:59:25,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 13:59:25,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62196205 passed 2025-10-20 13:59:25,963 - DEBUG - ====Verifying policy data for ctest-vn-62196205 in API_Server ====== 2025-10-20 13:59:25,963 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:26,013 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:26,074 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:26,145 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-network/01bb910d-1226-4021-a549-a0a2d5526217 2025-10-20 13:59:26,202 - DEBUG - ==>Verifying data for policy with id: 40432e16-7084-4a8f-9645-7b63ba765dbe, fqn: ['admin_domain', 'ctest-TestBasicPolicy-71960822', 'ctest-policy-allow-all-37324797'] 2025-10-20 13:59:26,202 - INFO - VN ctest-vn-62196205 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 13:59:26,202 - DEBUG - Verifying the vn in opserver 2025-10-20 13:59:26,202 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205 virtual network link through opserver 10.0.0.137 2025-10-20 13:59:26,202 - DEBUG - Requesting: https://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-20 13:59:26,256 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205', 'href': 'https://10.0.0.137:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205?flat'} 2025-10-20 13:59:26,256 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-62196205 is found in opserver 2025-10-20 13:59:26,353 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 13:59:26,400 - DEBUG - VRF ids for VN ctest-vn-62196205: {} 2025-10-20 13:59:26,472 - DEBUG - Services list from nova: [, , ] 2025-10-20 13:59:27,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:59:28,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:59:28,863 - INFO - Waiting for VM ctest-TestBasicPolicy-71960822-56746925 to be up.. 2025-10-20 13:59:29,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 13:59:34,162 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:59:34,162 - INFO - VM name : ctest-TestBasicPolicy-71960822-56746925 2025-10-20 13:59:34,304 - DEBUG - VM ctest-TestBasicPolicy-71960822-56746925 ID is 1a53f249-59b0-4318-a5c6-f8e0a494af2e 2025-10-20 13:59:34,329 - DEBUG - VM ctest-TestBasicPolicy-71960822-56746925 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:59:34,464 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/1a53f249-59b0-4318-a5c6-f8e0a494af2e 2025-10-20 13:59:34,517 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/ac1aeb97-7300-48c1-b101-eea18236605f 2025-10-20 13:59:37,970 - 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 1003ms') 2025-10-20 13:59:37,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71960822-56746925 failed! 2025-10-20 13:59:38,028 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-71960822:ctest-vn-35005359 is 182.133.147.1 and allocation pool is NOT set 2025-10-20 13:59:40,122 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.407/6.549/11.691/5.142 ms') 2025-10-20 13:59:40,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71960822-56746925 passed 2025-10-20 13:59:40,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:59:40,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71960822-56746925, IP 182.133.147.3, Port 22 2025-10-20 13:59:40,516 - DEBUG - VM ctest-TestBasicPolicy-71960822-56746925 is ready for SSH connections 2025-10-20 13:59:40,516 - INFO - Waiting for VM ctest-TestBasicPolicy-71960822-86024066 to be up.. 2025-10-20 13:59:40,660 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:59:40,660 - INFO - VM name : ctest-TestBasicPolicy-71960822-86024066 2025-10-20 13:59:40,788 - DEBUG - VM ctest-TestBasicPolicy-71960822-86024066 ID is f5666611-6bec-4af6-9c67-6a3cbad432db 2025-10-20 13:59:40,788 - DEBUG - VM ctest-TestBasicPolicy-71960822-86024066 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:59:40,919 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/f5666611-6bec-4af6-9c67-6a3cbad432db 2025-10-20 13:59:40,977 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/e821edc2-f130-4c85-a693-b846bcb252a3 2025-10-20 13:59:42,433 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/3.180/5.930/2.750 ms') 2025-10-20 13:59:42,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71960822-86024066 passed 2025-10-20 13:59:42,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:59:42,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71960822-86024066, IP 101.128.227.3, Port 22 2025-10-20 13:59:42,798 - DEBUG - VM ctest-TestBasicPolicy-71960822-86024066 is ready for SSH connections 2025-10-20 13:59:42,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:59:42,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.128.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:59:42,799 - DEBUG - ping -s 56 -c 3 -W 1 101.128.227.3 2025-10-20 13:59:46,897 - DEBUG - PING 101.128.227.3 (101.128.227.3): 56 data bytes 64 bytes from 101.128.227.3: seq=0 ttl=63 time=3.918 ms 64 bytes from 101.128.227.3: seq=1 ttl=63 time=0.848 ms 64 bytes from 101.128.227.3: seq=2 ttl=63 time=0.925 ms --- 101.128.227.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.897/3.918 ms 2025-10-20 13:59:46,898 - INFO - Ping to IP 101.128.227.3 from VM ctest-TestBasicPolicy-71960822-56746925 passed 2025-10-20 13:59:47,080 - DEBUG - Policy Update Response {"network-policy": {"uuid": "40432e16-7084-4a8f-9645-7b63ba765dbe", "href": "https://10.0.0.137:8082/network-policy/40432e16-7084-4a8f-9645-7b63ba765dbe"}} 2025-10-20 13:59:47,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:59:47,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.128.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:59:47,080 - DEBUG - ping -s 56 -c 3 -W 1 101.128.227.3 2025-10-20 13:59:50,286 - DEBUG - PING 101.128.227.3 (101.128.227.3): 56 data bytes --- 101.128.227.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 13:59:50,286 - WARNING - Ping to IP 101.128.227.3 from VM ctest-TestBasicPolicy-71960822-56746925 failed 2025-10-20 13:59:50,287 - INFO - Deleting VM ctest-TestBasicPolicy-71960822-86024066 2025-10-20 13:59:50,520 - INFO - Deleting VM ctest-TestBasicPolicy-71960822-56746925 2025-10-20 13:59:51,525 - INFO - Deleted policy ctest-policy-allow-all-37324797 2025-10-20 13:59:51,525 - INFO - Deleting VN ctest-vn-62196205 2025-10-20 13:59:51,699 - DEBUG - VN 01bb910d-1226-4021-a549-a0a2d5526217 still in use: Unable to complete operation on network 01bb910d-1226-4021-a549-a0a2d5526217. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f87c6cec-83b8-4e07-875c-be061669193c'] 2025-10-20 13:59:51,699 - WARNING - Deleting VN ctest-vn-62196205 failed..Will retry 2025-10-20 13:59:53,879 - DEBUG - Response for deleting network () 2025-10-20 13:59:53,879 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/ee7f48b4-77ab-4395-a61b-ece5b057e5d2 2025-10-20 13:59:53,936 - DEBUG - Response Code: 404 2025-10-20 13:59:53,936 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:53,989 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:54,049 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:54,129 - INFO - Validated that VN ctest-vn-62196205 is not found in API Server 2025-10-20 13:59:54,228 - DEBUG - VN ctest-vn-62196205 is not present in Agent 10.0.0.137 2025-10-20 13:59:54,229 - INFO - Validated that VN ctest-vn-62196205 is not in any agent 2025-10-20 13:59:54,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62196205 info 2025-10-20 13:59:54,377 - INFO - Deleting VN ctest-vn-35005359 2025-10-20 13:59:54,904 - DEBUG - Response for deleting network () 2025-10-20 13:59:54,904 - DEBUG - Requesting: https://10.0.0.137:8082/routing-instance/bd41fa09-a175-4aee-bee4-3bab4012f7a4 2025-10-20 13:59:54,968 - DEBUG - Response Code: 404 2025-10-20 13:59:54,968 - DEBUG - Requesting: https://10.0.0.137:8082/domains 2025-10-20 13:59:55,028 - DEBUG - Requesting: https://10.0.0.137:8082/domain/359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:59:55,089 - DEBUG - Requesting: https://10.0.0.137:8082/project/994e0023-974e-413f-ba2e-8dd749a7b743 2025-10-20 13:59:55,169 - INFO - Validated that VN ctest-vn-35005359 is not found in API Server 2025-10-20 13:59:55,277 - DEBUG - VN ctest-vn-35005359 is not present in Agent 10.0.0.137 2025-10-20 13:59:55,277 - INFO - Validated that VN ctest-vn-35005359 is not in any agent 2025-10-20 13:59:55,435 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35005359 info 2025-10-20 13:59:55,817 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 13:59:55,818 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-20 13:59:55,818 - INFO - -------------------------------------------------------------------------------- 2025-10-20 13:59:56,585 - INFO - Deleted project: ctest-TestBasicPolicy-71960822, ID : 994e0023-974e-413f-ba2e-8dd749a7b743