2025-06-30 15:07:31,971 - INFO - Domain Default found not creating 2025-06-30 15:07:32,106 - INFO - Project ctest-TestBasicPolicy-68641790 not found, creating it 2025-06-30 15:07:32,662 - INFO - Created Project:ctest-TestBasicPolicy-68641790, ID : b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:07:34,106 - INFO - ================================================================================ 2025-06-30 15:07:34,106 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 15:07:34,106 - 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-06-30 15:07:34,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-30 15:07:34,360 - INFO - Initial checks done. Running the testcase now 2025-06-30 15:07:34,360 - INFO - 2025-06-30 15:07:34,931 - DEBUG - Response for create_network : {'network': {'id': '61b20dbe-6759-4a91-bc92-d30c91d8fbf5', 'name': 'ctest-vn-90568477', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-vn-90568477'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:35,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff85eb81-4149-4229-bf32-73ef3ebdc717', 'name': '', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'network_id': '61b20dbe-6759-4a91-bc92-d30c91d8fbf5', 'ip_version': 4, 'cidr': '199.55.241.128/26', 'allocation_pools': [{'start': '199.55.241.130', 'end': '199.55.241.190'}], 'gateway_ip': '199.55.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.55.241.130', 'tags': [], 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25'}} 2025-06-30 15:07:35,129 - INFO - Created VN ctest-vn-90568477 2025-06-30 15:07:35,186 - DEBUG - VN ctest-vn-90568477 UUID is 61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:35,532 - DEBUG - Response for create_network : {'network': {'id': 'af926e9b-a19b-4cd2-b292-9e16aaff54ac', 'name': 'ctest-vn-36560898', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-vn-36560898'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:35,720 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efb84ac0-008a-4853-9b88-373ef8a96d61', 'name': '', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'network_id': 'af926e9b-a19b-4cd2-b292-9e16aaff54ac', 'ip_version': 4, 'cidr': '183.9.12.128/26', 'allocation_pools': [{'start': '183.9.12.130', 'end': '183.9.12.190'}], 'gateway_ip': '183.9.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.9.12.130', 'tags': [], 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25'}} 2025-06-30 15:07:35,736 - INFO - Created VN ctest-vn-36560898 2025-06-30 15:07:35,790 - DEBUG - VN ctest-vn-36560898 UUID is af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:35,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477, 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-68641790:ctest-vn-36560898, 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-06-30 15:07:36,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61b20dbe-6759-4a91-bc92-d30c91d8fbf5', 'name': 'ctest-vn-90568477', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff85eb81-4149-4229-bf32-73ef3ebdc717'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-vn-90568477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-policy-allow-all-12260020']], 'subnet_ipam': [{'subnet_cidr': '199.55.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:36,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af926e9b-a19b-4cd2-b292-9e16aaff54ac', 'name': 'ctest-vn-36560898', 'tenant_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'project_id': 'b2e943b21e7c4bd88e6838cb0f87bd25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['efb84ac0-008a-4853-9b88-373ef8a96d61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-vn-36560898'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-policy-allow-all-12260020']], 'subnet_ipam': [{'subnet_cidr': '183.9.12.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:07:36,598 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:07:36,892 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:07:36,921 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:07:36,933 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:07:37,011 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,024 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,034 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:07:37,042 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:07:37,049 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/82caede3-1494-444f-a5dc-243c7a1dd1f6 2025-06-30 15:07:37,056 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 15:07:37,056 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,066 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:07:37,080 - INFO - Verified VN network id 8 for VN 61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,080 - INFO - Verifications in API Server for VN ctest-vn-90568477 passed 2025-06-30 15:07:37,080 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,090 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:07:37,097 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:07:37,104 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/82caede3-1494-444f-a5dc-243c7a1dd1f6 2025-06-30 15:07:37,117 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68641790', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7039704278962358929', 'uuid-lslong': '13588155076670192629'}, 'enable': 'true', 'created': '2025-06-30T15:07:34', 'last-modified': '2025-06-30T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942277'} 2025-06-30 15:07:37,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 15:07:37,123 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90568477 passed 2025-06-30 15:07:37,123 - DEBUG - ====Verifying policy data for ctest-vn-90568477 in API_Server ====== 2025-06-30 15:07:37,123 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:07:37,129 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:07:37,140 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:07:37,217 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/61b20dbe-6759-4a91-bc92-d30c91d8fbf5 2025-06-30 15:07:37,228 - DEBUG - ==>Verifying data for policy with id: a3bfe788-7d91-421f-b47e-b1822cb43e26, fqn: ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-policy-allow-all-12260020'] 2025-06-30 15:07:37,228 - INFO - VN ctest-vn-90568477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 15:07:37,228 - DEBUG - Verifying the vn in opserver 2025-06-30 15:07:37,228 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477 virtual network link through opserver 10.0.0.49 2025-06-30 15:07:37,229 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 15:07:37,523 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 15:07:37,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477?flat'} 2025-06-30 15:07:37,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477 is found in opserver 2025-06-30 15:07:37,603 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 15:07:37,608 - DEBUG - VRF ids for VN ctest-vn-90568477: {} 2025-06-30 15:07:37,608 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:07:37,614 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:07:37,627 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:07:37,697 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,710 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,721 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:07:37,729 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:07:37,737 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/be5572a8-d50c-49c4-81df-ccb5a3b0431c 2025-06-30 15:07:37,744 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 15:07:37,744 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,756 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:07:37,771 - INFO - Verified VN network id 9 for VN af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,772 - INFO - Verifications in API Server for VN ctest-vn-36560898 passed 2025-06-30 15:07:37,772 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,782 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:07:37,790 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:07:37,797 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/be5572a8-d50c-49c4-81df-ccb5a3b0431c 2025-06-30 15:07:37,810 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-36560898', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68641790', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12651295917947440338', 'uuid-lslong': '12867520905546257580'}, 'enable': 'true', 'created': '2025-06-30T15:07:35', 'last-modified': '2025-06-30T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398578'} 2025-06-30 15:07:37,816 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 15:07:37,817 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36560898 passed 2025-06-30 15:07:37,817 - DEBUG - ====Verifying policy data for ctest-vn-36560898 in API_Server ====== 2025-06-30 15:07:37,817 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:07:37,823 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:07:37,835 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:07:37,915 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af926e9b-a19b-4cd2-b292-9e16aaff54ac 2025-06-30 15:07:37,927 - DEBUG - ==>Verifying data for policy with id: a3bfe788-7d91-421f-b47e-b1822cb43e26, fqn: ['default-domain', 'ctest-TestBasicPolicy-68641790', 'ctest-policy-allow-all-12260020'] 2025-06-30 15:07:37,927 - INFO - VN ctest-vn-36560898 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 15:07:37,927 - DEBUG - Verifying the vn in opserver 2025-06-30 15:07:37,927 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-36560898 virtual network link through opserver 10.0.0.49 2025-06-30 15:07:37,927 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 15:07:37,940 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-36560898', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-36560898?flat'} 2025-06-30 15:07:37,940 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-36560898 is found in opserver 2025-06-30 15:07:37,955 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 15:07:37,963 - DEBUG - VRF ids for VN ctest-vn-36560898: {} 2025-06-30 15:07:38,023 - DEBUG - Services list from nova: [, , ] 2025-06-30 15:07:39,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3577-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3577-1) 2025-06-30 15:07:40,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3577-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3577-1) 2025-06-30 15:07:40,304 - INFO - Waiting for VM ctest-TestBasicPolicy-68641790-45066470 to be up.. 2025-06-30 15:07:40,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 15:07:45,475 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:07:45,476 - INFO - VM name : ctest-TestBasicPolicy-68641790-45066470 2025-06-30 15:07:45,554 - DEBUG - VM ctest-TestBasicPolicy-68641790-45066470 ID is 9d3f3f0f-7356-4c1b-b650-1b8d285b4486 2025-06-30 15:07:45,573 - DEBUG - VM ctest-TestBasicPolicy-68641790-45066470 launched on Node cn-jenkins-deploy-platform-ansible-os-3577-1 2025-06-30 15:07:45,652 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9d3f3f0f-7356-4c1b-b650-1b8d285b4486 2025-06-30 15:07:45,661 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2019b0e0-f219-4c63-b74b-6082c29d0a2a 2025-06-30 15:07:48,909 - 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 1011ms') 2025-06-30 15:07:48,909 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68641790-45066470 failed! 2025-06-30 15:07:48,966 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68641790:ctest-vn-90568477 is 199.55.241.129 and allocation pool is NOT set 2025-06-30 15:07:51,024 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.021/2.349/3.677/1.328 ms') 2025-06-30 15:07:51,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68641790-45066470 passed 2025-06-30 15:07:51,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:51,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68641790-45066470, IP 199.55.241.131, Port 22 2025-06-30 15:07:51,333 - DEBUG - VM ctest-TestBasicPolicy-68641790-45066470 is ready for SSH connections 2025-06-30 15:07:51,333 - INFO - Waiting for VM ctest-TestBasicPolicy-68641790-66581734 to be up.. 2025-06-30 15:07:51,413 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:07:51,413 - INFO - VM name : ctest-TestBasicPolicy-68641790-66581734 2025-06-30 15:07:51,492 - DEBUG - VM ctest-TestBasicPolicy-68641790-66581734 ID is b1732d5b-920b-4397-ab46-984862f92cec 2025-06-30 15:07:51,493 - DEBUG - VM ctest-TestBasicPolicy-68641790-66581734 launched on Node cn-jenkins-deploy-platform-ansible-os-3577-1 2025-06-30 15:07:51,579 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b1732d5b-920b-4397-ab46-984862f92cec 2025-06-30 15:07:51,589 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ea93b552-77c8-4d69-840c-6d633ab34a25 2025-06-30 15:07:52,832 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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.460/2.572/3.685/1.112 ms') 2025-06-30 15:07:52,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68641790-66581734 passed 2025-06-30 15:07:52,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:52,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68641790-66581734, IP 183.9.12.131, Port 22 2025-06-30 15:07:53,137 - DEBUG - VM ctest-TestBasicPolicy-68641790-66581734 is ready for SSH connections 2025-06-30 15:07:53,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:53,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.9.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-30 15:07:53,137 - DEBUG - ping -s 56 -c 3 -W 1 183.9.12.131 2025-06-30 15:07:56,850 - DEBUG - PING 183.9.12.131 (183.9.12.131): 56 data bytes 64 bytes from 183.9.12.131: seq=0 ttl=63 time=3.481 ms 64 bytes from 183.9.12.131: seq=1 ttl=63 time=0.793 ms 64 bytes from 183.9.12.131: seq=2 ttl=63 time=1.230 ms --- 183.9.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.834/3.481 ms 2025-06-30 15:07:56,850 - INFO - Ping to IP 183.9.12.131 from VM ctest-TestBasicPolicy-68641790-45066470 passed 2025-06-30 15:07:57,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3bfe788-7d91-421f-b47e-b1822cb43e26", "href": "http://10.0.0.49:8082/network-policy/a3bfe788-7d91-421f-b47e-b1822cb43e26"}} 2025-06-30 15:07:57,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:07:57,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.9.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-30 15:07:57,038 - DEBUG - ping -s 56 -c 3 -W 1 183.9.12.131 2025-06-30 15:08:00,247 - DEBUG - PING 183.9.12.131 (183.9.12.131): 56 data bytes --- 183.9.12.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 15:08:00,247 - WARNING - Ping to IP 183.9.12.131 from VM ctest-TestBasicPolicy-68641790-45066470 failed 2025-06-30 15:08:00,248 - INFO - Deleting VM ctest-TestBasicPolicy-68641790-66581734 2025-06-30 15:08:00,309 - INFO - Deleting VM ctest-TestBasicPolicy-68641790-45066470 2025-06-30 15:08:00,665 - INFO - Deleted policy ctest-policy-allow-all-12260020 2025-06-30 15:08:00,665 - INFO - Deleting VN ctest-vn-36560898 2025-06-30 15:08:00,701 - DEBUG - VN af926e9b-a19b-4cd2-b292-9e16aaff54ac still in use: Unable to complete operation on network af926e9b-a19b-4cd2-b292-9e16aaff54ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc7bac6d-c6f6-47e2-aac2-a073161d9990'] 2025-06-30 15:08:00,701 - WARNING - Deleting VN ctest-vn-36560898 failed..Will retry 2025-06-30 15:08:02,851 - DEBUG - Response for deleting network () 2025-06-30 15:08:02,852 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c370f384-3305-45e0-b67e-48b24abae205 2025-06-30 15:08:02,863 - DEBUG - Response Code: 404 2025-06-30 15:08:02,863 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:08:02,873 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:08:02,927 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:08:02,999 - INFO - Validated that VN ctest-vn-36560898 is not found in API Server 2025-06-30 15:08:03,011 - DEBUG - VN ctest-vn-36560898 is not present in Agent 10.0.0.49 2025-06-30 15:08:03,011 - INFO - Validated that VN ctest-vn-36560898 is not in any agent 2025-06-30 15:08:03,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36560898 info 2025-06-30 15:08:03,026 - INFO - Deleting VN ctest-vn-90568477 2025-06-30 15:08:03,138 - DEBUG - Response for deleting network () 2025-06-30 15:08:03,139 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/538abada-c061-4bb4-a6aa-4872913232e6 2025-06-30 15:08:03,144 - DEBUG - Response Code: 404 2025-06-30 15:08:03,144 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 15:08:03,151 - DEBUG - Requesting: http://10.0.0.49:8082/domain/00597c6a-3493-4e48-a492-b5e18adf58ee 2025-06-30 15:08:03,203 - DEBUG - Requesting: http://10.0.0.49:8082/project/b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25 2025-06-30 15:08:03,274 - INFO - Validated that VN ctest-vn-90568477 is not found in API Server 2025-06-30 15:08:03,284 - DEBUG - VN ctest-vn-90568477 is not present in Agent 10.0.0.49 2025-06-30 15:08:03,284 - INFO - Validated that VN ctest-vn-90568477 is not in any agent 2025-06-30 15:08:03,301 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90568477 info 2025-06-30 15:08:03,556 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 15:08:03,556 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-30 15:08:03,556 - INFO - -------------------------------------------------------------------------------- 2025-06-30 15:08:04,230 - INFO - Deleted project: ctest-TestBasicPolicy-68641790, ID : b2e943b2-1e7c-4bd8-8e68-38cb0f87bd25