2025-02-13 09:30:42,689 - INFO - Domain Default found not creating 2025-02-13 09:30:42,894 - INFO - Project ctest-TestBasicPolicy-36320185 not found, creating it 2025-02-13 09:30:43,439 - INFO - Created Project:ctest-TestBasicPolicy-36320185, ID : 56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:30:45,124 - INFO - ================================================================================ 2025-02-13 09:30:45,124 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 09:30:45,124 - 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-02-13 09:30:45,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.6': '0'}} with 2025-02-13 09:30:45,398 - INFO - Initial checks done. Running the testcase now 2025-02-13 09:30:45,398 - INFO - 2025-02-13 09:30:46,040 - DEBUG - Response for create_network : {'network': {'id': '82d7c41b-d410-434e-8982-052cb8ce4c15', 'name': 'ctest-vn-90567339', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'project_id': '56a6809c46684d5abd4720f998be5f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-vn-90567339'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 09:30:46,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '1103b1e4-5c65-47e7-8fd8-b4fd07f97be3', 'name': '', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'network_id': '82d7c41b-d410-434e-8982-052cb8ce4c15', 'ip_version': 4, 'cidr': '6.5.74.64/26', 'allocation_pools': [{'start': '6.5.74.66', 'end': '6.5.74.126'}], 'gateway_ip': '6.5.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.5.74.66', 'tags': [], 'project_id': '56a6809c46684d5abd4720f998be5f46'}} 2025-02-13 09:30:46,245 - INFO - Created VN ctest-vn-90567339 2025-02-13 09:30:46,303 - DEBUG - VN ctest-vn-90567339 UUID is 82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:46,660 - DEBUG - Response for create_network : {'network': {'id': '07869b67-387b-45a0-a8ba-a347a9cfd833', 'name': 'ctest-vn-14936689', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'project_id': '56a6809c46684d5abd4720f998be5f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-vn-14936689'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 09:30:46,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '006d954a-3dfb-41dc-b56f-cd84867e8b58', 'name': '', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'network_id': '07869b67-387b-45a0-a8ba-a347a9cfd833', 'ip_version': 4, 'cidr': '42.186.231.192/26', 'allocation_pools': [{'start': '42.186.231.194', 'end': '42.186.231.254'}], 'gateway_ip': '42.186.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.186.231.194', 'tags': [], 'project_id': '56a6809c46684d5abd4720f998be5f46'}} 2025-02-13 09:30:46,887 - INFO - Created VN ctest-vn-14936689 2025-02-13 09:30:46,943 - DEBUG - VN ctest-vn-14936689 UUID is 07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:47,090 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339, 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-36320185:ctest-vn-14936689, 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-02-13 09:30:47,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82d7c41b-d410-434e-8982-052cb8ce4c15', 'name': 'ctest-vn-90567339', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'project_id': '56a6809c46684d5abd4720f998be5f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1103b1e4-5c65-47e7-8fd8-b4fd07f97be3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-vn-90567339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-policy-allow-all-19627105']], 'subnet_ipam': [{'subnet_cidr': '6.5.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 09:30:47,719 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07869b67-387b-45a0-a8ba-a347a9cfd833', 'name': 'ctest-vn-14936689', 'tenant_id': '56a6809c46684d5abd4720f998be5f46', 'project_id': '56a6809c46684d5abd4720f998be5f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['006d954a-3dfb-41dc-b56f-cd84867e8b58'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-vn-14936689'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-policy-allow-all-19627105']], 'subnet_ipam': [{'subnet_cidr': '42.186.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 09:30:47,903 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:30:48,212 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:30:48,249 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:30:48,271 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:30:48,364 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,384 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,399 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:30:48,413 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:30:48,463 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/0142b64f-5772-4fa7-af8c-1dd5bac53138 2025-02-13 09:30:48,475 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 09:30:48,475 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,490 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:30:48,511 - INFO - Verified VN network id 8 for VN 82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,512 - INFO - Verifications in API Server for VN ctest-vn-90567339 passed 2025-02-13 09:30:48,512 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,529 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:30:48,540 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:30:48,551 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/0142b64f-5772-4fa7-af8c-1dd5bac53138 2025-02-13 09:30:48,568 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36320185', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9428219968724419406', 'uuid-lslong': '9908487819805740053'}, 'enable': 'true', 'created': '2025-02-13T09:30:46', 'last-modified': '2025-02-13T09:30:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.163572'} 2025-02-13 09:30:48,576 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 09:30:48,576 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90567339 passed 2025-02-13 09:30:48,577 - DEBUG - ====Verifying policy data for ctest-vn-90567339 in API_Server ====== 2025-02-13 09:30:48,577 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:30:48,585 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:30:48,610 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:30:48,692 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/82d7c41b-d410-434e-8982-052cb8ce4c15 2025-02-13 09:30:48,706 - DEBUG - ==>Verifying data for policy with id: 04e87c3f-9ea3-4c2b-8896-3f052ffac069, fqn: ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-policy-allow-all-19627105'] 2025-02-13 09:30:48,706 - INFO - VN ctest-vn-90567339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 09:30:48,706 - DEBUG - Verifying the vn in opserver 2025-02-13 09:30:48,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339 virtual network link through opserver 10.0.0.30 2025-02-13 09:30:48,706 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 09:30:49,025 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 09:30:49,116 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339?flat'} 2025-02-13 09:30:49,116 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339 is found in opserver 2025-02-13 09:30:49,133 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 09:30:49,144 - DEBUG - VRF ids for VN ctest-vn-90567339: {} 2025-02-13 09:30:49,144 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:30:49,152 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:30:49,170 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:30:49,260 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,278 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,294 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:30:49,306 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:30:49,317 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/15115fca-974b-486b-9a27-5505ca8b08f6 2025-02-13 09:30:49,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 09:30:49,328 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,346 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:30:49,370 - INFO - Verified VN network id 9 for VN 07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,370 - INFO - Verifications in API Server for VN ctest-vn-14936689 passed 2025-02-13 09:30:49,370 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,384 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:30:49,397 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:30:49,409 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/15115fca-974b-486b-9a27-5505ca8b08f6 2025-02-13 09:30:49,426 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-14936689', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36320185', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '542291672776263072', 'uuid-lslong': '12158209672227051571'}, 'enable': 'true', 'created': '2025-02-13T09:30:46', 'last-modified': '2025-02-13T09:30:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.743283'} 2025-02-13 09:30:49,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 09:30:49,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14936689 passed 2025-02-13 09:30:49,437 - DEBUG - ====Verifying policy data for ctest-vn-14936689 in API_Server ====== 2025-02-13 09:30:49,437 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:30:49,446 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:30:49,462 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:30:49,545 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/07869b67-387b-45a0-a8ba-a347a9cfd833 2025-02-13 09:30:49,558 - DEBUG - ==>Verifying data for policy with id: 04e87c3f-9ea3-4c2b-8896-3f052ffac069, fqn: ['default-domain', 'ctest-TestBasicPolicy-36320185', 'ctest-policy-allow-all-19627105'] 2025-02-13 09:30:49,558 - INFO - VN ctest-vn-14936689 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 09:30:49,558 - DEBUG - Verifying the vn in opserver 2025-02-13 09:30:49,558 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-14936689 virtual network link through opserver 10.0.0.30 2025-02-13 09:30:49,558 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 09:30:49,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-14936689', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-14936689?flat'} 2025-02-13 09:30:49,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-14936689 is found in opserver 2025-02-13 09:30:49,589 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 09:30:49,596 - DEBUG - VRF ids for VN ctest-vn-14936689: {} 2025-02-13 09:30:49,683 - DEBUG - Services list from nova: [, , ] 2025-02-13 09:30:50,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1) 2025-02-13 09:30:52,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1) 2025-02-13 09:30:52,336 - INFO - Waiting for VM ctest-TestBasicPolicy-36320185-41194291 to be up.. 2025-02-13 09:30:52,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 09:30:57,562 - DEBUG - VM is in ACTIVE state now 2025-02-13 09:30:57,562 - INFO - VM name : ctest-TestBasicPolicy-36320185-41194291 2025-02-13 09:30:57,671 - DEBUG - VM ctest-TestBasicPolicy-36320185-41194291 ID is 084e24ca-2d06-4109-abc6-161d49e1da5b 2025-02-13 09:30:57,701 - DEBUG - VM ctest-TestBasicPolicy-36320185-41194291 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1 2025-02-13 09:30:57,816 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/084e24ca-2d06-4109-abc6-161d49e1da5b 2025-02-13 09:30:57,830 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/b3c2fb5c-1518-4ffb-a9e3-339ed1e77e3a 2025-02-13 09:31:01,118 - 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 1008ms') 2025-02-13 09:31:01,118 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36320185-41194291 failed! 2025-02-13 09:31:01,183 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36320185:ctest-vn-90567339 is 6.5.74.65 and allocation pool is NOT set 2025-02-13 09:31:05,269 - 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=2 ttl=63 time=2.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 2.902/2.902/2.902/0.000 ms') 2025-02-13 09:31:05,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36320185-41194291 passed 2025-02-13 09:31:05,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:31:05,431 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36320185-41194291, IP 6.5.74.67, Port 22 2025-02-13 09:31:05,605 - DEBUG - VM ctest-TestBasicPolicy-36320185-41194291 is ready for SSH connections 2025-02-13 09:31:05,605 - INFO - Waiting for VM ctest-TestBasicPolicy-36320185-40976038 to be up.. 2025-02-13 09:31:05,717 - DEBUG - VM is in ACTIVE state now 2025-02-13 09:31:05,717 - INFO - VM name : ctest-TestBasicPolicy-36320185-40976038 2025-02-13 09:31:05,827 - DEBUG - VM ctest-TestBasicPolicy-36320185-40976038 ID is 1fb75782-21a9-4dc4-a49d-714127a69ad9 2025-02-13 09:31:05,828 - DEBUG - VM ctest-TestBasicPolicy-36320185-40976038 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1 2025-02-13 09:31:05,941 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/1fb75782-21a9-4dc4-a49d-714127a69ad9 2025-02-13 09:31:05,955 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/25471043-e419-465f-bc57-425c2fdd9ee5 2025-02-13 09:31:07,226 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/2.690/4.845/2.155 ms') 2025-02-13 09:31:07,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36320185-40976038 passed 2025-02-13 09:31:07,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:31:07,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36320185-40976038, IP 42.186.231.195, Port 22 2025-02-13 09:31:07,573 - DEBUG - VM ctest-TestBasicPolicy-36320185-40976038 is ready for SSH connections 2025-02-13 09:31:07,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:31:07,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.186.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 09:31:07,573 - DEBUG - ping -s 56 -c 3 -W 1 42.186.231.195 2025-02-13 09:31:11,782 - DEBUG - PING 42.186.231.195 (42.186.231.195): 56 data bytes 64 bytes from 42.186.231.195: seq=0 ttl=63 time=5.224 ms 64 bytes from 42.186.231.195: seq=1 ttl=63 time=1.454 ms 64 bytes from 42.186.231.195: seq=2 ttl=63 time=1.603 ms --- 42.186.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.454/2.760/5.224 ms 2025-02-13 09:31:11,783 - INFO - Ping to IP 42.186.231.195 from VM ctest-TestBasicPolicy-36320185-41194291 passed 2025-02-13 09:31:11,983 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04e87c3f-9ea3-4c2b-8896-3f052ffac069", "href": "http://10.0.0.30:8082/network-policy/04e87c3f-9ea3-4c2b-8896-3f052ffac069"}} 2025-02-13 09:31:11,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 09:31:11,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.186.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 09:31:11,983 - DEBUG - ping -s 56 -c 3 -W 1 42.186.231.195 2025-02-13 09:31:15,239 - DEBUG - PING 42.186.231.195 (42.186.231.195): 56 data bytes --- 42.186.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-13 09:31:15,239 - WARNING - Ping to IP 42.186.231.195 from VM ctest-TestBasicPolicy-36320185-41194291 failed 2025-02-13 09:31:15,239 - INFO - Deleting VM ctest-TestBasicPolicy-36320185-40976038 2025-02-13 09:31:15,329 - INFO - Deleting VM ctest-TestBasicPolicy-36320185-41194291 2025-02-13 09:31:15,818 - INFO - Deleted policy ctest-policy-allow-all-19627105 2025-02-13 09:31:15,818 - INFO - Deleting VN ctest-vn-14936689 2025-02-13 09:31:15,871 - DEBUG - VN 07869b67-387b-45a0-a8ba-a347a9cfd833 still in use: Unable to complete operation on network 07869b67-387b-45a0-a8ba-a347a9cfd833. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d91bbc6-47c7-4e12-be9a-b68b07beae40'] 2025-02-13 09:31:15,871 - WARNING - Deleting VN ctest-vn-14936689 failed..Will retry 2025-02-13 09:31:18,023 - DEBUG - Response for deleting network () 2025-02-13 09:31:18,024 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/722849e2-cd4a-4059-b1eb-8b44003945be 2025-02-13 09:31:18,037 - DEBUG - Response Code: 404 2025-02-13 09:31:18,037 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:31:18,044 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:31:18,105 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:31:18,217 - INFO - Validated that VN ctest-vn-14936689 is not found in API Server 2025-02-13 09:31:18,238 - DEBUG - VN ctest-vn-14936689 is not present in Agent 10.0.0.30 2025-02-13 09:31:18,238 - INFO - Validated that VN ctest-vn-14936689 is not in any agent 2025-02-13 09:31:18,268 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14936689 info 2025-02-13 09:31:18,268 - INFO - Deleting VN ctest-vn-90567339 2025-02-13 09:31:18,467 - DEBUG - Response for deleting network () 2025-02-13 09:31:18,467 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/73a3bb76-4407-4d4b-b230-e7a19d692f80 2025-02-13 09:31:18,490 - DEBUG - Response Code: 404 2025-02-13 09:31:18,490 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 09:31:18,500 - DEBUG - Requesting: http://10.0.0.30:8082/domain/eb7f12df-de39-4442-be66-1d482e66602e 2025-02-13 09:31:18,517 - DEBUG - Requesting: http://10.0.0.30:8082/project/56a6809c-4668-4d5a-bd47-20f998be5f46 2025-02-13 09:31:18,621 - INFO - Validated that VN ctest-vn-90567339 is not found in API Server 2025-02-13 09:31:18,638 - DEBUG - VN ctest-vn-90567339 is not present in Agent 10.0.0.30 2025-02-13 09:31:18,638 - INFO - Validated that VN ctest-vn-90567339 is not in any agent 2025-02-13 09:31:18,666 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90567339 info 2025-02-13 09:31:18,947 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 09:31:18,947 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2025-02-13 09:31:18,947 - INFO - -------------------------------------------------------------------------------- 2025-02-13 09:31:20,064 - INFO - Deleted project: ctest-TestBasicPolicy-36320185, ID : 56a6809c-4668-4d5a-bd47-20f998be5f46