2024-11-08 08:55:16,258 - INFO - Domain Default found not creating 2024-11-08 08:55:16,431 - INFO - Project ctest-TestBasicPolicy-60873555 not found, creating it 2024-11-08 08:55:16,920 - INFO - Created Project:ctest-TestBasicPolicy-60873555, ID : c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:18,567 - INFO - ================================================================================ 2024-11-08 08:55:18,568 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-08 08:55:18,568 - 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-08 08:55:18,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with 2024-11-08 08:55:18,824 - INFO - Initial checks done. Running the testcase now 2024-11-08 08:55:18,824 - INFO - 2024-11-08 08:55:19,461 - DEBUG - Response for create_network : {'network': {'id': 'ab79646e-4813-4873-9314-be1f8520f04c', 'name': 'ctest-vn-87366713', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-vn-87366713'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:55:19,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '74af83df-0fc6-479d-94a2-c54db4a33556', 'name': '', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'network_id': 'ab79646e-4813-4873-9314-be1f8520f04c', 'ip_version': 4, 'cidr': '209.134.145.0/26', 'allocation_pools': [{'start': '209.134.145.2', 'end': '209.134.145.62'}], 'gateway_ip': '209.134.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.134.145.2', 'tags': [], 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4'}} 2024-11-08 08:55:19,651 - INFO - Created VN ctest-vn-87366713 2024-11-08 08:55:19,713 - DEBUG - VN ctest-vn-87366713 UUID is ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:20,042 - DEBUG - Response for create_network : {'network': {'id': '508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd', 'name': 'ctest-vn-41228476', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-vn-41228476'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:55:20,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '84d997a9-c237-43cf-9cdd-337216636abb', 'name': '', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'network_id': '508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd', 'ip_version': 4, 'cidr': '139.39.241.64/26', 'allocation_pools': [{'start': '139.39.241.66', 'end': '139.39.241.126'}], 'gateway_ip': '139.39.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.39.241.66', 'tags': [], 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4'}} 2024-11-08 08:55:20,256 - INFO - Created VN ctest-vn-41228476 2024-11-08 08:55:20,313 - DEBUG - VN ctest-vn-41228476 UUID is 508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:20,437 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713, 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-60873555:ctest-vn-41228476, 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-08 08:55:20,766 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab79646e-4813-4873-9314-be1f8520f04c', 'name': 'ctest-vn-87366713', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74af83df-0fc6-479d-94a2-c54db4a33556'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-vn-87366713'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-policy-allow-all-36088937']], 'subnet_ipam': [{'subnet_cidr': '209.134.145.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:55:21,023 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd', 'name': 'ctest-vn-41228476', 'tenant_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'project_id': 'c11dcb7110ba4ee6b1ebcc1cc9f9d1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84d997a9-c237-43cf-9cdd-337216636abb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-vn-41228476'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-policy-allow-all-36088937']], 'subnet_ipam': [{'subnet_cidr': '139.39.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:55:21,177 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:21,528 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:21,560 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:21,577 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:21,660 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,677 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,692 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:21,702 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:21,712 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/bd852f60-f7ca-45fe-a3ab-3bce1508fde6 2024-11-08 08:55:21,722 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 08:55:21,722 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,737 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:21,760 - INFO - Verified VN network id 8 for VN ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,760 - INFO - Verifications in API Server for VN ctest-vn-87366713 passed 2024-11-08 08:55:21,760 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,775 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:21,785 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:21,797 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/bd852f60-f7ca-45fe-a3ab-3bce1508fde6 2024-11-08 08:55:21,812 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60873555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12356017477486069875', 'uuid-lslong': '10598304865696411724'}, 'enable': 'true', 'created': '2024-11-08T08:55:19', 'last-modified': '2024-11-08T08:55:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.072838'} 2024-11-08 08:55:21,819 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 08:55:21,820 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87366713 passed 2024-11-08 08:55:21,820 - DEBUG - ====Verifying policy data for ctest-vn-87366713 in API_Server ====== 2024-11-08 08:55:21,820 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:21,827 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:21,842 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:21,934 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab79646e-4813-4873-9314-be1f8520f04c 2024-11-08 08:55:21,949 - DEBUG - ==>Verifying data for policy with id: 164cce84-1b8b-446e-9d1f-a1d121521eb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-policy-allow-all-36088937'] 2024-11-08 08:55:21,949 - INFO - VN ctest-vn-87366713 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 08:55:21,949 - DEBUG - Verifying the vn in opserver 2024-11-08 08:55:21,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713 virtual network link through opserver 10.0.0.17 2024-11-08 08:55:21,950 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-11-08 08:55:22,287 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-11-08 08:55:22,351 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713?flat'} 2024-11-08 08:55:22,351 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713 is found in opserver 2024-11-08 08:55:22,364 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 08:55:22,370 - DEBUG - VRF ids for VN ctest-vn-87366713: {} 2024-11-08 08:55:22,370 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:22,377 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:22,390 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:22,477 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,494 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,508 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:22,517 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:22,525 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/2be34932-2dfb-42e8-9b55-e67516ead249 2024-11-08 08:55:22,532 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 08:55:22,532 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,545 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:22,564 - INFO - Verified VN network id 9 for VN 508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,564 - INFO - Verifications in API Server for VN ctest-vn-41228476 passed 2024-11-08 08:55:22,564 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,579 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:22,588 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:22,597 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/2be34932-2dfb-42e8-9b55-e67516ead249 2024-11-08 08:55:22,610 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-41228476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60873555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5805076991293279858', 'uuid-lslong': '13809700707136555261'}, 'enable': 'true', 'created': '2024-11-08T08:55:20', 'last-modified': '2024-11-08T08:55:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616368'} 2024-11-08 08:55:22,617 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 08:55:22,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41228476 passed 2024-11-08 08:55:22,617 - DEBUG - ====Verifying policy data for ctest-vn-41228476 in API_Server ====== 2024-11-08 08:55:22,617 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:22,623 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:22,636 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:22,717 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd 2024-11-08 08:55:22,733 - DEBUG - ==>Verifying data for policy with id: 164cce84-1b8b-446e-9d1f-a1d121521eb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-60873555', 'ctest-policy-allow-all-36088937'] 2024-11-08 08:55:22,733 - INFO - VN ctest-vn-41228476 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 08:55:22,733 - DEBUG - Verifying the vn in opserver 2024-11-08 08:55:22,733 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-41228476 virtual network link through opserver 10.0.0.17 2024-11-08 08:55:22,733 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-11-08 08:55:22,744 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-41228476', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-41228476?flat'} 2024-11-08 08:55:22,744 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-41228476 is found in opserver 2024-11-08 08:55:22,756 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 08:55:22,762 - DEBUG - VRF ids for VN ctest-vn-41228476: {} 2024-11-08 08:55:22,819 - DEBUG - Services list from nova: [, , ] 2024-11-08 08:55:23,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1) 2024-11-08 08:55:25,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1) 2024-11-08 08:55:25,404 - INFO - Waiting for VM ctest-TestBasicPolicy-60873555-67783189 to be up.. 2024-11-08 08:55:25,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 08:55:30,596 - DEBUG - VM is in ACTIVE state now 2024-11-08 08:55:30,597 - INFO - VM name : ctest-TestBasicPolicy-60873555-67783189 2024-11-08 08:55:30,679 - DEBUG - VM ctest-TestBasicPolicy-60873555-67783189 ID is 3039716f-f23b-4ec6-8af0-e8df04ced71c 2024-11-08 08:55:30,699 - DEBUG - VM ctest-TestBasicPolicy-60873555-67783189 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1 2024-11-08 08:55:30,783 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3039716f-f23b-4ec6-8af0-e8df04ced71c 2024-11-08 08:55:30,793 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/584aff8a-2b2c-4769-870a-259251cbdd55 2024-11-08 08:55:34,055 - 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 1010ms') 2024-11-08 08:55:34,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60873555-67783189 failed! 2024-11-08 08:55:34,121 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60873555:ctest-vn-87366713 is 209.134.145.1 and allocation pool is NOT set 2024-11-08 08:55:36,177 - 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=8.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/4.556/8.676/4.120 ms') 2024-11-08 08:55:36,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60873555-67783189 passed 2024-11-08 08:55:36,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:55:36,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60873555-67783189, IP 209.134.145.3, Port 22 2024-11-08 08:55:36,521 - DEBUG - VM ctest-TestBasicPolicy-60873555-67783189 is ready for SSH connections 2024-11-08 08:55:36,521 - INFO - Waiting for VM ctest-TestBasicPolicy-60873555-16991949 to be up.. 2024-11-08 08:55:36,609 - DEBUG - VM is in ACTIVE state now 2024-11-08 08:55:36,610 - INFO - VM name : ctest-TestBasicPolicy-60873555-16991949 2024-11-08 08:55:36,698 - DEBUG - VM ctest-TestBasicPolicy-60873555-16991949 ID is 98fa02b1-0329-41f5-b820-51a640fa216e 2024-11-08 08:55:36,698 - DEBUG - VM ctest-TestBasicPolicy-60873555-16991949 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1 2024-11-08 08:55:36,780 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/98fa02b1-0329-41f5-b820-51a640fa216e 2024-11-08 08:55:36,790 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/55040949-0bc6-4c05-bc84-7fdaf3a009ad 2024-11-08 08:55:38,050 - 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=3.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.247/2.538/3.830/1.291 ms') 2024-11-08 08:55:38,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60873555-16991949 passed 2024-11-08 08:55:38,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:55:38,213 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60873555-16991949, IP 139.39.241.67, Port 22 2024-11-08 08:55:38,379 - DEBUG - VM ctest-TestBasicPolicy-60873555-16991949 is ready for SSH connections 2024-11-08 08:55:38,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:55:38,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.39.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-11-08 08:55:38,379 - DEBUG - ping -s 56 -c 3 -W 1 139.39.241.67 2024-11-08 08:55:42,455 - DEBUG - PING 139.39.241.67 (139.39.241.67): 56 data bytes 64 bytes from 139.39.241.67: seq=0 ttl=63 time=4.540 ms 64 bytes from 139.39.241.67: seq=1 ttl=63 time=0.740 ms 64 bytes from 139.39.241.67: seq=2 ttl=63 time=0.949 ms --- 139.39.241.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/2.076/4.540 ms 2024-11-08 08:55:42,455 - INFO - Ping to IP 139.39.241.67 from VM ctest-TestBasicPolicy-60873555-67783189 passed 2024-11-08 08:55:42,693 - DEBUG - Policy Update Response {"network-policy": {"uuid": "164cce84-1b8b-446e-9d1f-a1d121521eb8", "href": "http://10.0.0.17:8082/network-policy/164cce84-1b8b-446e-9d1f-a1d121521eb8"}} 2024-11-08 08:55:42,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:55:42,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.39.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-11-08 08:55:42,694 - DEBUG - ping -s 56 -c 3 -W 1 139.39.241.67 2024-11-08 08:55:45,915 - DEBUG - PING 139.39.241.67 (139.39.241.67): 56 data bytes --- 139.39.241.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-08 08:55:45,915 - WARNING - Ping to IP 139.39.241.67 from VM ctest-TestBasicPolicy-60873555-67783189 failed 2024-11-08 08:55:45,915 - INFO - Deleting VM ctest-TestBasicPolicy-60873555-16991949 2024-11-08 08:55:45,984 - INFO - Deleting VM ctest-TestBasicPolicy-60873555-67783189 2024-11-08 08:55:46,420 - INFO - Deleted policy ctest-policy-allow-all-36088937 2024-11-08 08:55:46,420 - INFO - Deleting VN ctest-vn-41228476 2024-11-08 08:55:46,478 - DEBUG - VN 508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd still in use: Unable to complete operation on network 508fc6c4-57d4-4e72-bfa5-e9a04f55c8fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ea7639b-fa85-40fd-9d8f-0dfa3debba4e'] 2024-11-08 08:55:46,478 - WARNING - Deleting VN ctest-vn-41228476 failed..Will retry 2024-11-08 08:55:48,619 - DEBUG - Response for deleting network () 2024-11-08 08:55:48,619 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/c5cccc34-b559-464b-9bfc-dc09e6b5e946 2024-11-08 08:55:48,625 - DEBUG - Response Code: 404 2024-11-08 08:55:48,625 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:48,631 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:48,690 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:48,776 - INFO - Validated that VN ctest-vn-41228476 is not found in API Server 2024-11-08 08:55:48,790 - DEBUG - VN ctest-vn-41228476 is not present in Agent 10.0.0.17 2024-11-08 08:55:48,790 - INFO - Validated that VN ctest-vn-41228476 is not in any agent 2024-11-08 08:55:48,806 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41228476 info 2024-11-08 08:55:48,807 - INFO - Deleting VN ctest-vn-87366713 2024-11-08 08:55:48,919 - DEBUG - Response for deleting network () 2024-11-08 08:55:48,919 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3895a77b-df87-4611-9b8a-4fffeabb7f3f 2024-11-08 08:55:48,931 - DEBUG - Response Code: 404 2024-11-08 08:55:48,931 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-11-08 08:55:48,937 - DEBUG - Requesting: http://10.0.0.17:8082/domain/58735be2-adb9-4c31-874b-6f54e4f7aded 2024-11-08 08:55:48,995 - DEBUG - Requesting: http://10.0.0.17:8082/project/c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4 2024-11-08 08:55:49,079 - INFO - Validated that VN ctest-vn-87366713 is not found in API Server 2024-11-08 08:55:49,092 - DEBUG - VN ctest-vn-87366713 is not present in Agent 10.0.0.17 2024-11-08 08:55:49,092 - INFO - Validated that VN ctest-vn-87366713 is not in any agent 2024-11-08 08:55:49,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87366713 info 2024-11-08 08:55:49,372 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 08:55:49,372 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2024-11-08 08:55:49,372 - INFO - -------------------------------------------------------------------------------- 2024-11-08 08:55:50,192 - INFO - Deleted project: ctest-TestBasicPolicy-60873555, ID : c11dcb71-10ba-4ee6-b1eb-cc1cc9f9d1b4