2025-11-07 20:14:05,058 - INFO - Domain Default found not creating 2025-11-07 20:14:05,362 - INFO - Project ctest-TestBasicPolicy-00105608 not found, creating it 2025-11-07 20:14:06,061 - INFO - Created Project:ctest-TestBasicPolicy-00105608, ID : ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:08,204 - INFO - ================================================================================ 2025-11-07 20:14:08,205 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 20:14:08,205 - 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-11-07 20:14:08,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:14:08,549 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:14:08,549 - INFO - 2025-11-07 20:14:09,435 - DEBUG - Response for create_network : {'network': {'id': '0b5e5ec5-91de-40a4-97bc-39225f3bba90', 'name': 'ctest-vn-00777178', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'project_id': 'ce490943675b42febc29d6bfee7e0fc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-vn-00777178'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:09,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '9673b6cb-c6ee-4585-84c3-76f862c7da4c', 'name': '', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'network_id': '0b5e5ec5-91de-40a4-97bc-39225f3bba90', 'ip_version': 4, 'cidr': '50.153.249.64/26', 'allocation_pools': [{'start': '50.153.249.66', 'end': '50.153.249.126'}], 'gateway_ip': '50.153.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.153.249.66', 'tags': [], 'project_id': 'ce490943675b42febc29d6bfee7e0fc8'}} 2025-11-07 20:14:09,657 - INFO - Created VN ctest-vn-00777178 2025-11-07 20:14:09,714 - DEBUG - VN ctest-vn-00777178 UUID is 0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:10,227 - DEBUG - Response for create_network : {'network': {'id': '29c43017-2a63-4f9d-acd1-e402149e948f', 'name': 'ctest-vn-10487722', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'project_id': 'ce490943675b42febc29d6bfee7e0fc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-vn-10487722'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:10,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '17f2a117-61a9-442b-858d-ba05553526e6', 'name': '', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'network_id': '29c43017-2a63-4f9d-acd1-e402149e948f', 'ip_version': 4, 'cidr': '111.104.58.128/26', 'allocation_pools': [{'start': '111.104.58.130', 'end': '111.104.58.190'}], 'gateway_ip': '111.104.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.104.58.130', 'tags': [], 'project_id': 'ce490943675b42febc29d6bfee7e0fc8'}} 2025-11-07 20:14:10,437 - INFO - Created VN ctest-vn-10487722 2025-11-07 20:14:10,494 - DEBUG - VN ctest-vn-10487722 UUID is 29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:10,645 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178, 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-00105608:ctest-vn-10487722, 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-11-07 20:14:11,080 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b5e5ec5-91de-40a4-97bc-39225f3bba90', 'name': 'ctest-vn-00777178', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'project_id': 'ce490943675b42febc29d6bfee7e0fc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9673b6cb-c6ee-4585-84c3-76f862c7da4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-vn-00777178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-policy-allow-all-84050517']], 'subnet_ipam': [{'subnet_cidr': '50.153.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:11,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29c43017-2a63-4f9d-acd1-e402149e948f', 'name': 'ctest-vn-10487722', 'tenant_id': 'ce490943675b42febc29d6bfee7e0fc8', 'project_id': 'ce490943675b42febc29d6bfee7e0fc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17f2a117-61a9-442b-858d-ba05553526e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-vn-10487722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-policy-allow-all-84050517']], 'subnet_ipam': [{'subnet_cidr': '111.104.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:11,670 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:12,027 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:12,084 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:12,111 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:12,231 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,258 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,280 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:12,298 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:12,316 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/33fd5e91-a5cd-470a-805f-311804815e69 2025-11-07 20:14:12,329 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 20:14:12,329 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,351 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:12,386 - INFO - Verified VN network id 11 for VN 0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,386 - INFO - Verifications in API Server for VN ctest-vn-00777178 passed 2025-11-07 20:14:12,386 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,412 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:12,427 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:12,444 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/33fd5e91-a5cd-470a-805f-311804815e69 2025-11-07 20:14:12,477 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00105608', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '819196384876839076', 'uuid-lslong': '10933676815138142864'}, 'enable': 'true', 'created': '2025-11-07T20:14:09', 'last-modified': '2025-11-07T20:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442541'} 2025-11-07 20:14:12,494 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 20:14:12,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00777178 passed 2025-11-07 20:14:12,495 - DEBUG - ====Verifying policy data for ctest-vn-00777178 in API_Server ====== 2025-11-07 20:14:12,495 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:12,508 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:12,541 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:12,655 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0b5e5ec5-91de-40a4-97bc-39225f3bba90 2025-11-07 20:14:12,676 - DEBUG - ==>Verifying data for policy with id: 3e339df8-8b6b-4e01-ad01-96b5e18c34fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-policy-allow-all-84050517'] 2025-11-07 20:14:12,676 - INFO - VN ctest-vn-00777178 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 20:14:12,676 - DEBUG - Verifying the vn in opserver 2025-11-07 20:14:12,676 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178 virtual network link through opserver 10.0.0.241 2025-11-07 20:14:12,677 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-07 20:14:13,007 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-07 20:14:13,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178?flat'} 2025-11-07 20:14:13,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178 is found in opserver 2025-11-07 20:14:13,198 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 20:14:13,212 - DEBUG - VRF ids for VN ctest-vn-00777178: {} 2025-11-07 20:14:13,212 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:13,226 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:13,251 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:13,363 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,383 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,403 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:13,418 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:13,431 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/959d2e12-aa0f-4074-ba47-19f37af1e37e 2025-11-07 20:14:13,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 20:14:13,444 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,463 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:13,495 - INFO - Verified VN network id 12 for VN 29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,495 - INFO - Verifications in API Server for VN ctest-vn-10487722 passed 2025-11-07 20:14:13,495 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,514 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:13,528 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:13,548 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/959d2e12-aa0f-4074-ba47-19f37af1e37e 2025-11-07 20:14:13,567 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-10487722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00105608', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3009583327043866525', 'uuid-lslong': '12452985142243136655'}, 'enable': 'true', 'created': '2025-11-07T20:14:10', 'last-modified': '2025-11-07T20:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.171458'} 2025-11-07 20:14:13,580 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 20:14:13,580 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10487722 passed 2025-11-07 20:14:13,580 - DEBUG - ====Verifying policy data for ctest-vn-10487722 in API_Server ====== 2025-11-07 20:14:13,580 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:13,590 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:13,612 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:13,704 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/29c43017-2a63-4f9d-acd1-e402149e948f 2025-11-07 20:14:13,719 - DEBUG - ==>Verifying data for policy with id: 3e339df8-8b6b-4e01-ad01-96b5e18c34fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-00105608', 'ctest-policy-allow-all-84050517'] 2025-11-07 20:14:13,719 - INFO - VN ctest-vn-10487722 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 20:14:13,719 - DEBUG - Verifying the vn in opserver 2025-11-07 20:14:13,719 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-10487722 virtual network link through opserver 10.0.0.241 2025-11-07 20:14:13,719 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-07 20:14:13,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-10487722', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-10487722?flat'} 2025-11-07 20:14:13,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-10487722 is found in opserver 2025-11-07 20:14:13,750 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 20:14:13,759 - DEBUG - VRF ids for VN ctest-vn-10487722: {} 2025-11-07 20:14:13,883 - DEBUG - Services list from nova: [, , ] 2025-11-07 20:14:15,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:14:16,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:14:16,924 - INFO - Waiting for VM ctest-TestBasicPolicy-00105608-59098986 to be up.. 2025-11-07 20:14:16,994 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 20:14:22,117 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:14:22,117 - INFO - VM name : ctest-TestBasicPolicy-00105608-59098986 2025-11-07 20:14:22,265 - DEBUG - VM ctest-TestBasicPolicy-00105608-59098986 ID is 2c3ea2dd-8123-4a7c-8246-4b78068e45cf 2025-11-07 20:14:22,298 - DEBUG - VM ctest-TestBasicPolicy-00105608-59098986 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:14:22,390 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2c3ea2dd-8123-4a7c-8246-4b78068e45cf 2025-11-07 20:14:22,398 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/35aaeab3-0261-44cf-b476-592533601337 2025-11-07 20:14:25,674 - 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 1013ms') 2025-11-07 20:14:25,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00105608-59098986 failed! 2025-11-07 20:14:25,734 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00105608:ctest-vn-00777178 is 50.153.249.65 and allocation pool is NOT set 2025-11-07 20:14:27,816 - 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=7.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.52 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 = 2.516/5.137/7.759/2.621 ms') 2025-11-07 20:14:27,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00105608-59098986 passed 2025-11-07 20:14:27,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:14:27,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00105608-59098986, IP 50.153.249.67, Port 22 2025-11-07 20:14:28,045 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-07 20:14:28,132 - DEBUG - VM ctest-TestBasicPolicy-00105608-59098986 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-07 20:14:33,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:14:33,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00105608-59098986, IP 50.153.249.67, Port 22 2025-11-07 20:14:33,345 - DEBUG - VM ctest-TestBasicPolicy-00105608-59098986 is ready for SSH connections 2025-11-07 20:14:33,345 - INFO - Waiting for VM ctest-TestBasicPolicy-00105608-74976316 to be up.. 2025-11-07 20:14:33,543 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:14:33,543 - INFO - VM name : ctest-TestBasicPolicy-00105608-74976316 2025-11-07 20:14:33,734 - DEBUG - VM ctest-TestBasicPolicy-00105608-74976316 ID is 3bfbe15e-7e41-42a1-b4dc-486fe45ce610 2025-11-07 20:14:33,734 - DEBUG - VM ctest-TestBasicPolicy-00105608-74976316 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:14:33,903 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/3bfbe15e-7e41-42a1-b4dc-486fe45ce610 2025-11-07 20:14:33,925 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a0342cab-c622-4471-9a78-312a627e863b 2025-11-07 20:14:35,258 - 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=9.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.732 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.732/4.884/9.036/4.152 ms') 2025-11-07 20:14:35,259 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00105608-74976316 passed 2025-11-07 20:14:35,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:14:35,439 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00105608-74976316, IP 111.104.58.131, Port 22 2025-11-07 20:14:35,635 - DEBUG - VM ctest-TestBasicPolicy-00105608-74976316 is ready for SSH connections 2025-11-07 20:14:35,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:14:35,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.104.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:14:35,636 - DEBUG - ping -s 56 -c 3 -W 1 111.104.58.131 2025-11-07 20:14:40,097 - DEBUG - PING 111.104.58.131 (111.104.58.131): 56 data bytes 64 bytes from 111.104.58.131: seq=0 ttl=63 time=4.216 ms 64 bytes from 111.104.58.131: seq=1 ttl=63 time=2.856 ms 64 bytes from 111.104.58.131: seq=2 ttl=63 time=1.295 ms --- 111.104.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.295/2.789/4.216 ms 2025-11-07 20:14:40,097 - INFO - Ping to IP 111.104.58.131 from VM ctest-TestBasicPolicy-00105608-59098986 passed 2025-11-07 20:14:40,286 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3e339df8-8b6b-4e01-ad01-96b5e18c34fb", "href": "http://10.0.0.241:8082/network-policy/3e339df8-8b6b-4e01-ad01-96b5e18c34fb"}} 2025-11-07 20:14:40,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:14:40,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.104.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:14:40,286 - DEBUG - ping -s 56 -c 3 -W 1 111.104.58.131 2025-11-07 20:14:43,554 - DEBUG - PING 111.104.58.131 (111.104.58.131): 56 data bytes 64 bytes from 111.104.58.131: seq=0 ttl=63 time=2.472 ms --- 111.104.58.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.472/2.472/2.472 ms 2025-11-07 20:14:43,554 - WARNING - Ping to IP 111.104.58.131 from VM ctest-TestBasicPolicy-00105608-59098986 failed 2025-11-07 20:14:43,554 - INFO - Deleting VM ctest-TestBasicPolicy-00105608-74976316 2025-11-07 20:14:43,640 - INFO - Deleting VM ctest-TestBasicPolicy-00105608-59098986 2025-11-07 20:14:44,210 - INFO - Deleted policy ctest-policy-allow-all-84050517 2025-11-07 20:14:44,211 - INFO - Deleting VN ctest-vn-10487722 2025-11-07 20:14:44,253 - DEBUG - VN 29c43017-2a63-4f9d-acd1-e402149e948f still in use: Unable to complete operation on network 29c43017-2a63-4f9d-acd1-e402149e948f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5194340-8695-4c40-b479-fa62e31d46a2'] 2025-11-07 20:14:44,253 - WARNING - Deleting VN ctest-vn-10487722 failed..Will retry 2025-11-07 20:14:46,485 - DEBUG - Response for deleting network () 2025-11-07 20:14:46,485 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/9ec559b7-d036-4f68-8ec0-1b5dacf45646 2025-11-07 20:14:46,495 - DEBUG - Response Code: 404 2025-11-07 20:14:46,495 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:46,504 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:46,528 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:46,639 - INFO - Validated that VN ctest-vn-10487722 is not found in API Server 2025-11-07 20:14:46,664 - DEBUG - VN ctest-vn-10487722 is not present in Agent 10.0.0.241 2025-11-07 20:14:46,664 - INFO - Validated that VN ctest-vn-10487722 is not in any agent 2025-11-07 20:14:46,696 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10487722 info 2025-11-07 20:14:46,696 - INFO - Deleting VN ctest-vn-00777178 2025-11-07 20:14:46,934 - DEBUG - Response for deleting network () 2025-11-07 20:14:46,934 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/14a17ec2-0945-4316-b9c6-3ed6f8ff417a 2025-11-07 20:14:46,942 - DEBUG - Response Code: 404 2025-11-07 20:14:46,942 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-07 20:14:46,949 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c2cf6498-5682-42c6-9800-de4d96a6c538 2025-11-07 20:14:47,009 - DEBUG - Requesting: http://10.0.0.241:8082/project/ce490943-675b-42fe-bc29-d6bfee7e0fc8 2025-11-07 20:14:47,110 - INFO - Validated that VN ctest-vn-00777178 is not found in API Server 2025-11-07 20:14:47,132 - DEBUG - VN ctest-vn-00777178 is not present in Agent 10.0.0.241 2025-11-07 20:14:47,132 - INFO - Validated that VN ctest-vn-00777178 is not in any agent 2025-11-07 20:14:47,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00777178 info 2025-11-07 20:14:47,519 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 20:14:47,519 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-11-07 20:14:47,520 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:14:48,530 - INFO - Deleted project: ctest-TestBasicPolicy-00105608, ID : ce490943-675b-42fe-bc29-d6bfee7e0fc8