2025-05-13 11:13:08,723 - INFO - Domain Default found not creating 2025-05-13 11:13:08,863 - INFO - Project ctest-TestBasicPolicy-04831453 not found, creating it 2025-05-13 11:13:09,310 - INFO - Created Project:ctest-TestBasicPolicy-04831453, ID : 4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:10,679 - INFO - ================================================================================ 2025-05-13 11:13:10,679 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-13 11:13:10,679 - 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-13 11:13:10,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-05-13 11:13:10,937 - INFO - Initial checks done. Running the testcase now 2025-05-13 11:13:10,937 - INFO - 2025-05-13 11:13:11,469 - DEBUG - Response for create_network : {'network': {'id': '782d5e2e-6f37-4c27-8dec-5fbc3aeef270', 'name': 'ctest-vn-02759354', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'project_id': '4996d426aecd4de18a92967313439dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-vn-02759354'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:13:11,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd45487f-0cc0-4309-adc8-3a465f9c703c', 'name': '', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'network_id': '782d5e2e-6f37-4c27-8dec-5fbc3aeef270', 'ip_version': 4, 'cidr': '126.60.27.128/26', 'allocation_pools': [{'start': '126.60.27.130', 'end': '126.60.27.190'}], 'gateway_ip': '126.60.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.60.27.130', 'tags': [], 'project_id': '4996d426aecd4de18a92967313439dc8'}} 2025-05-13 11:13:11,684 - INFO - Created VN ctest-vn-02759354 2025-05-13 11:13:11,735 - DEBUG - VN ctest-vn-02759354 UUID is 782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:12,047 - DEBUG - Response for create_network : {'network': {'id': 'ab7a4baa-fdf9-404b-a19a-d89122940edc', 'name': 'ctest-vn-86540946', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'project_id': '4996d426aecd4de18a92967313439dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-vn-86540946'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:13:12,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '190e8b24-a119-46c5-ac95-0102112bcc29', 'name': '', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'network_id': 'ab7a4baa-fdf9-404b-a19a-d89122940edc', 'ip_version': 4, 'cidr': '144.7.104.0/26', 'allocation_pools': [{'start': '144.7.104.2', 'end': '144.7.104.62'}], 'gateway_ip': '144.7.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.7.104.2', 'tags': [], 'project_id': '4996d426aecd4de18a92967313439dc8'}} 2025-05-13 11:13:12,365 - INFO - Created VN ctest-vn-86540946 2025-05-13 11:13:12,415 - DEBUG - VN ctest-vn-86540946 UUID is ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:12,567 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354, 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-04831453:ctest-vn-86540946, 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-13 11:13:12,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '782d5e2e-6f37-4c27-8dec-5fbc3aeef270', 'name': 'ctest-vn-02759354', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'project_id': '4996d426aecd4de18a92967313439dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd45487f-0cc0-4309-adc8-3a465f9c703c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-vn-02759354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-policy-allow-all-18147058']], 'subnet_ipam': [{'subnet_cidr': '126.60.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:13:13,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab7a4baa-fdf9-404b-a19a-d89122940edc', 'name': 'ctest-vn-86540946', 'tenant_id': '4996d426aecd4de18a92967313439dc8', 'project_id': '4996d426aecd4de18a92967313439dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['190e8b24-a119-46c5-ac95-0102112bcc29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-vn-86540946'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-policy-allow-all-18147058']], 'subnet_ipam': [{'subnet_cidr': '144.7.104.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:13:13,287 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:13,582 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:13,609 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:13,621 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:13,694 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,705 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,714 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:13,722 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:13,728 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bc86bf9e-4ea4-4a47-8992-82be19b7672a 2025-05-13 11:13:13,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 11:13:13,734 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,743 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:13,756 - INFO - Verified VN network id 8 for VN 782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,756 - INFO - Verifications in API Server for VN ctest-vn-02759354 passed 2025-05-13 11:13:13,756 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,765 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:13,771 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:13,777 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bc86bf9e-4ea4-4a47-8992-82be19b7672a 2025-05-13 11:13:13,788 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04831453', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8659681212030733351', 'uuid-lslong': '10226654115898782320'}, 'enable': 'true', 'created': '2025-05-13T11:13:11', 'last-modified': '2025-05-13T11:13:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948515'} 2025-05-13 11:13:13,795 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 11:13:13,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02759354 passed 2025-05-13 11:13:13,795 - DEBUG - ====Verifying policy data for ctest-vn-02759354 in API_Server ====== 2025-05-13 11:13:13,795 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:13,801 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:13,811 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:13,877 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/782d5e2e-6f37-4c27-8dec-5fbc3aeef270 2025-05-13 11:13:13,887 - DEBUG - ==>Verifying data for policy with id: a38e7b69-3641-4894-8225-bc85c100c792, fqn: ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-policy-allow-all-18147058'] 2025-05-13 11:13:13,887 - INFO - VN ctest-vn-02759354 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 11:13:13,887 - DEBUG - Verifying the vn in opserver 2025-05-13 11:13:13,887 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354 virtual network link through opserver 10.0.0.22 2025-05-13 11:13:13,887 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-13 11:13:14,179 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-13 11:13:14,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354?flat'} 2025-05-13 11:13:14,230 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354 is found in opserver 2025-05-13 11:13:14,240 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 11:13:14,245 - DEBUG - VRF ids for VN ctest-vn-02759354: {} 2025-05-13 11:13:14,245 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:14,250 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:14,261 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:14,335 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,359 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:14,368 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:14,374 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/48752d1d-7e01-4412-9bef-f5fbafa79d40 2025-05-13 11:13:14,380 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 11:13:14,380 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,388 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:14,401 - INFO - Verified VN network id 9 for VN ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,401 - INFO - Verifications in API Server for VN ctest-vn-86540946 passed 2025-05-13 11:13:14,401 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,410 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:14,416 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:14,422 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/48752d1d-7e01-4412-9bef-f5fbafa79d40 2025-05-13 11:13:14,433 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-86540946', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04831453', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12356271725421871179', 'uuid-lslong': '11644857904381824732'}, 'enable': 'true', 'created': '2025-05-13T11:13:12', 'last-modified': '2025-05-13T11:13:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357040'} 2025-05-13 11:13:14,438 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 11:13:14,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86540946 passed 2025-05-13 11:13:14,439 - DEBUG - ====Verifying policy data for ctest-vn-86540946 in API_Server ====== 2025-05-13 11:13:14,439 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:14,443 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:14,454 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:14,522 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ab7a4baa-fdf9-404b-a19a-d89122940edc 2025-05-13 11:13:14,532 - DEBUG - ==>Verifying data for policy with id: a38e7b69-3641-4894-8225-bc85c100c792, fqn: ['default-domain', 'ctest-TestBasicPolicy-04831453', 'ctest-policy-allow-all-18147058'] 2025-05-13 11:13:14,532 - INFO - VN ctest-vn-86540946 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 11:13:14,532 - DEBUG - Verifying the vn in opserver 2025-05-13 11:13:14,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-86540946 virtual network link through opserver 10.0.0.22 2025-05-13 11:13:14,532 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-13 11:13:14,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-86540946', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-86540946?flat'} 2025-05-13 11:13:14,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-86540946 is found in opserver 2025-05-13 11:13:14,553 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 11:13:14,558 - DEBUG - VRF ids for VN ctest-vn-86540946: {} 2025-05-13 11:13:14,616 - DEBUG - Services list from nova: [, , ] 2025-05-13 11:13:15,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1) 2025-05-13 11:13:16,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1) 2025-05-13 11:13:16,760 - INFO - Waiting for VM ctest-TestBasicPolicy-04831453-93581238 to be up.. 2025-05-13 11:13:16,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 11:13:21,916 - DEBUG - VM is in ACTIVE state now 2025-05-13 11:13:21,916 - INFO - VM name : ctest-TestBasicPolicy-04831453-93581238 2025-05-13 11:13:21,990 - DEBUG - VM ctest-TestBasicPolicy-04831453-93581238 ID is c9e2c017-3d9f-450b-aafe-e30d90cdac85 2025-05-13 11:13:22,010 - DEBUG - VM ctest-TestBasicPolicy-04831453-93581238 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1 2025-05-13 11:13:22,078 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c9e2c017-3d9f-450b-aafe-e30d90cdac85 2025-05-13 11:13:22,085 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/972ab11e-c6d2-4bec-94cd-9d48d772c022 2025-05-13 11:13:25,330 - 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 1003ms') 2025-05-13 11:13:25,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04831453-93581238 failed! 2025-05-13 11:13:25,383 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04831453:ctest-vn-02759354 is 126.60.27.129 and allocation pool is NOT set 2025-05-13 11:13:27,445 - 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=2.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.484/2.552/1.067 ms') 2025-05-13 11:13:27,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04831453-93581238 passed 2025-05-13 11:13:27,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:13:27,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04831453-93581238, IP 126.60.27.131, Port 22 2025-05-13 11:13:27,747 - DEBUG - VM ctest-TestBasicPolicy-04831453-93581238 is ready for SSH connections 2025-05-13 11:13:27,747 - INFO - Waiting for VM ctest-TestBasicPolicy-04831453-08452487 to be up.. 2025-05-13 11:13:27,817 - DEBUG - VM is in ACTIVE state now 2025-05-13 11:13:27,817 - INFO - VM name : ctest-TestBasicPolicy-04831453-08452487 2025-05-13 11:13:27,884 - DEBUG - VM ctest-TestBasicPolicy-04831453-08452487 ID is b85af9ce-bacb-437b-9e33-67691a725d7d 2025-05-13 11:13:27,884 - DEBUG - VM ctest-TestBasicPolicy-04831453-08452487 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1 2025-05-13 11:13:27,957 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b85af9ce-bacb-437b-9e33-67691a725d7d 2025-05-13 11:13:27,965 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ddd8a109-cdb5-4e9e-93c8-112ee4d752db 2025-05-13 11:13:29,211 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.338/1.538/2.738/1.200 ms') 2025-05-13 11:13:29,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04831453-08452487 passed 2025-05-13 11:13:29,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:13:29,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04831453-08452487, IP 144.7.104.3, Port 22 2025-05-13 11:13:29,526 - DEBUG - VM ctest-TestBasicPolicy-04831453-08452487 is ready for SSH connections 2025-05-13 11:13:29,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:13:29,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.7.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-13 11:13:29,527 - DEBUG - ping -s 56 -c 3 -W 1 144.7.104.3 2025-05-13 11:13:33,188 - DEBUG - PING 144.7.104.3 (144.7.104.3): 56 data bytes 64 bytes from 144.7.104.3: seq=0 ttl=63 time=3.062 ms 64 bytes from 144.7.104.3: seq=1 ttl=63 time=0.688 ms 64 bytes from 144.7.104.3: seq=2 ttl=63 time=0.662 ms --- 144.7.104.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.662/1.470/3.062 ms 2025-05-13 11:13:33,188 - INFO - Ping to IP 144.7.104.3 from VM ctest-TestBasicPolicy-04831453-93581238 passed 2025-05-13 11:13:33,371 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a38e7b69-3641-4894-8225-bc85c100c792", "href": "http://10.0.0.22:8082/network-policy/a38e7b69-3641-4894-8225-bc85c100c792"}} 2025-05-13 11:13:33,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:13:33,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.7.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-13 11:13:33,371 - DEBUG - ping -s 56 -c 3 -W 1 144.7.104.3 2025-05-13 11:13:36,587 - DEBUG - PING 144.7.104.3 (144.7.104.3): 56 data bytes --- 144.7.104.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-13 11:13:36,587 - WARNING - Ping to IP 144.7.104.3 from VM ctest-TestBasicPolicy-04831453-93581238 failed 2025-05-13 11:13:36,587 - INFO - Deleting VM ctest-TestBasicPolicy-04831453-08452487 2025-05-13 11:13:36,648 - INFO - Deleting VM ctest-TestBasicPolicy-04831453-93581238 2025-05-13 11:13:37,006 - INFO - Deleted policy ctest-policy-allow-all-18147058 2025-05-13 11:13:37,006 - INFO - Deleting VN ctest-vn-86540946 2025-05-13 11:13:37,041 - DEBUG - VN ab7a4baa-fdf9-404b-a19a-d89122940edc still in use: Unable to complete operation on network ab7a4baa-fdf9-404b-a19a-d89122940edc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19254de2-02fd-4af4-9e1f-b7d27b11974e'] 2025-05-13 11:13:37,041 - WARNING - Deleting VN ctest-vn-86540946 failed..Will retry 2025-05-13 11:13:39,134 - DEBUG - Response for deleting network () 2025-05-13 11:13:39,134 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e2f6115f-aa99-4e80-9e95-0057a5fe78d8 2025-05-13 11:13:39,141 - DEBUG - Response Code: 404 2025-05-13 11:13:39,142 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:39,147 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:39,200 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:39,270 - INFO - Validated that VN ctest-vn-86540946 is not found in API Server 2025-05-13 11:13:39,281 - DEBUG - VN ctest-vn-86540946 is not present in Agent 10.0.0.22 2025-05-13 11:13:39,281 - INFO - Validated that VN ctest-vn-86540946 is not in any agent 2025-05-13 11:13:39,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86540946 info 2025-05-13 11:13:39,296 - INFO - Deleting VN ctest-vn-02759354 2025-05-13 11:13:39,400 - DEBUG - Response for deleting network () 2025-05-13 11:13:39,400 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd0365e5-8aee-420a-8fb6-6661b2238bb6 2025-05-13 11:13:39,405 - DEBUG - Response Code: 404 2025-05-13 11:13:39,405 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-13 11:13:39,410 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd570169-4e27-4437-a3eb-3c7ffe0a6f78 2025-05-13 11:13:39,464 - DEBUG - Requesting: http://10.0.0.22:8082/project/4996d426-aecd-4de1-8a92-967313439dc8 2025-05-13 11:13:39,539 - INFO - Validated that VN ctest-vn-02759354 is not found in API Server 2025-05-13 11:13:39,550 - DEBUG - VN ctest-vn-02759354 is not present in Agent 10.0.0.22 2025-05-13 11:13:39,550 - INFO - Validated that VN ctest-vn-02759354 is not in any agent 2025-05-13 11:13:39,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02759354 info 2025-05-13 11:13:39,820 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 11:13:39,820 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-13 11:13:39,820 - INFO - -------------------------------------------------------------------------------- 2025-05-13 11:13:40,470 - INFO - Deleted project: ctest-TestBasicPolicy-04831453, ID : 4996d426-aecd-4de1-8a92-967313439dc8