2025-07-21 02:23:25,239 - INFO - Domain Default found not creating 2025-07-21 02:23:25,400 - INFO - Project ctest-TestBasicPolicy-04810560 not found, creating it 2025-07-21 02:23:25,886 - INFO - Created Project:ctest-TestBasicPolicy-04810560, ID : c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:27,374 - INFO - ================================================================================ 2025-07-21 02:23:27,375 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 02:23:27,375 - 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-07-21 02:23:27,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-21 02:23:27,629 - INFO - Initial checks done. Running the testcase now 2025-07-21 02:23:27,629 - INFO - 2025-07-21 02:23:28,264 - DEBUG - Response for create_network : {'network': {'id': '3c731e35-2c43-4699-97f7-27d218421a4c', 'name': 'ctest-vn-41032000', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-vn-41032000'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:23:28,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '02146b82-6aac-48c9-b9c5-6eec1137330b', 'name': '', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'network_id': '3c731e35-2c43-4699-97f7-27d218421a4c', 'ip_version': 4, 'cidr': '49.200.49.64/26', 'allocation_pools': [{'start': '49.200.49.66', 'end': '49.200.49.126'}], 'gateway_ip': '49.200.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.200.49.66', 'tags': [], 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa'}} 2025-07-21 02:23:28,479 - INFO - Created VN ctest-vn-41032000 2025-07-21 02:23:28,534 - DEBUG - VN ctest-vn-41032000 UUID is 3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:28,847 - DEBUG - Response for create_network : {'network': {'id': '8ac7dc7d-058a-46e4-9e31-f5b36d391794', 'name': 'ctest-vn-63335576', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-vn-63335576'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:23:29,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b7266ce-df70-4b59-aec6-b7a0aedd3a7f', 'name': '', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'network_id': '8ac7dc7d-058a-46e4-9e31-f5b36d391794', 'ip_version': 4, 'cidr': '82.119.38.0/26', 'allocation_pools': [{'start': '82.119.38.2', 'end': '82.119.38.62'}], 'gateway_ip': '82.119.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.119.38.2', 'tags': [], 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa'}} 2025-07-21 02:23:29,080 - INFO - Created VN ctest-vn-63335576 2025-07-21 02:23:29,134 - DEBUG - VN ctest-vn-63335576 UUID is 8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:29,255 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000, 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-04810560:ctest-vn-63335576, 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-07-21 02:23:29,582 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c731e35-2c43-4699-97f7-27d218421a4c', 'name': 'ctest-vn-41032000', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02146b82-6aac-48c9-b9c5-6eec1137330b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-vn-41032000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-policy-allow-all-28173531']], 'subnet_ipam': [{'subnet_cidr': '49.200.49.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:23:29,833 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ac7dc7d-058a-46e4-9e31-f5b36d391794', 'name': 'ctest-vn-63335576', 'tenant_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'project_id': 'c9d9bc21a93942e881d9eea3232e05fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b7266ce-df70-4b59-aec6-b7a0aedd3a7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-vn-63335576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-policy-allow-all-28173531']], 'subnet_ipam': [{'subnet_cidr': '82.119.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:23:30,014 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:30,325 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:30,358 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:30,372 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:30,446 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,471 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:30,480 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:30,489 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fcadfe31-cf5a-4e5d-84b9-1298521c74b1 2025-07-21 02:23:30,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:23:30,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,508 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:30,526 - INFO - Verified VN network id 9 for VN 3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,527 - INFO - Verifications in API Server for VN ctest-vn-41032000 passed 2025-07-21 02:23:30,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,539 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:30,547 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:30,556 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fcadfe31-cf5a-4e5d-84b9-1298521c74b1 2025-07-21 02:23:30,570 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04810560', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4355858478322108057', 'uuid-lslong': '10950264802278251084'}, 'enable': 'true', 'created': '2025-07-21T02:23:28', 'last-modified': '2025-07-21T02:23:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015058'} 2025-07-21 02:23:30,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 02:23:30,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41032000 passed 2025-07-21 02:23:30,578 - DEBUG - ====Verifying policy data for ctest-vn-41032000 in API_Server ====== 2025-07-21 02:23:30,578 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:30,585 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:30,601 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:30,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3c731e35-2c43-4699-97f7-27d218421a4c 2025-07-21 02:23:30,695 - DEBUG - ==>Verifying data for policy with id: 987334f9-fd05-4ccb-9465-818ed875a443, fqn: ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-policy-allow-all-28173531'] 2025-07-21 02:23:30,695 - INFO - VN ctest-vn-41032000 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:23:30,695 - DEBUG - Verifying the vn in opserver 2025-07-21 02:23:30,695 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000 virtual network link through opserver 10.0.0.254 2025-07-21 02:23:30,695 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 02:23:30,990 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 02:23:31,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000?flat'} 2025-07-21 02:23:31,055 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000 is found in opserver 2025-07-21 02:23:31,067 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:23:31,073 - DEBUG - VRF ids for VN ctest-vn-41032000: {} 2025-07-21 02:23:31,073 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:31,080 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:31,093 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:31,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,197 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:31,206 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:31,214 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1951521a-8bbb-4767-87eb-7f863d5ea136 2025-07-21 02:23:31,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:23:31,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:31,256 - INFO - Verified VN network id 10 for VN 8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,256 - INFO - Verifications in API Server for VN ctest-vn-63335576 passed 2025-07-21 02:23:31,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,267 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:31,275 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:31,284 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1951521a-8bbb-4767-87eb-7f863d5ea136 2025-07-21 02:23:31,299 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-63335576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04810560', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10000203927121446628', 'uuid-lslong': '11399162282831845268'}, 'enable': 'true', 'created': '2025-07-21T02:23:28', 'last-modified': '2025-07-21T02:23:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.493632'} 2025-07-21 02:23:31,306 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 02:23:31,306 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63335576 passed 2025-07-21 02:23:31,307 - DEBUG - ====Verifying policy data for ctest-vn-63335576 in API_Server ====== 2025-07-21 02:23:31,307 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:31,316 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:31,332 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:31,410 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8ac7dc7d-058a-46e4-9e31-f5b36d391794 2025-07-21 02:23:31,422 - DEBUG - ==>Verifying data for policy with id: 987334f9-fd05-4ccb-9465-818ed875a443, fqn: ['default-domain', 'ctest-TestBasicPolicy-04810560', 'ctest-policy-allow-all-28173531'] 2025-07-21 02:23:31,422 - INFO - VN ctest-vn-63335576 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 02:23:31,422 - DEBUG - Verifying the vn in opserver 2025-07-21 02:23:31,422 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-63335576 virtual network link through opserver 10.0.0.254 2025-07-21 02:23:31,422 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 02:23:31,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-63335576', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-63335576?flat'} 2025-07-21 02:23:31,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-63335576 is found in opserver 2025-07-21 02:23:31,447 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 02:23:31,453 - DEBUG - VRF ids for VN ctest-vn-63335576: {} 2025-07-21 02:23:31,516 - DEBUG - Services list from nova: [, , ] 2025-07-21 02:23:32,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3673-1) 2025-07-21 02:23:33,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3673-1) 2025-07-21 02:23:33,919 - INFO - Waiting for VM ctest-TestBasicPolicy-04810560-03594156 to be up.. 2025-07-21 02:23:34,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 02:23:39,096 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:23:39,096 - INFO - VM name : ctest-TestBasicPolicy-04810560-03594156 2025-07-21 02:23:39,178 - DEBUG - VM ctest-TestBasicPolicy-04810560-03594156 ID is 1eb82d2c-4481-4c81-b8f4-457dc76f963a 2025-07-21 02:23:39,201 - DEBUG - VM ctest-TestBasicPolicy-04810560-03594156 launched on Node cn-jenkins-deploy-platform-ansible-os-3673-1 2025-07-21 02:23:39,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1eb82d2c-4481-4c81-b8f4-457dc76f963a 2025-07-21 02:23:39,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a9b82bb-3177-4829-9cbe-12a1e949aefc 2025-07-21 02:23:42,588 - 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 1023ms') 2025-07-21 02:23:42,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04810560-03594156 failed! 2025-07-21 02:23:42,646 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04810560:ctest-vn-41032000 is 49.200.49.65 and allocation pool is NOT set 2025-07-21 02:23:44,711 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.521/2.569/4.618/2.048 ms') 2025-07-21 02:23:44,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04810560-03594156 passed 2025-07-21 02:23:44,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:44,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04810560-03594156, IP 49.200.49.67, Port 22 2025-07-21 02:23:45,023 - DEBUG - VM ctest-TestBasicPolicy-04810560-03594156 is ready for SSH connections 2025-07-21 02:23:45,023 - INFO - Waiting for VM ctest-TestBasicPolicy-04810560-94798971 to be up.. 2025-07-21 02:23:45,120 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:23:45,121 - INFO - VM name : ctest-TestBasicPolicy-04810560-94798971 2025-07-21 02:23:45,237 - DEBUG - VM ctest-TestBasicPolicy-04810560-94798971 ID is 4a189267-2b95-43e4-a4aa-eb549df4a4a8 2025-07-21 02:23:45,237 - DEBUG - VM ctest-TestBasicPolicy-04810560-94798971 launched on Node cn-jenkins-deploy-platform-ansible-os-3673-1 2025-07-21 02:23:45,350 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4a189267-2b95-43e4-a4aa-eb549df4a4a8 2025-07-21 02:23:45,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6316e6a8-db6d-4283-a8bb-78d367d3f151 2025-07-21 02:23:46,627 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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.243/2.865/4.488/1.622 ms') 2025-07-21 02:23:46,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04810560-94798971 passed 2025-07-21 02:23:46,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:46,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04810560-94798971, IP 82.119.38.3, Port 22 2025-07-21 02:23:46,946 - DEBUG - VM ctest-TestBasicPolicy-04810560-94798971 is ready for SSH connections 2025-07-21 02:23:46,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:46,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.119.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 02:23:46,946 - DEBUG - ping -s 56 -c 3 -W 1 82.119.38.3 2025-07-21 02:23:50,954 - DEBUG - PING 82.119.38.3 (82.119.38.3): 56 data bytes 64 bytes from 82.119.38.3: seq=0 ttl=63 time=3.909 ms 64 bytes from 82.119.38.3: seq=1 ttl=63 time=0.810 ms 64 bytes from 82.119.38.3: seq=2 ttl=63 time=0.892 ms --- 82.119.38.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.870/3.909 ms 2025-07-21 02:23:50,954 - INFO - Ping to IP 82.119.38.3 from VM ctest-TestBasicPolicy-04810560-03594156 passed 2025-07-21 02:23:51,142 - DEBUG - Policy Update Response {"network-policy": {"uuid": "987334f9-fd05-4ccb-9465-818ed875a443", "href": "http://10.0.0.254:8082/network-policy/987334f9-fd05-4ccb-9465-818ed875a443"}} 2025-07-21 02:23:51,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:51,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.119.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 02:23:51,142 - DEBUG - ping -s 56 -c 3 -W 1 82.119.38.3 2025-07-21 02:23:54,390 - DEBUG - PING 82.119.38.3 (82.119.38.3): 56 data bytes 64 bytes from 82.119.38.3: seq=0 ttl=63 time=1.561 ms --- 82.119.38.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.561/1.561/1.561 ms 2025-07-21 02:23:54,390 - WARNING - Ping to IP 82.119.38.3 from VM ctest-TestBasicPolicy-04810560-03594156 failed 2025-07-21 02:23:54,390 - INFO - Deleting VM ctest-TestBasicPolicy-04810560-94798971 2025-07-21 02:23:54,472 - INFO - Deleting VM ctest-TestBasicPolicy-04810560-03594156 2025-07-21 02:23:54,889 - INFO - Deleted policy ctest-policy-allow-all-28173531 2025-07-21 02:23:54,889 - INFO - Deleting VN ctest-vn-63335576 2025-07-21 02:23:54,938 - DEBUG - VN 8ac7dc7d-058a-46e4-9e31-f5b36d391794 still in use: Unable to complete operation on network 8ac7dc7d-058a-46e4-9e31-f5b36d391794. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67983ac5-e85f-4b79-a2ba-f8f15d0e2c87'] 2025-07-21 02:23:54,938 - WARNING - Deleting VN ctest-vn-63335576 failed..Will retry 2025-07-21 02:23:57,059 - DEBUG - Response for deleting network () 2025-07-21 02:23:57,059 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/60c6d485-0fd3-42be-aa63-381019b49cf3 2025-07-21 02:23:57,065 - DEBUG - Response Code: 404 2025-07-21 02:23:57,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:57,074 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:57,130 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:57,207 - INFO - Validated that VN ctest-vn-63335576 is not found in API Server 2025-07-21 02:23:57,220 - DEBUG - VN ctest-vn-63335576 is not present in Agent 10.0.0.254 2025-07-21 02:23:57,220 - INFO - Validated that VN ctest-vn-63335576 is not in any agent 2025-07-21 02:23:57,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63335576 info 2025-07-21 02:23:57,242 - INFO - Deleting VN ctest-vn-41032000 2025-07-21 02:23:57,382 - DEBUG - Response for deleting network () 2025-07-21 02:23:57,382 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1ce0e69d-46ed-4eea-a86e-d3412fbdf88d 2025-07-21 02:23:57,393 - DEBUG - Response Code: 404 2025-07-21 02:23:57,393 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 02:23:57,400 - DEBUG - Requesting: http://10.0.0.254:8082/domain/639b5bae-c70f-427c-98b7-e9f911b8621e 2025-07-21 02:23:57,456 - DEBUG - Requesting: http://10.0.0.254:8082/project/c9d9bc21-a939-42e8-81d9-eea3232e05fa 2025-07-21 02:23:57,539 - INFO - Validated that VN ctest-vn-41032000 is not found in API Server 2025-07-21 02:23:57,553 - DEBUG - VN ctest-vn-41032000 is not present in Agent 10.0.0.254 2025-07-21 02:23:57,553 - INFO - Validated that VN ctest-vn-41032000 is not in any agent 2025-07-21 02:23:57,573 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41032000 info 2025-07-21 02:23:57,828 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 02:23:57,828 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-21 02:23:57,828 - INFO - -------------------------------------------------------------------------------- 2025-07-21 02:23:58,523 - INFO - Deleted project: ctest-TestBasicPolicy-04810560, ID : c9d9bc21-a939-42e8-81d9-eea3232e05fa