2025-05-09 22:21:33,361 - INFO - Domain Default found not creating 2025-05-09 22:21:33,475 - INFO - Project ctest-TestBasicPolicy-30491574 not found, creating it 2025-05-09 22:21:33,951 - INFO - Created Project:ctest-TestBasicPolicy-30491574, ID : ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:21:35,210 - INFO - ================================================================================ 2025-05-09 22:21:35,211 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-09 22:21:35,211 - 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-05-09 22:21:35,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-05-09 22:21:35,465 - INFO - Initial checks done. Running the testcase now 2025-05-09 22:21:35,465 - INFO - 2025-05-09 22:21:35,957 - DEBUG - Response for create_network : {'network': {'id': 'f06bd6f0-0d6d-43be-9500-c633a8e45e95', 'name': 'ctest-vn-23663277', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-vn-23663277'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:36,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '77b477ca-f7f6-4013-bbc5-50a845711450', 'name': '', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'network_id': 'f06bd6f0-0d6d-43be-9500-c633a8e45e95', 'ip_version': 4, 'cidr': '35.53.122.192/26', 'allocation_pools': [{'start': '35.53.122.194', 'end': '35.53.122.254'}], 'gateway_ip': '35.53.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.53.122.194', 'tags': [], 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2'}} 2025-05-09 22:21:36,131 - INFO - Created VN ctest-vn-23663277 2025-05-09 22:21:36,187 - DEBUG - VN ctest-vn-23663277 UUID is f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:36,453 - DEBUG - Response for create_network : {'network': {'id': 'd4b1c2ae-5381-45a9-be80-625792709ede', 'name': 'ctest-vn-32955161', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-vn-32955161'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:36,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a1a8e04-5713-4106-87e1-d9f3d82b2c5c', 'name': '', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'network_id': 'd4b1c2ae-5381-45a9-be80-625792709ede', 'ip_version': 4, 'cidr': '133.240.157.0/26', 'allocation_pools': [{'start': '133.240.157.2', 'end': '133.240.157.62'}], 'gateway_ip': '133.240.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.240.157.2', 'tags': [], 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2'}} 2025-05-09 22:21:36,668 - INFO - Created VN ctest-vn-32955161 2025-05-09 22:21:36,718 - DEBUG - VN ctest-vn-32955161 UUID is d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:36,859 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277, 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-30491574:ctest-vn-32955161, 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-05-09 22:21:37,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f06bd6f0-0d6d-43be-9500-c633a8e45e95', 'name': 'ctest-vn-23663277', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77b477ca-f7f6-4013-bbc5-50a845711450'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-vn-23663277'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-policy-allow-all-84270088']], 'subnet_ipam': [{'subnet_cidr': '35.53.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:37,378 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4b1c2ae-5381-45a9-be80-625792709ede', 'name': 'ctest-vn-32955161', 'tenant_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'project_id': 'ccc3302bd44b41fd8c05f288cfdcf4d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a1a8e04-5713-4106-87e1-d9f3d82b2c5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-vn-32955161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-policy-allow-all-84270088']], 'subnet_ipam': [{'subnet_cidr': '133.240.157.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:21:37,539 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:21:37,803 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:21:37,829 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:21:37,845 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:21:37,923 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:37,934 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:37,942 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:21:37,948 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:21:37,954 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fbe20f84-7319-4c80-b266-00d603094743 2025-05-09 22:21:37,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-09 22:21:37,959 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:37,966 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:21:37,978 - INFO - Verified VN network id 9 for VN f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:37,978 - INFO - Verifications in API Server for VN ctest-vn-23663277 passed 2025-05-09 22:21:37,978 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:37,986 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:21:37,992 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:21:37,998 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fbe20f84-7319-4c80-b266-00d603094743 2025-05-09 22:21:38,009 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30491574', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17324176718116504510', 'uuid-lslong': '10736799436830432917'}, 'enable': 'true', 'created': '2025-05-09T22:21:35', 'last-modified': '2025-05-09T22:21:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890339'} 2025-05-09 22:21:38,015 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-09 22:21:38,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23663277 passed 2025-05-09 22:21:38,015 - DEBUG - ====Verifying policy data for ctest-vn-23663277 in API_Server ====== 2025-05-09 22:21:38,015 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:21:38,020 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:21:38,032 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:21:38,107 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f06bd6f0-0d6d-43be-9500-c633a8e45e95 2025-05-09 22:21:38,116 - DEBUG - ==>Verifying data for policy with id: 8fe3c42e-1299-4075-b10a-13346fe24702, fqn: ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-policy-allow-all-84270088'] 2025-05-09 22:21:38,116 - INFO - VN ctest-vn-23663277 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-09 22:21:38,116 - DEBUG - Verifying the vn in opserver 2025-05-09 22:21:38,116 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277 virtual network link through opserver 10.0.0.57 2025-05-09 22:21:38,116 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-09 22:21:38,375 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-09 22:21:38,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277?flat'} 2025-05-09 22:21:38,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277 is found in opserver 2025-05-09 22:21:38,433 - DEBUG - Do not have enough data to verify VN in agent 2025-05-09 22:21:38,438 - DEBUG - VRF ids for VN ctest-vn-23663277: {} 2025-05-09 22:21:38,438 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:21:38,443 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:21:38,454 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:21:38,532 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,543 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,551 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:21:38,559 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:21:38,565 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9678281d-db64-48b5-a328-27e583a55bdb 2025-05-09 22:21:38,572 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-09 22:21:38,572 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,582 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:21:38,596 - INFO - Verified VN network id 10 for VN d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,596 - INFO - Verifications in API Server for VN ctest-vn-32955161 passed 2025-05-09 22:21:38,596 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,606 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:21:38,613 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:21:38,620 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9678281d-db64-48b5-a328-27e583a55bdb 2025-05-09 22:21:38,633 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-32955161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30491574', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15326245060899587497', 'uuid-lslong': '13727079792483802846'}, 'enable': 'true', 'created': '2025-05-09T22:21:36', 'last-modified': '2025-05-09T22:21:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281209'} 2025-05-09 22:21:38,639 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-09 22:21:38,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32955161 passed 2025-05-09 22:21:38,639 - DEBUG - ====Verifying policy data for ctest-vn-32955161 in API_Server ====== 2025-05-09 22:21:38,639 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:21:38,644 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:21:38,654 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:21:38,730 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d4b1c2ae-5381-45a9-be80-625792709ede 2025-05-09 22:21:38,739 - DEBUG - ==>Verifying data for policy with id: 8fe3c42e-1299-4075-b10a-13346fe24702, fqn: ['default-domain', 'ctest-TestBasicPolicy-30491574', 'ctest-policy-allow-all-84270088'] 2025-05-09 22:21:38,739 - INFO - VN ctest-vn-32955161 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-09 22:21:38,739 - DEBUG - Verifying the vn in opserver 2025-05-09 22:21:38,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-32955161 virtual network link through opserver 10.0.0.57 2025-05-09 22:21:38,739 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-05-09 22:21:38,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-32955161', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-32955161?flat'} 2025-05-09 22:21:38,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-32955161 is found in opserver 2025-05-09 22:21:38,760 - DEBUG - Do not have enough data to verify VN in agent 2025-05-09 22:21:38,764 - DEBUG - VRF ids for VN ctest-vn-32955161: {} 2025-05-09 22:21:38,815 - DEBUG - Services list from nova: [, , ] 2025-05-09 22:21:39,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:21:41,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:21:41,043 - INFO - Waiting for VM ctest-TestBasicPolicy-30491574-61124861 to be up.. 2025-05-09 22:21:41,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-09 22:21:46,245 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:21:46,245 - INFO - VM name : ctest-TestBasicPolicy-30491574-61124861 2025-05-09 22:21:46,317 - DEBUG - VM ctest-TestBasicPolicy-30491574-61124861 ID is e16eba15-6aa0-4f79-8e95-726fc0e10eef 2025-05-09 22:21:46,333 - DEBUG - VM ctest-TestBasicPolicy-30491574-61124861 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:21:46,400 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e16eba15-6aa0-4f79-8e95-726fc0e10eef 2025-05-09 22:21:46,408 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c7df36e2-73ae-4bad-ac0f-8f476e403181 2025-05-09 22:21:49,649 - 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 1011ms') 2025-05-09 22:21:49,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30491574-61124861 failed! 2025-05-09 22:21:49,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30491574:ctest-vn-23663277 is 35.53.122.193 and allocation pool is NOT set 2025-05-09 22:21:51,768 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/2.545/4.718/2.172 ms') 2025-05-09 22:21:51,768 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30491574-61124861 passed 2025-05-09 22:21:51,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:51,923 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30491574-61124861, IP 35.53.122.195, Port 22 2025-05-09 22:21:52,078 - DEBUG - VM ctest-TestBasicPolicy-30491574-61124861 is ready for SSH connections 2025-05-09 22:21:52,078 - INFO - Waiting for VM ctest-TestBasicPolicy-30491574-71382279 to be up.. 2025-05-09 22:21:52,153 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:21:52,153 - INFO - VM name : ctest-TestBasicPolicy-30491574-71382279 2025-05-09 22:21:52,227 - DEBUG - VM ctest-TestBasicPolicy-30491574-71382279 ID is 730286ef-c6a4-4e5c-bd4e-831bd1e02356 2025-05-09 22:21:52,227 - DEBUG - VM ctest-TestBasicPolicy-30491574-71382279 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:21:52,302 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/730286ef-c6a4-4e5c-bd4e-831bd1e02356 2025-05-09 22:21:52,310 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bd650a16-2abc-479f-9a2c-a75ee7c50ad3 2025-05-09 22:21:53,543 - 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=3.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.508/1.848/3.189/1.340 ms') 2025-05-09 22:21:53,544 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30491574-71382279 passed 2025-05-09 22:21:53,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:53,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30491574-71382279, IP 133.240.157.3, Port 22 2025-05-09 22:21:53,859 - DEBUG - VM ctest-TestBasicPolicy-30491574-71382279 is ready for SSH connections 2025-05-09 22:21:53,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:53,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.240.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-09 22:21:53,859 - DEBUG - ping -s 56 -c 3 -W 1 133.240.157.3 2025-05-09 22:21:57,785 - DEBUG - PING 133.240.157.3 (133.240.157.3): 56 data bytes 64 bytes from 133.240.157.3: seq=0 ttl=63 time=2.922 ms 64 bytes from 133.240.157.3: seq=1 ttl=63 time=0.827 ms 64 bytes from 133.240.157.3: seq=2 ttl=63 time=0.730 ms --- 133.240.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.493/2.922 ms 2025-05-09 22:21:57,785 - INFO - Ping to IP 133.240.157.3 from VM ctest-TestBasicPolicy-30491574-61124861 passed 2025-05-09 22:21:57,966 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8fe3c42e-1299-4075-b10a-13346fe24702", "href": "http://10.0.0.57:8082/network-policy/8fe3c42e-1299-4075-b10a-13346fe24702"}} 2025-05-09 22:21:57,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:21:57,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.240.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-09 22:21:57,967 - DEBUG - ping -s 56 -c 3 -W 1 133.240.157.3 2025-05-09 22:22:01,153 - DEBUG - PING 133.240.157.3 (133.240.157.3): 56 data bytes --- 133.240.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-09 22:22:01,153 - WARNING - Ping to IP 133.240.157.3 from VM ctest-TestBasicPolicy-30491574-61124861 failed 2025-05-09 22:22:01,153 - INFO - Deleting VM ctest-TestBasicPolicy-30491574-71382279 2025-05-09 22:22:01,210 - INFO - Deleting VM ctest-TestBasicPolicy-30491574-61124861 2025-05-09 22:22:01,563 - INFO - Deleted policy ctest-policy-allow-all-84270088 2025-05-09 22:22:01,563 - INFO - Deleting VN ctest-vn-32955161 2025-05-09 22:22:01,601 - DEBUG - VN d4b1c2ae-5381-45a9-be80-625792709ede still in use: Unable to complete operation on network d4b1c2ae-5381-45a9-be80-625792709ede. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9d06a5c-4606-4b06-9018-9a750a5b6d2f'] 2025-05-09 22:22:01,602 - WARNING - Deleting VN ctest-vn-32955161 failed..Will retry 2025-05-09 22:22:03,691 - DEBUG - Response for deleting network () 2025-05-09 22:22:03,691 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a1acf481-be38-4b67-bfd1-2000e14a5211 2025-05-09 22:22:03,700 - DEBUG - Response Code: 404 2025-05-09 22:22:03,700 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:22:03,705 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:22:03,764 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:22:03,834 - INFO - Validated that VN ctest-vn-32955161 is not found in API Server 2025-05-09 22:22:03,843 - DEBUG - VN ctest-vn-32955161 is not present in Agent 10.0.0.57 2025-05-09 22:22:03,843 - INFO - Validated that VN ctest-vn-32955161 is not in any agent 2025-05-09 22:22:03,856 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32955161 info 2025-05-09 22:22:03,856 - INFO - Deleting VN ctest-vn-23663277 2025-05-09 22:22:03,938 - DEBUG - Response for deleting network () 2025-05-09 22:22:03,938 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c083305f-92cb-41bf-a197-12690e96fa3d 2025-05-09 22:22:03,945 - DEBUG - Response Code: 404 2025-05-09 22:22:03,945 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-05-09 22:22:03,950 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f09c14fd-0be3-494f-b2e0-4dcd6edfa931 2025-05-09 22:22:04,004 - DEBUG - Requesting: http://10.0.0.57:8082/project/ccc3302b-d44b-41fd-8c05-f288cfdcf4d2 2025-05-09 22:22:04,077 - INFO - Validated that VN ctest-vn-23663277 is not found in API Server 2025-05-09 22:22:04,087 - DEBUG - VN ctest-vn-23663277 is not present in Agent 10.0.0.57 2025-05-09 22:22:04,087 - INFO - Validated that VN ctest-vn-23663277 is not in any agent 2025-05-09 22:22:04,099 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23663277 info 2025-05-09 22:22:04,353 - DEBUG - No XMPP flaps were noticed during the test 2025-05-09 22:22:04,353 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-09 22:22:04,353 - INFO - -------------------------------------------------------------------------------- 2025-05-09 22:22:04,966 - INFO - Deleted project: ctest-TestBasicPolicy-30491574, ID : ccc3302b-d44b-41fd-8c05-f288cfdcf4d2