2025-07-23 13:34:48,709 - INFO - Domain Default found not creating 2025-07-23 13:34:48,931 - INFO - Project ctest-TestBasicPolicy-33217984 not found, creating it 2025-07-23 13:34:49,464 - INFO - Created Project:ctest-TestBasicPolicy-33217984, ID : 1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:34:51,090 - INFO - ================================================================================ 2025-07-23 13:34:51,091 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 13:34:51,091 - 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-23 13:34:51,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with 2025-07-23 13:34:51,368 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:34:51,368 - INFO - 2025-07-23 13:34:51,991 - DEBUG - Response for create_network : {'network': {'id': 'e30af060-cb0c-486f-bc81-7cc9b023febc', 'name': 'ctest-vn-19904232', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-vn-19904232'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:34:52,200 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a79c97ec-0f4e-49e3-bea8-8db5d49b71b7', 'name': '', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'network_id': 'e30af060-cb0c-486f-bc81-7cc9b023febc', 'ip_version': 4, 'cidr': '9.79.107.192/26', 'allocation_pools': [{'start': '9.79.107.194', 'end': '9.79.107.254'}], 'gateway_ip': '9.79.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.79.107.194', 'tags': [], 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f'}} 2025-07-23 13:34:52,227 - INFO - Created VN ctest-vn-19904232 2025-07-23 13:34:52,282 - DEBUG - VN ctest-vn-19904232 UUID is e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:52,625 - DEBUG - Response for create_network : {'network': {'id': '46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad', 'name': 'ctest-vn-95036589', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-vn-95036589'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:34:52,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '4af2a147-f453-4072-9da7-ac3cf43fe205', 'name': '', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'network_id': '46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad', 'ip_version': 4, 'cidr': '145.224.105.0/26', 'allocation_pools': [{'start': '145.224.105.2', 'end': '145.224.105.62'}], 'gateway_ip': '145.224.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.224.105.2', 'tags': [], 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f'}} 2025-07-23 13:34:52,848 - INFO - Created VN ctest-vn-95036589 2025-07-23 13:34:52,906 - DEBUG - VN ctest-vn-95036589 UUID is 46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:53,046 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232, 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-33217984:ctest-vn-95036589, 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-23 13:34:53,385 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e30af060-cb0c-486f-bc81-7cc9b023febc', 'name': 'ctest-vn-19904232', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a79c97ec-0f4e-49e3-bea8-8db5d49b71b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-vn-19904232'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-policy-allow-all-48662070']], 'subnet_ipam': [{'subnet_cidr': '9.79.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:34:53,699 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad', 'name': 'ctest-vn-95036589', 'tenant_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'project_id': '1a9f3aa31ca24d6292b4ce915c42dc0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4af2a147-f453-4072-9da7-ac3cf43fe205'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-vn-95036589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-policy-allow-all-48662070']], 'subnet_ipam': [{'subnet_cidr': '145.224.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:34:53,858 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:34:54,159 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:34:54,198 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:34:54,215 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:34:54,303 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,317 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,332 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:34:54,344 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:34:54,357 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a5f31bcf-df1e-4501-a57e-59d8a3955ea9 2025-07-23 13:34:54,366 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:34:54,366 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,379 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:34:54,400 - INFO - Verified VN network id 11 for VN e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,400 - INFO - Verifications in API Server for VN ctest-vn-19904232 passed 2025-07-23 13:34:54,401 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,414 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:34:54,423 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:34:54,433 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a5f31bcf-df1e-4501-a57e-59d8a3955ea9 2025-07-23 13:34:54,452 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33217984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16360152894890854511', 'uuid-lslong': '13583275156811546300'}, 'enable': 'true', 'created': '2025-07-23T13:34:51', 'last-modified': '2025-07-23T13:34:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.098753'} 2025-07-23 13:34:54,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:34:54,462 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19904232 passed 2025-07-23 13:34:54,462 - DEBUG - ====Verifying policy data for ctest-vn-19904232 in API_Server ====== 2025-07-23 13:34:54,462 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:34:54,470 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:34:54,487 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:34:54,562 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e30af060-cb0c-486f-bc81-7cc9b023febc 2025-07-23 13:34:54,574 - DEBUG - ==>Verifying data for policy with id: f60b105f-2adf-4384-b5a5-db849f15c46d, fqn: ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-policy-allow-all-48662070'] 2025-07-23 13:34:54,574 - INFO - VN ctest-vn-19904232 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:34:54,574 - DEBUG - Verifying the vn in opserver 2025-07-23 13:34:54,574 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232 virtual network link through opserver 10.0.0.56 2025-07-23 13:34:54,575 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-07-23 13:34:54,892 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-07-23 13:34:54,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232?flat'} 2025-07-23 13:34:54,972 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232 is found in opserver 2025-07-23 13:34:54,986 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:34:54,992 - DEBUG - VRF ids for VN ctest-vn-19904232: {} 2025-07-23 13:34:54,992 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:34:54,999 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:34:55,013 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:34:55,096 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,113 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,127 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:34:55,139 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:34:55,148 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d788fbf5-dc17-42db-83ec-e1c3180c78f8 2025-07-23 13:34:55,156 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:34:55,156 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,168 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:34:55,191 - INFO - Verified VN network id 12 for VN 46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,192 - INFO - Verifications in API Server for VN ctest-vn-95036589 passed 2025-07-23 13:34:55,193 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,209 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:34:55,221 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:34:55,230 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d788fbf5-dc17-42db-83ec-e1c3180c78f8 2025-07-23 13:34:55,245 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-95036589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33217984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5104682131740183197', 'uuid-lslong': '12212333733463779757'}, 'enable': 'true', 'created': '2025-07-23T13:34:52', 'last-modified': '2025-07-23T13:34:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.624091'} 2025-07-23 13:34:55,252 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:34:55,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95036589 passed 2025-07-23 13:34:55,253 - DEBUG - ====Verifying policy data for ctest-vn-95036589 in API_Server ====== 2025-07-23 13:34:55,253 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:34:55,260 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:34:55,275 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:34:55,357 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad 2025-07-23 13:34:55,372 - DEBUG - ==>Verifying data for policy with id: f60b105f-2adf-4384-b5a5-db849f15c46d, fqn: ['default-domain', 'ctest-TestBasicPolicy-33217984', 'ctest-policy-allow-all-48662070'] 2025-07-23 13:34:55,372 - INFO - VN ctest-vn-95036589 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:34:55,372 - DEBUG - Verifying the vn in opserver 2025-07-23 13:34:55,372 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-95036589 virtual network link through opserver 10.0.0.56 2025-07-23 13:34:55,372 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-07-23 13:34:55,386 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-95036589', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-95036589?flat'} 2025-07-23 13:34:55,386 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-95036589 is found in opserver 2025-07-23 13:34:55,399 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:34:55,405 - DEBUG - VRF ids for VN ctest-vn-95036589: {} 2025-07-23 13:34:55,483 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:34:56,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:34:57,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:34:57,905 - INFO - Waiting for VM ctest-TestBasicPolicy-33217984-14346977 to be up.. 2025-07-23 13:34:58,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:35:03,119 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:35:03,119 - INFO - VM name : ctest-TestBasicPolicy-33217984-14346977 2025-07-23 13:35:03,216 - DEBUG - VM ctest-TestBasicPolicy-33217984-14346977 ID is a0c5aec4-dcd2-4740-bb0c-fecf3c781e7c 2025-07-23 13:35:03,243 - DEBUG - VM ctest-TestBasicPolicy-33217984-14346977 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:35:03,339 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/a0c5aec4-dcd2-4740-bb0c-fecf3c781e7c 2025-07-23 13:35:03,356 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/adf74793-1399-41bc-904d-d0d97e89d942 2025-07-23 13:35:06,625 - 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-23 13:35:06,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33217984-14346977 failed! 2025-07-23 13:35:06,686 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33217984:ctest-vn-19904232 is 9.79.107.193 and allocation pool is NOT set 2025-07-23 13:35:08,752 - 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=9.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.109/5.363/9.618/4.254 ms') 2025-07-23 13:35:08,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33217984-14346977 passed 2025-07-23 13:35:08,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:35:08,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33217984-14346977, IP 9.79.107.195, Port 22 2025-07-23 13:35:09,081 - DEBUG - VM ctest-TestBasicPolicy-33217984-14346977 is ready for SSH connections 2025-07-23 13:35:09,081 - INFO - Waiting for VM ctest-TestBasicPolicy-33217984-69347100 to be up.. 2025-07-23 13:35:09,175 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:35:09,175 - INFO - VM name : ctest-TestBasicPolicy-33217984-69347100 2025-07-23 13:35:09,267 - DEBUG - VM ctest-TestBasicPolicy-33217984-69347100 ID is 94ce3355-2ef5-4d1a-bbc3-9240cd2b317d 2025-07-23 13:35:09,268 - DEBUG - VM ctest-TestBasicPolicy-33217984-69347100 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:35:09,398 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/94ce3355-2ef5-4d1a-bbc3-9240cd2b317d 2025-07-23 13:35:09,410 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/88b19069-6b53-4498-8202-97eaab3e77a0 2025-07-23 13:35:10,686 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.70 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 = 3.702/4.155/4.608/0.453 ms') 2025-07-23 13:35:10,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33217984-69347100 passed 2025-07-23 13:35:10,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:35:10,850 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33217984-69347100, IP 145.224.105.3, Port 22 2025-07-23 13:35:11,010 - DEBUG - VM ctest-TestBasicPolicy-33217984-69347100 is ready for SSH connections 2025-07-23 13:35:11,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:35:11,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.224.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:35:11,010 - DEBUG - ping -s 56 -c 3 -W 1 145.224.105.3 2025-07-23 13:35:15,095 - DEBUG - PING 145.224.105.3 (145.224.105.3): 56 data bytes 64 bytes from 145.224.105.3: seq=0 ttl=63 time=4.710 ms 64 bytes from 145.224.105.3: seq=1 ttl=63 time=1.702 ms 64 bytes from 145.224.105.3: seq=2 ttl=63 time=1.166 ms --- 145.224.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.166/2.526/4.710 ms 2025-07-23 13:35:15,095 - INFO - Ping to IP 145.224.105.3 from VM ctest-TestBasicPolicy-33217984-14346977 passed 2025-07-23 13:35:15,298 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f60b105f-2adf-4384-b5a5-db849f15c46d", "href": "http://10.0.0.56:8082/network-policy/f60b105f-2adf-4384-b5a5-db849f15c46d"}} 2025-07-23 13:35:15,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:35:15,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.224.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:35:15,298 - DEBUG - ping -s 56 -c 3 -W 1 145.224.105.3 2025-07-23 13:35:18,536 - DEBUG - PING 145.224.105.3 (145.224.105.3): 56 data bytes --- 145.224.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:35:18,536 - WARNING - Ping to IP 145.224.105.3 from VM ctest-TestBasicPolicy-33217984-14346977 failed 2025-07-23 13:35:18,536 - INFO - Deleting VM ctest-TestBasicPolicy-33217984-69347100 2025-07-23 13:35:18,623 - INFO - Deleting VM ctest-TestBasicPolicy-33217984-14346977 2025-07-23 13:35:19,059 - INFO - Deleted policy ctest-policy-allow-all-48662070 2025-07-23 13:35:19,059 - INFO - Deleting VN ctest-vn-95036589 2025-07-23 13:35:19,105 - DEBUG - VN 46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad still in use: Unable to complete operation on network 46d7795a-61a8-4a9d-a97a-ecd3ada0e9ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e0204ad-dcf1-47e1-a440-b3d2aebdc8c4'] 2025-07-23 13:35:19,105 - WARNING - Deleting VN ctest-vn-95036589 failed..Will retry 2025-07-23 13:35:21,216 - DEBUG - Response for deleting network () 2025-07-23 13:35:21,217 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6e5d0a31-3749-4a02-a16a-cb5cd3e058a2 2025-07-23 13:35:21,223 - DEBUG - Response Code: 404 2025-07-23 13:35:21,224 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:35:21,236 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:35:21,298 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:35:21,383 - INFO - Validated that VN ctest-vn-95036589 is not found in API Server 2025-07-23 13:35:21,395 - DEBUG - VN ctest-vn-95036589 is not present in Agent 10.0.0.56 2025-07-23 13:35:21,395 - INFO - Validated that VN ctest-vn-95036589 is not in any agent 2025-07-23 13:35:21,412 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95036589 info 2025-07-23 13:35:21,412 - INFO - Deleting VN ctest-vn-19904232 2025-07-23 13:35:21,534 - DEBUG - Response for deleting network () 2025-07-23 13:35:21,534 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/51f7ddca-58c2-45fa-8d0e-f24d252eb3e7 2025-07-23 13:35:21,544 - DEBUG - Response Code: 404 2025-07-23 13:35:21,545 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-07-23 13:35:21,552 - DEBUG - Requesting: http://10.0.0.56:8082/domain/36d184c2-7a48-46c3-8ecf-f335133cfb16 2025-07-23 13:35:21,612 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f 2025-07-23 13:35:21,695 - INFO - Validated that VN ctest-vn-19904232 is not found in API Server 2025-07-23 13:35:21,707 - DEBUG - VN ctest-vn-19904232 is not present in Agent 10.0.0.56 2025-07-23 13:35:21,707 - INFO - Validated that VN ctest-vn-19904232 is not in any agent 2025-07-23 13:35:21,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19904232 info 2025-07-23 13:35:21,986 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:35:21,986 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-23 13:35:21,986 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:35:22,713 - INFO - Deleted project: ctest-TestBasicPolicy-33217984, ID : 1a9f3aa3-1ca2-4d62-92b4-ce915c42dc0f