2024-09-06 18:07:40,293 - INFO - Domain Default found not creating 2024-09-06 18:07:40,446 - INFO - Project ctest-TestBasicPolicy-60806407 not found, creating it 2024-09-06 18:07:40,950 - INFO - Created Project:ctest-TestBasicPolicy-60806407, ID : 7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:07:42,442 - INFO - ================================================================================ 2024-09-06 18:07:42,442 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-06 18:07:42,442 - 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-09-06 18:07:42,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.23': '0'}} with 2024-09-06 18:07:42,696 - INFO - Initial checks done. Running the testcase now 2024-09-06 18:07:42,696 - INFO - 2024-09-06 18:07:43,260 - DEBUG - Response for create_network : {'network': {'id': '5b121a9f-1679-492c-bfe9-2b3180190540', 'name': 'ctest-vn-23193022', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-vn-23193022'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 18:07:43,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '48591530-78a0-42f0-856b-f12c14542c25', 'name': '', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'network_id': '5b121a9f-1679-492c-bfe9-2b3180190540', 'ip_version': 4, 'cidr': '192.179.35.128/26', 'allocation_pools': [{'start': '192.179.35.130', 'end': '192.179.35.190'}], 'gateway_ip': '192.179.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.179.35.130', 'tags': [], 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf'}} 2024-09-06 18:07:43,510 - INFO - Created VN ctest-vn-23193022 2024-09-06 18:07:43,567 - DEBUG - VN ctest-vn-23193022 UUID is 5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:43,880 - DEBUG - Response for create_network : {'network': {'id': 'd772b7fd-2ebe-4769-abb5-0ded6855a7f8', 'name': 'ctest-vn-72650012', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-vn-72650012'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 18:07:44,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '7861d881-a925-43c7-b8db-82a1515a2d43', 'name': '', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'network_id': 'd772b7fd-2ebe-4769-abb5-0ded6855a7f8', 'ip_version': 4, 'cidr': '193.167.229.128/26', 'allocation_pools': [{'start': '193.167.229.130', 'end': '193.167.229.190'}], 'gateway_ip': '193.167.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.167.229.130', 'tags': [], 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf'}} 2024-09-06 18:07:44,128 - INFO - Created VN ctest-vn-72650012 2024-09-06 18:07:44,187 - DEBUG - VN ctest-vn-72650012 UUID is d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:44,305 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022, 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-60806407:ctest-vn-72650012, 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-09-06 18:07:44,617 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b121a9f-1679-492c-bfe9-2b3180190540', 'name': 'ctest-vn-23193022', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48591530-78a0-42f0-856b-f12c14542c25'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-vn-23193022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-policy-allow-all-03514614']], 'subnet_ipam': [{'subnet_cidr': '192.179.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 18:07:44,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd772b7fd-2ebe-4769-abb5-0ded6855a7f8', 'name': 'ctest-vn-72650012', 'tenant_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'project_id': '7966a2d2219b4f77807af41dfb1b8ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7861d881-a925-43c7-b8db-82a1515a2d43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-vn-72650012'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-policy-allow-all-03514614']], 'subnet_ipam': [{'subnet_cidr': '193.167.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 18:07:45,055 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:07:45,371 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:07:45,404 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:07:45,421 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:07:45,503 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,518 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,531 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:07:45,540 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:07:45,548 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/1b018635-0909-414d-8b5a-2099c004a4ba 2024-09-06 18:07:45,557 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 18:07:45,557 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,572 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:07:45,592 - INFO - Verified VN network id 8 for VN 5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,592 - INFO - Verifications in API Server for VN ctest-vn-23193022 passed 2024-09-06 18:07:45,592 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,608 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:07:45,617 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:07:45,626 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/1b018635-0909-414d-8b5a-2099c004a4ba 2024-09-06 18:07:45,639 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60806407', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6562336877611403564', 'uuid-lslong': '13828631622420333888'}, 'enable': 'true', 'created': '2024-09-06T18:07:43', 'last-modified': '2024-09-06T18:07:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046857'} 2024-09-06 18:07:45,647 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 18:07:45,647 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23193022 passed 2024-09-06 18:07:45,647 - DEBUG - ====Verifying policy data for ctest-vn-23193022 in API_Server ====== 2024-09-06 18:07:45,647 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:07:45,653 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:07:45,667 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:07:45,756 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/5b121a9f-1679-492c-bfe9-2b3180190540 2024-09-06 18:07:45,774 - DEBUG - ==>Verifying data for policy with id: e27f158f-5d12-476c-83fe-876668e60f67, fqn: ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-policy-allow-all-03514614'] 2024-09-06 18:07:45,774 - INFO - VN ctest-vn-23193022 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 18:07:45,774 - DEBUG - Verifying the vn in opserver 2024-09-06 18:07:45,774 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022 virtual network link through opserver 10.0.0.34 2024-09-06 18:07:45,775 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-09-06 18:07:46,072 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-09-06 18:07:46,131 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022?flat'} 2024-09-06 18:07:46,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022 is found in opserver 2024-09-06 18:07:46,142 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 18:07:46,147 - DEBUG - VRF ids for VN ctest-vn-23193022: {} 2024-09-06 18:07:46,148 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:07:46,154 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:07:46,167 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:07:46,247 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,263 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,277 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:07:46,285 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:07:46,293 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/052379e2-535c-4265-9d25-fe999608a3c2 2024-09-06 18:07:46,301 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 18:07:46,301 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,315 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:07:46,333 - INFO - Verified VN network id 9 for VN d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,333 - INFO - Verifications in API Server for VN ctest-vn-72650012 passed 2024-09-06 18:07:46,334 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,348 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:07:46,357 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:07:46,365 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/052379e2-535c-4265-9d25-fe999608a3c2 2024-09-06 18:07:46,378 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-72650012', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60806407', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15524673163538351977', 'uuid-lslong': '12372810864579160056'}, 'enable': 'true', 'created': '2024-09-06T18:07:43', 'last-modified': '2024-09-06T18:07:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.545466'} 2024-09-06 18:07:46,384 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 18:07:46,384 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72650012 passed 2024-09-06 18:07:46,384 - DEBUG - ====Verifying policy data for ctest-vn-72650012 in API_Server ====== 2024-09-06 18:07:46,384 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:07:46,390 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:07:46,402 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:07:46,481 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/d772b7fd-2ebe-4769-abb5-0ded6855a7f8 2024-09-06 18:07:46,495 - DEBUG - ==>Verifying data for policy with id: e27f158f-5d12-476c-83fe-876668e60f67, fqn: ['default-domain', 'ctest-TestBasicPolicy-60806407', 'ctest-policy-allow-all-03514614'] 2024-09-06 18:07:46,495 - INFO - VN ctest-vn-72650012 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 18:07:46,496 - DEBUG - Verifying the vn in opserver 2024-09-06 18:07:46,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-72650012 virtual network link through opserver 10.0.0.34 2024-09-06 18:07:46,496 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-09-06 18:07:46,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-72650012', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-72650012?flat'} 2024-09-06 18:07:46,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-72650012 is found in opserver 2024-09-06 18:07:46,517 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 18:07:46,522 - DEBUG - VRF ids for VN ctest-vn-72650012: {} 2024-09-06 18:07:46,590 - DEBUG - Services list from nova: [, , ] 2024-09-06 18:07:47,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1868-1) 2024-09-06 18:07:48,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1868-1) 2024-09-06 18:07:48,929 - INFO - Waiting for VM ctest-TestBasicPolicy-60806407-36493572 to be up.. 2024-09-06 18:07:49,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 18:07:54,109 - DEBUG - VM is in ACTIVE state now 2024-09-06 18:07:54,109 - INFO - VM name : ctest-TestBasicPolicy-60806407-36493572 2024-09-06 18:07:54,186 - DEBUG - VM ctest-TestBasicPolicy-60806407-36493572 ID is 6ad9aaf5-3b3a-42e0-867d-b75465e1783c 2024-09-06 18:07:54,208 - DEBUG - VM ctest-TestBasicPolicy-60806407-36493572 launched on Node cn-jenkins-deploy-platform-ansible-os-1868-1 2024-09-06 18:07:54,288 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/6ad9aaf5-3b3a-42e0-867d-b75465e1783c 2024-09-06 18:07:54,299 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/7a47975d-1fc1-4fed-8936-b8693ded93cb 2024-09-06 18:07:57,576 - 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 1027ms') 2024-09-06 18:07:57,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60806407-36493572 failed! 2024-09-06 18:07:57,639 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60806407:ctest-vn-23193022 is 192.179.35.129 and allocation pool is NOT set 2024-09-06 18:07:59,701 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.628/2.857/1.229 ms') 2024-09-06 18:07:59,701 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60806407-36493572 passed 2024-09-06 18:07:59,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:07:59,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60806407-36493572, IP 192.179.35.131, Port 22 2024-09-06 18:08:00,014 - DEBUG - VM ctest-TestBasicPolicy-60806407-36493572 is ready for SSH connections 2024-09-06 18:08:00,015 - INFO - Waiting for VM ctest-TestBasicPolicy-60806407-77028989 to be up.. 2024-09-06 18:08:00,097 - DEBUG - VM is in ACTIVE state now 2024-09-06 18:08:00,098 - INFO - VM name : ctest-TestBasicPolicy-60806407-77028989 2024-09-06 18:08:00,173 - DEBUG - VM ctest-TestBasicPolicy-60806407-77028989 ID is 552e9e80-012b-444c-aa28-dd30db750165 2024-09-06 18:08:00,174 - DEBUG - VM ctest-TestBasicPolicy-60806407-77028989 launched on Node cn-jenkins-deploy-platform-ansible-os-1868-1 2024-09-06 18:08:00,246 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/552e9e80-012b-444c-aa28-dd30db750165 2024-09-06 18:08:00,257 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/d2bf59a9-66fe-43fa-9b56-df4f11124a5b 2024-09-06 18:08:01,514 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.506/2.580/1.073 ms') 2024-09-06 18:08:01,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60806407-77028989 passed 2024-09-06 18:08:01,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:08:01,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60806407-77028989, IP 193.167.229.131, Port 22 2024-09-06 18:08:01,826 - DEBUG - VM ctest-TestBasicPolicy-60806407-77028989 is ready for SSH connections 2024-09-06 18:08:01,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:08:01,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.167.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-09-06 18:08:01,826 - DEBUG - ping -s 56 -c 3 -W 1 193.167.229.131 2024-09-06 18:08:05,866 - DEBUG - PING 193.167.229.131 (193.167.229.131): 56 data bytes 64 bytes from 193.167.229.131: seq=0 ttl=63 time=3.229 ms 64 bytes from 193.167.229.131: seq=1 ttl=63 time=0.938 ms 64 bytes from 193.167.229.131: seq=2 ttl=63 time=0.784 ms --- 193.167.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.650/3.229 ms 2024-09-06 18:08:05,866 - INFO - Ping to IP 193.167.229.131 from VM ctest-TestBasicPolicy-60806407-36493572 passed 2024-09-06 18:08:06,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e27f158f-5d12-476c-83fe-876668e60f67", "href": "http://10.0.0.34:8082/network-policy/e27f158f-5d12-476c-83fe-876668e60f67"}} 2024-09-06 18:08:06,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 18:08:06,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.167.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-09-06 18:08:06,071 - DEBUG - ping -s 56 -c 3 -W 1 193.167.229.131 2024-09-06 18:08:09,281 - DEBUG - PING 193.167.229.131 (193.167.229.131): 56 data bytes --- 193.167.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-06 18:08:09,281 - WARNING - Ping to IP 193.167.229.131 from VM ctest-TestBasicPolicy-60806407-36493572 failed 2024-09-06 18:08:09,282 - INFO - Deleting VM ctest-TestBasicPolicy-60806407-77028989 2024-09-06 18:08:09,365 - INFO - Deleting VM ctest-TestBasicPolicy-60806407-36493572 2024-09-06 18:08:09,750 - INFO - Deleted policy ctest-policy-allow-all-03514614 2024-09-06 18:08:09,751 - INFO - Deleting VN ctest-vn-72650012 2024-09-06 18:08:09,788 - DEBUG - VN d772b7fd-2ebe-4769-abb5-0ded6855a7f8 still in use: Unable to complete operation on network d772b7fd-2ebe-4769-abb5-0ded6855a7f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f377a46-34d4-4399-9bf7-63fffdc3561b'] 2024-09-06 18:08:09,788 - WARNING - Deleting VN ctest-vn-72650012 failed..Will retry 2024-09-06 18:08:11,913 - DEBUG - Response for deleting network () 2024-09-06 18:08:11,913 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/dedc479b-e9b4-4b77-8c82-9c3ab3de784d 2024-09-06 18:08:11,921 - DEBUG - Response Code: 404 2024-09-06 18:08:11,921 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:08:11,927 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:08:11,987 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:08:12,072 - INFO - Validated that VN ctest-vn-72650012 is not found in API Server 2024-09-06 18:08:12,082 - DEBUG - VN ctest-vn-72650012 is not present in Agent 10.0.0.34 2024-09-06 18:08:12,082 - INFO - Validated that VN ctest-vn-72650012 is not in any agent 2024-09-06 18:08:12,098 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72650012 info 2024-09-06 18:08:12,098 - INFO - Deleting VN ctest-vn-23193022 2024-09-06 18:08:12,200 - DEBUG - Response for deleting network () 2024-09-06 18:08:12,200 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/e3e270ed-193c-491e-962f-ed9ced6fbba9 2024-09-06 18:08:12,206 - DEBUG - Response Code: 404 2024-09-06 18:08:12,206 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-09-06 18:08:12,212 - DEBUG - Requesting: http://10.0.0.34:8082/domain/48f53c61-3655-4360-b77d-560586aad783 2024-09-06 18:08:12,269 - DEBUG - Requesting: http://10.0.0.34:8082/project/7966a2d2-219b-4f77-807a-f41dfb1b8ddf 2024-09-06 18:08:12,353 - INFO - Validated that VN ctest-vn-23193022 is not found in API Server 2024-09-06 18:08:12,365 - DEBUG - VN ctest-vn-23193022 is not present in Agent 10.0.0.34 2024-09-06 18:08:12,365 - INFO - Validated that VN ctest-vn-23193022 is not in any agent 2024-09-06 18:08:12,381 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23193022 info 2024-09-06 18:08:12,638 - DEBUG - No XMPP flaps were noticed during the test 2024-09-06 18:08:12,638 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-06 18:08:12,638 - INFO - -------------------------------------------------------------------------------- 2024-09-06 18:08:13,350 - INFO - Deleted project: ctest-TestBasicPolicy-60806407, ID : 7966a2d2-219b-4f77-807a-f41dfb1b8ddf