2025-10-19 18:59:29,724 - INFO - Reading existing Domain with UUID 9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 18:59:29,734 - INFO - Using existing domain ['admin_domain'](9b919512-b1f0-4532-a457-4be316848bb6) 2025-10-19 18:59:29,918 - INFO - Project ctest-TestBasicPolicy-09279628 not found, creating it 2025-10-19 18:59:30,455 - INFO - Created Project:ctest-TestBasicPolicy-09279628, ID : 374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 18:59:32,557 - INFO - ================================================================================ 2025-10-19 18:59:32,557 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-19 18:59:32,557 - 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-19 18:59:32,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '42'}} with 2025-10-19 18:59:32,955 - INFO - Initial checks done. Running the testcase now 2025-10-19 18:59:32,956 - INFO - 2025-10-19 18:59:33,762 - DEBUG - Response for create_network : {'network': {'id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'name': 'ctest-vn-28829778', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-28829778'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-19 18:59:33,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '9beab727-83fe-42ab-a8fa-769b910b73c1', 'name': '', 'tenant_id': '374e3c718885429187853de9907cc284', 'network_id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'ip_version': 4, 'cidr': '18.229.87.128/26', 'allocation_pools': [{'start': '18.229.87.130', 'end': '18.229.87.190'}], 'gateway_ip': '18.229.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:59:33.884881', 'updated_at': '2025-10-19T18:59:33.884881', 'dns_server_address': '18.229.87.130', 'tags': [], 'project_id': '374e3c718885429187853de9907cc284'}} 2025-10-19 18:59:34,047 - INFO - Created VN ctest-vn-28829778 2025-10-19 18:59:34,101 - DEBUG - VN ctest-vn-28829778 UUID is 91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:34,601 - DEBUG - Response for create_network : {'network': {'id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'name': 'ctest-vn-34771448', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-34771448'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-19 18:59:34,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '242218ff-af4c-42dc-be75-d75ca986983d', 'name': '', 'tenant_id': '374e3c718885429187853de9907cc284', 'network_id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'ip_version': 4, 'cidr': '141.8.191.128/26', 'allocation_pools': [{'start': '141.8.191.130', 'end': '141.8.191.190'}], 'gateway_ip': '141.8.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:59:34.717773', 'updated_at': '2025-10-19T18:59:34.717773', 'dns_server_address': '141.8.191.130', 'tags': [], 'project_id': '374e3c718885429187853de9907cc284'}} 2025-10-19 18:59:34,875 - INFO - Created VN ctest-vn-34771448 2025-10-19 18:59:34,929 - DEBUG - VN ctest-vn-34771448 UUID is d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:35,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778, 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-09279628:ctest-vn-34771448, 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-19 18:59:35,545 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'name': 'ctest-vn-28829778', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9beab727-83fe-42ab-a8fa-769b910b73c1'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-28829778'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']], 'subnet_ipam': [{'subnet_cidr': '18.229.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-19T18:59:33.689093', 'updated_at': '2025-10-19T18:59:33.897076'}} 2025-10-19 18:59:35,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'name': 'ctest-vn-34771448', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['242218ff-af4c-42dc-be75-d75ca986983d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-34771448'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']], 'subnet_ipam': [{'subnet_cidr': '141.8.191.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-19T18:59:34.525942', 'updated_at': '2025-10-19T18:59:34.730169'}} 2025-10-19 18:59:36,081 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 18:59:36,425 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 18:59:36,505 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 18:59:36,566 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 18:59:36,646 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:36,707 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:36,771 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 18:59:36,822 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 18:59:36,878 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/2cae2fd7-131e-418b-be48-7d2bb34e1bad 2025-10-19 18:59:36,954 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 18:59:36,954 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:37,012 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 18:59:37,085 - INFO - Verified VN network id 12 for VN 91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:37,086 - INFO - Verifications in API Server for VN ctest-vn-28829778 passed 2025-10-19 18:59:37,086 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:37,143 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 18:59:37,198 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 18:59:37,258 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/2cae2fd7-131e-418b-be48-7d2bb34e1bad 2025-10-19 18:59:37,362 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09279628', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10491489871831712755', 'uuid-lslong': '10169914621121483022'}, 'enable': 'true', 'created': '2025-10-19T18:59:33', 'last-modified': '2025-10-19T18:59:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.844935'} 2025-10-19 18:59:37,415 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 18:59:37,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28829778 passed 2025-10-19 18:59:37,415 - DEBUG - ====Verifying policy data for ctest-vn-28829778 in API_Server ====== 2025-10-19 18:59:37,415 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 18:59:37,469 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 18:59:37,526 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 18:59:37,602 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e 2025-10-19 18:59:37,658 - DEBUG - ==>Verifying data for policy with id: 267d2f9c-265b-4b5d-a336-e85226d43df3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633'] 2025-10-19 18:59:37,659 - INFO - VN ctest-vn-28829778 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 18:59:37,659 - DEBUG - Verifying the vn in opserver 2025-10-19 18:59:37,659 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778 virtual network link through opserver 10.0.0.38 2025-10-19 18:59:37,659 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 18:59:38,000 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 18:59:38,109 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778?flat'} 2025-10-19 18:59:38,109 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778 is found in opserver 2025-10-19 18:59:38,205 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 18:59:38,253 - DEBUG - VRF ids for VN ctest-vn-28829778: {} 2025-10-19 18:59:38,254 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 18:59:38,305 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 18:59:38,362 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 18:59:38,438 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:38,495 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:38,551 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 18:59:38,602 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 18:59:38,658 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/8c12643b-88bd-4e63-b3ad-382a69f86284 2025-10-19 18:59:38,710 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 18:59:38,710 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:38,762 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 18:59:38,825 - INFO - Verified VN network id 13 for VN d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:38,826 - INFO - Verifications in API Server for VN ctest-vn-34771448 passed 2025-10-19 18:59:38,826 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:38,879 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 18:59:38,930 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 18:59:38,982 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/8c12643b-88bd-4e63-b3ad-382a69f86284 2025-10-19 18:59:39,082 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09279628', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15556998503325450554', 'uuid-lslong': '13239402903305084140'}, 'enable': 'true', 'created': '2025-10-19T18:59:34', 'last-modified': '2025-10-19T18:59:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.202912'} 2025-10-19 18:59:39,130 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 18:59:39,130 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34771448 passed 2025-10-19 18:59:39,131 - DEBUG - ====Verifying policy data for ctest-vn-34771448 in API_Server ====== 2025-10-19 18:59:39,131 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 18:59:39,186 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 18:59:39,242 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 18:59:39,314 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec 2025-10-19 18:59:39,370 - DEBUG - ==>Verifying data for policy with id: 267d2f9c-265b-4b5d-a336-e85226d43df3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633'] 2025-10-19 18:59:39,371 - INFO - VN ctest-vn-34771448 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 18:59:39,371 - DEBUG - Verifying the vn in opserver 2025-10-19 18:59:39,371 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448 virtual network link through opserver 10.0.0.38 2025-10-19 18:59:39,371 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 18:59:39,425 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448?flat'} 2025-10-19 18:59:39,425 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448 is found in opserver 2025-10-19 18:59:39,525 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 18:59:39,577 - DEBUG - VRF ids for VN ctest-vn-34771448: {} 2025-10-19 18:59:39,641 - DEBUG - Services list from nova: [, , ] 2025-10-19 18:59:40,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-596-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-596-1) 2025-10-19 18:59:42,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-596-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-596-1) 2025-10-19 18:59:42,338 - INFO - Waiting for VM ctest-TestBasicPolicy-09279628-10399706 to be up.. 2025-10-19 18:59:42,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 18:59:47,651 - DEBUG - VM is in ACTIVE state now 2025-10-19 18:59:47,652 - INFO - VM name : ctest-TestBasicPolicy-09279628-10399706 2025-10-19 18:59:47,797 - DEBUG - VM ctest-TestBasicPolicy-09279628-10399706 ID is bcb47881-f3b8-41d8-99ae-b5f904c3ca27 2025-10-19 18:59:47,835 - DEBUG - VM ctest-TestBasicPolicy-09279628-10399706 launched on Node cn-jenkins-deploy-platform-juju-os-596-1 2025-10-19 18:59:47,989 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/bcb47881-f3b8-41d8-99ae-b5f904c3ca27 2025-10-19 18:59:48,042 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/f1e1ab59-f6a1-4ecd-8927-6595a1cc336b 2025-10-19 18:59:51,514 - 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 1027ms') 2025-10-19 18:59:51,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09279628-10399706 failed! 2025-10-19 18:59:51,569 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778 is 18.229.87.129 and allocation pool is NOT set 2025-10-19 18:59:53,654 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.593 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.593/1.802/3.012/1.209 ms') 2025-10-19 18:59:53,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09279628-10399706 passed 2025-10-19 18:59:53,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 18:59:53,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09279628-10399706, IP 18.229.87.131, Port 22 2025-10-19 18:59:54,016 - DEBUG - VM ctest-TestBasicPolicy-09279628-10399706 is ready for SSH connections 2025-10-19 18:59:54,016 - INFO - Waiting for VM ctest-TestBasicPolicy-09279628-58326192 to be up.. 2025-10-19 18:59:54,144 - DEBUG - VM is in ACTIVE state now 2025-10-19 18:59:54,144 - INFO - VM name : ctest-TestBasicPolicy-09279628-58326192 2025-10-19 18:59:54,273 - DEBUG - VM ctest-TestBasicPolicy-09279628-58326192 ID is 2f88fb70-8c39-45b9-a9d6-b200f213187b 2025-10-19 18:59:54,273 - DEBUG - VM ctest-TestBasicPolicy-09279628-58326192 launched on Node cn-jenkins-deploy-platform-juju-os-596-1 2025-10-19 18:59:54,399 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/2f88fb70-8c39-45b9-a9d6-b200f213187b 2025-10-19 18:59:54,454 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/ad7424bd-c40a-41cd-86dc-1dc9b84b4c44 2025-10-19 18:59:55,887 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.87 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 = 1.872/2.998/4.124/1.126 ms') 2025-10-19 18:59:55,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09279628-58326192 passed 2025-10-19 18:59:56,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 18:59:56,041 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09279628-58326192, IP 141.8.191.131, Port 22 2025-10-19 18:59:56,261 - DEBUG - VM ctest-TestBasicPolicy-09279628-58326192 is ready for SSH connections 2025-10-19 18:59:56,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 18:59:56,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.8.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 18:59:56,261 - DEBUG - ping -s 56 -c 3 -W 1 141.8.191.131 2025-10-19 19:00:00,352 - DEBUG - PING 141.8.191.131 (141.8.191.131): 56 data bytes 64 bytes from 141.8.191.131: seq=0 ttl=63 time=4.585 ms 64 bytes from 141.8.191.131: seq=1 ttl=63 time=0.853 ms 64 bytes from 141.8.191.131: seq=2 ttl=63 time=1.216 ms --- 141.8.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.218/4.585 ms 2025-10-19 19:00:00,352 - INFO - Ping to IP 141.8.191.131 from VM ctest-TestBasicPolicy-09279628-10399706 passed 2025-10-19 19:00:00,545 - DEBUG - Policy Update Response {"network-policy": {"uuid": "267d2f9c-265b-4b5d-a336-e85226d43df3", "href": "https://10.0.0.38:8082/network-policy/267d2f9c-265b-4b5d-a336-e85226d43df3"}} 2025-10-19 19:00:00,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 19:00:00,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.8.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 19:00:00,545 - DEBUG - ping -s 56 -c 3 -W 1 141.8.191.131 2025-10-19 19:00:03,755 - DEBUG - PING 141.8.191.131 (141.8.191.131): 56 data bytes --- 141.8.191.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 19:00:03,755 - WARNING - Ping to IP 141.8.191.131 from VM ctest-TestBasicPolicy-09279628-10399706 failed 2025-10-19 19:00:03,755 - INFO - Deleting VM ctest-TestBasicPolicy-09279628-58326192 2025-10-19 19:00:03,857 - INFO - Deleting VM ctest-TestBasicPolicy-09279628-10399706 2025-10-19 19:00:04,606 - INFO - Deleted policy ctest-policy-allow-all-22051633 2025-10-19 19:00:04,606 - INFO - Deleting VN ctest-vn-34771448 2025-10-19 19:00:04,762 - DEBUG - VN d7e58fb6-d9ff-413a-b7bb-cecb91c65cec still in use: Unable to complete operation on network d7e58fb6-d9ff-413a-b7bb-cecb91c65cec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6a6e16d-640a-4508-8eb5-d47041ca6582'] 2025-10-19 19:00:04,762 - WARNING - Deleting VN ctest-vn-34771448 failed..Will retry 2025-10-19 19:00:06,933 - DEBUG - Response for deleting network () 2025-10-19 19:00:06,934 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074 2025-10-19 19:00:06,989 - DEBUG - Response Code: 404 2025-10-19 19:00:06,989 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 19:00:07,041 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 19:00:07,098 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 19:00:07,178 - INFO - Validated that VN ctest-vn-34771448 is not found in API Server 2025-10-19 19:00:07,281 - DEBUG - VN ctest-vn-34771448 is not present in Agent 10.0.0.38 2025-10-19 19:00:07,281 - INFO - Validated that VN ctest-vn-34771448 is not in any agent 2025-10-19 19:00:07,430 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34771448 info 2025-10-19 19:00:07,430 - INFO - Deleting VN ctest-vn-28829778 2025-10-19 19:00:07,590 - DEBUG - Response for deleting network () 2025-10-19 19:00:07,590 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a 2025-10-19 19:00:07,645 - DEBUG - Response Code: 404 2025-10-19 19:00:07,645 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-19 19:00:07,698 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6 2025-10-19 19:00:07,758 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284 2025-10-19 19:00:07,835 - INFO - Validated that VN ctest-vn-28829778 is not found in API Server 2025-10-19 19:00:07,933 - DEBUG - VN ctest-vn-28829778 is not present in Agent 10.0.0.38 2025-10-19 19:00:07,934 - INFO - Validated that VN ctest-vn-28829778 is not in any agent 2025-10-19 19:00:08,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28829778 info 2025-10-19 19:00:08,474 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 19:00:08,474 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-19 19:00:08,474 - INFO - -------------------------------------------------------------------------------- 2025-10-19 19:00:09,209 - INFO - Deleted project: ctest-TestBasicPolicy-09279628, ID : 374e3c71-8885-4291-8785-3de9907cc284