2025-11-04 18:08:16,678 - INFO - Domain Default found not creating 2025-11-04 18:08:16,814 - INFO - Project ctest-TestBasicPolicy-00172088 not found, creating it 2025-11-04 18:08:17,226 - INFO - Created Project:ctest-TestBasicPolicy-00172088, ID : 1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:18,934 - INFO - ================================================================================ 2025-11-04 18:08:18,934 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 18:08:18,934 - 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-11-04 18:08:19,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-11-04 18:08:19,188 - INFO - Initial checks done. Running the testcase now 2025-11-04 18:08:19,188 - INFO - 2025-11-04 18:08:19,719 - DEBUG - Response for create_network : {'network': {'id': '53a42672-5766-49f6-9929-05249b1aa4d5', 'name': 'ctest-vn-85335927', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'project_id': '1167ca09122c4c49b7cc1ddaee97969c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-vn-85335927'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:08:19,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f24d63-e81d-4319-a673-0a6f9c32748d', 'name': '', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'network_id': '53a42672-5766-49f6-9929-05249b1aa4d5', 'ip_version': 4, 'cidr': '146.224.236.64/26', 'allocation_pools': [{'start': '146.224.236.66', 'end': '146.224.236.126'}], 'gateway_ip': '146.224.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.224.236.66', 'tags': [], 'project_id': '1167ca09122c4c49b7cc1ddaee97969c'}} 2025-11-04 18:08:19,942 - INFO - Created VN ctest-vn-85335927 2025-11-04 18:08:19,995 - DEBUG - VN ctest-vn-85335927 UUID is 53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:20,321 - DEBUG - Response for create_network : {'network': {'id': '3a00d1dd-de2e-4df5-840d-c2323e8bdf5a', 'name': 'ctest-vn-99145068', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'project_id': '1167ca09122c4c49b7cc1ddaee97969c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-vn-99145068'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:08:20,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '153e0947-4455-46c4-8d52-8b70373c1d61', 'name': '', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'network_id': '3a00d1dd-de2e-4df5-840d-c2323e8bdf5a', 'ip_version': 4, 'cidr': '65.57.125.192/26', 'allocation_pools': [{'start': '65.57.125.194', 'end': '65.57.125.254'}], 'gateway_ip': '65.57.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.57.125.194', 'tags': [], 'project_id': '1167ca09122c4c49b7cc1ddaee97969c'}} 2025-11-04 18:08:20,488 - INFO - Created VN ctest-vn-99145068 2025-11-04 18:08:20,539 - DEBUG - VN ctest-vn-99145068 UUID is 3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:20,691 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927, 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-00172088:ctest-vn-99145068, 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-11-04 18:08:20,982 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53a42672-5766-49f6-9929-05249b1aa4d5', 'name': 'ctest-vn-85335927', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'project_id': '1167ca09122c4c49b7cc1ddaee97969c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57f24d63-e81d-4319-a673-0a6f9c32748d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-vn-85335927'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-policy-allow-all-35842865']], 'subnet_ipam': [{'subnet_cidr': '146.224.236.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:08:21,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a00d1dd-de2e-4df5-840d-c2323e8bdf5a', 'name': 'ctest-vn-99145068', 'tenant_id': '1167ca09122c4c49b7cc1ddaee97969c', 'project_id': '1167ca09122c4c49b7cc1ddaee97969c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['153e0947-4455-46c4-8d52-8b70373c1d61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-vn-99145068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-policy-allow-all-35842865']], 'subnet_ipam': [{'subnet_cidr': '65.57.125.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:08:21,363 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:21,652 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:21,678 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:21,688 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:21,755 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,764 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,772 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:21,778 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:21,783 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ef8f283b-6827-43c6-ab8e-70ae5c8d3fa1 2025-11-04 18:08:21,788 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 18:08:21,788 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,795 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:21,807 - INFO - Verified VN network id 10 for VN 53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,807 - INFO - Verifications in API Server for VN ctest-vn-85335927 passed 2025-11-04 18:08:21,807 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,815 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:21,821 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:21,826 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ef8f283b-6827-43c6-ab8e-70ae5c8d3fa1 2025-11-04 18:08:21,837 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00172088', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6026984473863014902', 'uuid-lslong': '11036358016627287253'}, 'enable': 'true', 'created': '2025-11-04T18:08:19', 'last-modified': '2025-11-04T18:08:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876362'} 2025-11-04 18:08:21,844 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 18:08:21,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85335927 passed 2025-11-04 18:08:21,844 - DEBUG - ====Verifying policy data for ctest-vn-85335927 in API_Server ====== 2025-11-04 18:08:21,845 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:21,849 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:21,858 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:21,930 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/53a42672-5766-49f6-9929-05249b1aa4d5 2025-11-04 18:08:21,944 - DEBUG - ==>Verifying data for policy with id: 1a809976-a4e9-41c6-9b2c-0061d9904b84, fqn: ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-policy-allow-all-35842865'] 2025-11-04 18:08:21,944 - INFO - VN ctest-vn-85335927 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 18:08:21,944 - DEBUG - Verifying the vn in opserver 2025-11-04 18:08:21,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927 virtual network link through opserver 10.0.0.49 2025-11-04 18:08:21,944 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 18:08:22,234 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 18:08:22,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927?flat'} 2025-11-04 18:08:22,285 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927 is found in opserver 2025-11-04 18:08:22,294 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 18:08:22,298 - DEBUG - VRF ids for VN ctest-vn-85335927: {} 2025-11-04 18:08:22,298 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:22,303 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:22,312 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:22,379 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,390 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,398 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:22,404 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:22,410 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/dda2f28b-5d00-4a6f-a027-55888f737cb7 2025-11-04 18:08:22,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 18:08:22,415 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,422 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:22,435 - INFO - Verified VN network id 11 for VN 3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,435 - INFO - Verifications in API Server for VN ctest-vn-99145068 passed 2025-11-04 18:08:22,435 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,442 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:22,447 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:22,453 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/dda2f28b-5d00-4a6f-a027-55888f737cb7 2025-11-04 18:08:22,462 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-99145068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00172088', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4179571205045374453', 'uuid-lslong': '9515475108757233498'}, 'enable': 'true', 'created': '2025-11-04T18:08:20', 'last-modified': '2025-11-04T18:08:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.276734'} 2025-11-04 18:08:22,467 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 18:08:22,467 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99145068 passed 2025-11-04 18:08:22,467 - DEBUG - ====Verifying policy data for ctest-vn-99145068 in API_Server ====== 2025-11-04 18:08:22,467 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:22,472 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:22,484 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:22,552 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3a00d1dd-de2e-4df5-840d-c2323e8bdf5a 2025-11-04 18:08:22,560 - DEBUG - ==>Verifying data for policy with id: 1a809976-a4e9-41c6-9b2c-0061d9904b84, fqn: ['default-domain', 'ctest-TestBasicPolicy-00172088', 'ctest-policy-allow-all-35842865'] 2025-11-04 18:08:22,560 - INFO - VN ctest-vn-99145068 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 18:08:22,560 - DEBUG - Verifying the vn in opserver 2025-11-04 18:08:22,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-99145068 virtual network link through opserver 10.0.0.49 2025-11-04 18:08:22,560 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 18:08:22,569 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-99145068', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-99145068?flat'} 2025-11-04 18:08:22,569 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-99145068 is found in opserver 2025-11-04 18:08:22,577 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 18:08:22,582 - DEBUG - VRF ids for VN ctest-vn-99145068: {} 2025-11-04 18:08:22,637 - DEBUG - Services list from nova: [, , ] 2025-11-04 18:08:23,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1) 2025-11-04 18:08:24,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1) 2025-11-04 18:08:24,685 - INFO - Waiting for VM ctest-TestBasicPolicy-00172088-64398740 to be up.. 2025-11-04 18:08:24,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 18:08:29,835 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:08:29,835 - INFO - VM name : ctest-TestBasicPolicy-00172088-64398740 2025-11-04 18:08:29,905 - DEBUG - VM ctest-TestBasicPolicy-00172088-64398740 ID is b8ebf2f0-cb57-455d-9564-dffc2b9011f9 2025-11-04 18:08:29,922 - DEBUG - VM ctest-TestBasicPolicy-00172088-64398740 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1 2025-11-04 18:08:30,001 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b8ebf2f0-cb57-455d-9564-dffc2b9011f9 2025-11-04 18:08:30,008 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5345bd47-223e-464e-96c8-25ed65a134f7 2025-11-04 18:08:33,252 - 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 1002ms') 2025-11-04 18:08:33,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00172088-64398740 failed! 2025-11-04 18:08:33,307 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00172088:ctest-vn-85335927 is 146.224.236.65 and allocation pool is NOT set 2025-11-04 18:08:35,365 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.799 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.799/2.995/5.192/2.196 ms') 2025-11-04 18:08:35,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00172088-64398740 passed 2025-11-04 18:08:35,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:08:35,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00172088-64398740, IP 146.224.236.67, Port 22 2025-11-04 18:08:35,666 - DEBUG - VM ctest-TestBasicPolicy-00172088-64398740 is ready for SSH connections 2025-11-04 18:08:35,666 - INFO - Waiting for VM ctest-TestBasicPolicy-00172088-98725290 to be up.. 2025-11-04 18:08:35,739 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:08:35,739 - INFO - VM name : ctest-TestBasicPolicy-00172088-98725290 2025-11-04 18:08:35,804 - DEBUG - VM ctest-TestBasicPolicy-00172088-98725290 ID is df2d71f4-fa11-4cf2-91ca-9a8b68ce0e07 2025-11-04 18:08:35,804 - DEBUG - VM ctest-TestBasicPolicy-00172088-98725290 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1 2025-11-04 18:08:35,868 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/df2d71f4-fa11-4cf2-91ca-9a8b68ce0e07 2025-11-04 18:08:35,876 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f6ca4a17-1e70-4603-8045-15a802793274 2025-11-04 18:08:37,114 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.321/1.504/2.688/1.183 ms') 2025-11-04 18:08:37,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00172088-98725290 passed 2025-11-04 18:08:37,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:08:37,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00172088-98725290, IP 65.57.125.195, Port 22 2025-11-04 18:08:37,414 - DEBUG - VM ctest-TestBasicPolicy-00172088-98725290 is ready for SSH connections 2025-11-04 18:08:37,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:08:37,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.57.125.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:08:37,414 - DEBUG - ping -s 56 -c 3 -W 1 65.57.125.195 2025-11-04 18:08:41,445 - DEBUG - PING 65.57.125.195 (65.57.125.195): 56 data bytes 64 bytes from 65.57.125.195: seq=0 ttl=63 time=3.915 ms 64 bytes from 65.57.125.195: seq=1 ttl=63 time=0.934 ms 64 bytes from 65.57.125.195: seq=2 ttl=63 time=0.916 ms --- 65.57.125.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.921/3.915 ms 2025-11-04 18:08:41,445 - INFO - Ping to IP 65.57.125.195 from VM ctest-TestBasicPolicy-00172088-64398740 passed 2025-11-04 18:08:41,623 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a809976-a4e9-41c6-9b2c-0061d9904b84", "href": "http://10.0.0.49:8082/network-policy/1a809976-a4e9-41c6-9b2c-0061d9904b84"}} 2025-11-04 18:08:41,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:08:41,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.57.125.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 18:08:41,623 - DEBUG - ping -s 56 -c 3 -W 1 65.57.125.195 2025-11-04 18:08:44,839 - DEBUG - PING 65.57.125.195 (65.57.125.195): 56 data bytes --- 65.57.125.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 18:08:44,839 - WARNING - Ping to IP 65.57.125.195 from VM ctest-TestBasicPolicy-00172088-64398740 failed 2025-11-04 18:08:44,839 - INFO - Deleting VM ctest-TestBasicPolicy-00172088-98725290 2025-11-04 18:08:44,910 - INFO - Deleting VM ctest-TestBasicPolicy-00172088-64398740 2025-11-04 18:08:45,271 - INFO - Deleted policy ctest-policy-allow-all-35842865 2025-11-04 18:08:45,271 - INFO - Deleting VN ctest-vn-99145068 2025-11-04 18:08:45,302 - DEBUG - VN 3a00d1dd-de2e-4df5-840d-c2323e8bdf5a still in use: Unable to complete operation on network 3a00d1dd-de2e-4df5-840d-c2323e8bdf5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83306136-a940-4efa-ba90-1d0b441445b2'] 2025-11-04 18:08:45,303 - WARNING - Deleting VN ctest-vn-99145068 failed..Will retry 2025-11-04 18:08:47,398 - DEBUG - Response for deleting network () 2025-11-04 18:08:47,398 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c1ffaa24-c8a2-424b-a61a-8ba54abd7ccc 2025-11-04 18:08:47,404 - DEBUG - Response Code: 404 2025-11-04 18:08:47,404 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:47,409 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:47,459 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:47,529 - INFO - Validated that VN ctest-vn-99145068 is not found in API Server 2025-11-04 18:08:47,537 - DEBUG - VN ctest-vn-99145068 is not present in Agent 10.0.0.49 2025-11-04 18:08:47,538 - INFO - Validated that VN ctest-vn-99145068 is not in any agent 2025-11-04 18:08:47,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99145068 info 2025-11-04 18:08:47,550 - INFO - Deleting VN ctest-vn-85335927 2025-11-04 18:08:47,644 - DEBUG - Response for deleting network () 2025-11-04 18:08:47,645 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d7c7d9bd-6a31-4212-9d43-10915f185b9c 2025-11-04 18:08:47,653 - DEBUG - Response Code: 404 2025-11-04 18:08:47,653 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 18:08:47,658 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b7faeeb1-f827-4283-931f-654feb0d6647 2025-11-04 18:08:47,717 - DEBUG - Requesting: http://10.0.0.49:8082/project/1167ca09-122c-4c49-b7cc-1ddaee97969c 2025-11-04 18:08:47,789 - INFO - Validated that VN ctest-vn-85335927 is not found in API Server 2025-11-04 18:08:47,800 - DEBUG - VN ctest-vn-85335927 is not present in Agent 10.0.0.49 2025-11-04 18:08:47,800 - INFO - Validated that VN ctest-vn-85335927 is not in any agent 2025-11-04 18:08:47,814 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85335927 info 2025-11-04 18:08:48,068 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:08:48,068 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-04 18:08:48,068 - INFO - -------------------------------------------------------------------------------- 2025-11-04 18:08:48,738 - INFO - Deleted project: ctest-TestBasicPolicy-00172088, ID : 1167ca09-122c-4c49-b7cc-1ddaee97969c