2024-11-10 13:32:30,055 - INFO - Domain Default found not creating 2024-11-10 13:32:30,258 - INFO - Project ctest-TestBasicPolicy-10097290 not found, creating it 2024-11-10 13:32:30,807 - INFO - Created Project:ctest-TestBasicPolicy-10097290, ID : b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:32:32,379 - INFO - ================================================================================ 2024-11-10 13:32:32,380 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 13:32:32,380 - 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 2024-11-10 13:32:32,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.5': '0'}} with 2024-11-10 13:32:32,649 - INFO - Initial checks done. Running the testcase now 2024-11-10 13:32:32,649 - INFO - 2024-11-10 13:32:33,260 - DEBUG - Response for create_network : {'network': {'id': 'ffadedb3-a31e-477c-949f-8f0c0e042f44', 'name': 'ctest-vn-10099854', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'project_id': 'b1c148d1055243e3b34df02f461cd83a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-vn-10099854'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:32:33,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '6108c477-14ea-4004-b275-4997cba9ed9a', 'name': '', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'network_id': 'ffadedb3-a31e-477c-949f-8f0c0e042f44', 'ip_version': 4, 'cidr': '175.176.50.128/26', 'allocation_pools': [{'start': '175.176.50.130', 'end': '175.176.50.190'}], 'gateway_ip': '175.176.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.176.50.130', 'tags': [], 'project_id': 'b1c148d1055243e3b34df02f461cd83a'}} 2024-11-10 13:32:33,474 - INFO - Created VN ctest-vn-10099854 2024-11-10 13:32:33,532 - DEBUG - VN ctest-vn-10099854 UUID is ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:33,861 - DEBUG - Response for create_network : {'network': {'id': '8ebc6f42-aee5-4762-94ee-98ae56679b98', 'name': 'ctest-vn-48218274', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'project_id': 'b1c148d1055243e3b34df02f461cd83a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-vn-48218274'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:32:34,087 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9493009-e5fd-4b85-a870-c4d40233f6e4', 'name': '', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'network_id': '8ebc6f42-aee5-4762-94ee-98ae56679b98', 'ip_version': 4, 'cidr': '92.173.148.0/26', 'allocation_pools': [{'start': '92.173.148.2', 'end': '92.173.148.62'}], 'gateway_ip': '92.173.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.173.148.2', 'tags': [], 'project_id': 'b1c148d1055243e3b34df02f461cd83a'}} 2024-11-10 13:32:34,115 - INFO - Created VN ctest-vn-48218274 2024-11-10 13:32:34,176 - DEBUG - VN ctest-vn-48218274 UUID is 8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:34,307 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854, 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-10097290:ctest-vn-48218274, 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] 2024-11-10 13:32:34,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffadedb3-a31e-477c-949f-8f0c0e042f44', 'name': 'ctest-vn-10099854', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'project_id': 'b1c148d1055243e3b34df02f461cd83a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6108c477-14ea-4004-b275-4997cba9ed9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-vn-10099854'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-policy-allow-all-85710018']], 'subnet_ipam': [{'subnet_cidr': '175.176.50.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:32:34,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ebc6f42-aee5-4762-94ee-98ae56679b98', 'name': 'ctest-vn-48218274', 'tenant_id': 'b1c148d1055243e3b34df02f461cd83a', 'project_id': 'b1c148d1055243e3b34df02f461cd83a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9493009-e5fd-4b85-a870-c4d40233f6e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-vn-48218274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-policy-allow-all-85710018']], 'subnet_ipam': [{'subnet_cidr': '92.173.148.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:32:35,096 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:32:35,409 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:32:35,446 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:32:35,463 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:32:35,548 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,565 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,580 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:32:35,590 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:32:35,601 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d2c73e91-fb1d-4dc0-93f3-ffc1462a5445 2024-11-10 13:32:35,610 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 13:32:35,610 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,625 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:32:35,649 - INFO - Verified VN network id 9 for VN ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,649 - INFO - Verifications in API Server for VN ctest-vn-10099854 passed 2024-11-10 13:32:35,649 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,664 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:32:35,674 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:32:35,683 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d2c73e91-fb1d-4dc0-93f3-ffc1462a5445 2024-11-10 13:32:35,698 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10097290', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18423643006434166652', 'uuid-lslong': '10709435720847863620'}, 'enable': 'true', 'created': '2024-11-10T13:32:33', 'last-modified': '2024-11-10T13:32:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092381'} 2024-11-10 13:32:35,706 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 13:32:35,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10099854 passed 2024-11-10 13:32:35,706 - DEBUG - ====Verifying policy data for ctest-vn-10099854 in API_Server ====== 2024-11-10 13:32:35,706 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:32:35,714 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:32:35,730 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:32:35,817 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ffadedb3-a31e-477c-949f-8f0c0e042f44 2024-11-10 13:32:35,835 - DEBUG - ==>Verifying data for policy with id: 3dfeafe7-b88d-4045-9e92-43c50476d317, fqn: ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-policy-allow-all-85710018'] 2024-11-10 13:32:35,835 - INFO - VN ctest-vn-10099854 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 13:32:35,835 - DEBUG - Verifying the vn in opserver 2024-11-10 13:32:35,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854 virtual network link through opserver 10.0.0.48 2024-11-10 13:32:35,835 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-10 13:32:36,135 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-10 13:32:36,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854?flat'} 2024-11-10 13:32:36,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854 is found in opserver 2024-11-10 13:32:36,225 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 13:32:36,231 - DEBUG - VRF ids for VN ctest-vn-10099854: {} 2024-11-10 13:32:36,231 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:32:36,238 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:32:36,257 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:32:36,351 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,369 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,384 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:32:36,394 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:32:36,404 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9d9921eb-7cd7-45fa-909f-b221ce9da994 2024-11-10 13:32:36,413 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 13:32:36,413 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,428 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:32:36,451 - INFO - Verified VN network id 10 for VN 8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,451 - INFO - Verifications in API Server for VN ctest-vn-48218274 passed 2024-11-10 13:32:36,451 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,467 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:32:36,478 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:32:36,488 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9d9921eb-7cd7-45fa-909f-b221ce9da994 2024-11-10 13:32:36,509 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-48218274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10097290', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10285217981200156514', 'uuid-lslong': '10731682836611832728'}, 'enable': 'true', 'created': '2024-11-10T13:32:33', 'last-modified': '2024-11-10T13:32:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.643027'} 2024-11-10 13:32:36,516 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 13:32:36,516 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48218274 passed 2024-11-10 13:32:36,516 - DEBUG - ====Verifying policy data for ctest-vn-48218274 in API_Server ====== 2024-11-10 13:32:36,517 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:32:36,523 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:32:36,538 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:32:36,644 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8ebc6f42-aee5-4762-94ee-98ae56679b98 2024-11-10 13:32:36,660 - DEBUG - ==>Verifying data for policy with id: 3dfeafe7-b88d-4045-9e92-43c50476d317, fqn: ['default-domain', 'ctest-TestBasicPolicy-10097290', 'ctest-policy-allow-all-85710018'] 2024-11-10 13:32:36,660 - INFO - VN ctest-vn-48218274 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 13:32:36,661 - DEBUG - Verifying the vn in opserver 2024-11-10 13:32:36,661 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-48218274 virtual network link through opserver 10.0.0.48 2024-11-10 13:32:36,661 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-10 13:32:36,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-48218274', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-48218274?flat'} 2024-11-10 13:32:36,674 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-48218274 is found in opserver 2024-11-10 13:32:36,690 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 13:32:36,698 - DEBUG - VRF ids for VN ctest-vn-48218274: {} 2024-11-10 13:32:36,774 - DEBUG - Services list from nova: [, , ] 2024-11-10 13:32:38,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2250-1) 2024-11-10 13:32:39,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2250-1) 2024-11-10 13:32:39,303 - INFO - Waiting for VM ctest-TestBasicPolicy-10097290-56242986 to be up.. 2024-11-10 13:32:39,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 13:32:44,507 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:32:44,508 - INFO - VM name : ctest-TestBasicPolicy-10097290-56242986 2024-11-10 13:32:44,641 - DEBUG - VM ctest-TestBasicPolicy-10097290-56242986 ID is 2e8cd59f-de39-4af3-a1ea-1b3ba5ae116d 2024-11-10 13:32:44,666 - DEBUG - VM ctest-TestBasicPolicy-10097290-56242986 launched on Node cn-jenkins-deploy-platform-ansible-os-2250-1 2024-11-10 13:32:44,762 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2e8cd59f-de39-4af3-a1ea-1b3ba5ae116d 2024-11-10 13:32:44,778 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2e358001-3a61-4454-b8e6-8e2b067436ae 2024-11-10 13:32:48,034 - 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 1029ms') 2024-11-10 13:32:48,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10097290-56242986 failed! 2024-11-10 13:32:48,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10097290:ctest-vn-10099854 is 175.176.50.129 and allocation pool is NOT set 2024-11-10 13:32:50,169 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.178/6.632/10.087/3.454 ms') 2024-11-10 13:32:50,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10097290-56242986 passed 2024-11-10 13:32:50,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:32:50,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10097290-56242986, IP 175.176.50.131, Port 22 2024-11-10 13:32:50,504 - DEBUG - VM ctest-TestBasicPolicy-10097290-56242986 is ready for SSH connections 2024-11-10 13:32:50,505 - INFO - Waiting for VM ctest-TestBasicPolicy-10097290-40058290 to be up.. 2024-11-10 13:32:50,650 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:32:50,650 - INFO - VM name : ctest-TestBasicPolicy-10097290-40058290 2024-11-10 13:32:50,756 - DEBUG - VM ctest-TestBasicPolicy-10097290-40058290 ID is 207e9a48-36f4-4f27-86dc-853365dddb8a 2024-11-10 13:32:50,757 - DEBUG - VM ctest-TestBasicPolicy-10097290-40058290 launched on Node cn-jenkins-deploy-platform-ansible-os-2250-1 2024-11-10 13:32:50,872 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/207e9a48-36f4-4f27-86dc-853365dddb8a 2024-11-10 13:32:50,884 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4cf7c54b-caa8-4ff1-a54f-b3c261c20084 2024-11-10 13:32:52,165 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/1.751/2.958/1.206 ms') 2024-11-10 13:32:52,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10097290-40058290 passed 2024-11-10 13:32:52,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:32:52,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10097290-40058290, IP 92.173.148.3, Port 22 2024-11-10 13:32:52,488 - DEBUG - VM ctest-TestBasicPolicy-10097290-40058290 is ready for SSH connections 2024-11-10 13:32:52,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:32:52,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.173.148.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-11-10 13:32:52,489 - DEBUG - ping -s 56 -c 3 -W 1 92.173.148.3 2024-11-10 13:32:56,247 - DEBUG - PING 92.173.148.3 (92.173.148.3): 56 data bytes 64 bytes from 92.173.148.3: seq=0 ttl=63 time=3.844 ms 64 bytes from 92.173.148.3: seq=1 ttl=63 time=1.782 ms 64 bytes from 92.173.148.3: seq=2 ttl=63 time=1.101 ms --- 92.173.148.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.101/2.242/3.844 ms 2024-11-10 13:32:56,247 - INFO - Ping to IP 92.173.148.3 from VM ctest-TestBasicPolicy-10097290-56242986 passed 2024-11-10 13:32:56,460 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3dfeafe7-b88d-4045-9e92-43c50476d317", "href": "http://10.0.0.48:8082/network-policy/3dfeafe7-b88d-4045-9e92-43c50476d317"}} 2024-11-10 13:32:56,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:32:56,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.173.148.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-11-10 13:32:56,460 - DEBUG - ping -s 56 -c 3 -W 1 92.173.148.3 2024-11-10 13:32:59,686 - DEBUG - PING 92.173.148.3 (92.173.148.3): 56 data bytes --- 92.173.148.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-10 13:32:59,686 - WARNING - Ping to IP 92.173.148.3 from VM ctest-TestBasicPolicy-10097290-56242986 failed 2024-11-10 13:32:59,686 - INFO - Deleting VM ctest-TestBasicPolicy-10097290-40058290 2024-11-10 13:32:59,773 - INFO - Deleting VM ctest-TestBasicPolicy-10097290-56242986 2024-11-10 13:33:00,227 - INFO - Deleted policy ctest-policy-allow-all-85710018 2024-11-10 13:33:00,227 - INFO - Deleting VN ctest-vn-48218274 2024-11-10 13:33:00,272 - DEBUG - VN 8ebc6f42-aee5-4762-94ee-98ae56679b98 still in use: Unable to complete operation on network 8ebc6f42-aee5-4762-94ee-98ae56679b98. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a75951d-54eb-4a41-8f98-6e64c9f2cd6c'] 2024-11-10 13:33:00,272 - WARNING - Deleting VN ctest-vn-48218274 failed..Will retry 2024-11-10 13:33:02,408 - DEBUG - Response for deleting network () 2024-11-10 13:33:02,408 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/adbe98d5-7bd2-4b0d-ba25-25b83558b76a 2024-11-10 13:33:02,419 - DEBUG - Response Code: 404 2024-11-10 13:33:02,419 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:33:02,429 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:33:02,488 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:33:02,567 - INFO - Validated that VN ctest-vn-48218274 is not found in API Server 2024-11-10 13:33:02,578 - DEBUG - VN ctest-vn-48218274 is not present in Agent 10.0.0.48 2024-11-10 13:33:02,579 - INFO - Validated that VN ctest-vn-48218274 is not in any agent 2024-11-10 13:33:02,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48218274 info 2024-11-10 13:33:02,597 - INFO - Deleting VN ctest-vn-10099854 2024-11-10 13:33:02,739 - DEBUG - Response for deleting network () 2024-11-10 13:33:02,739 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/3a005146-02e2-4f8f-aaba-dfdb590cc001 2024-11-10 13:33:02,750 - DEBUG - Response Code: 404 2024-11-10 13:33:02,750 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-10 13:33:02,761 - DEBUG - Requesting: http://10.0.0.48:8082/domain/711ea29b-ea95-4306-b9b3-4612cb79369f 2024-11-10 13:33:02,779 - DEBUG - Requesting: http://10.0.0.48:8082/project/b1c148d1-0552-43e3-b34d-f02f461cd83a 2024-11-10 13:33:02,874 - INFO - Validated that VN ctest-vn-10099854 is not found in API Server 2024-11-10 13:33:02,887 - DEBUG - VN ctest-vn-10099854 is not present in Agent 10.0.0.48 2024-11-10 13:33:02,887 - INFO - Validated that VN ctest-vn-10099854 is not in any agent 2024-11-10 13:33:02,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10099854 info 2024-11-10 13:33:03,164 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 13:33:03,165 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-10 13:33:03,165 - INFO - -------------------------------------------------------------------------------- 2024-11-10 13:33:03,925 - INFO - Deleted project: ctest-TestBasicPolicy-10097290, ID : b1c148d1-0552-43e3-b34d-f02f461cd83a