2025-10-23 21:23:07,730 - INFO - Domain Default found not creating 2025-10-23 21:23:07,898 - INFO - Project ctest-TestBasicPolicy-44436639 not found, creating it 2025-10-23 21:23:08,361 - INFO - Created Project:ctest-TestBasicPolicy-44436639, ID : e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:09,947 - INFO - ================================================================================ 2025-10-23 21:23:09,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 21:23:09,947 - 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-10-23 21:23:10,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 21:23:10,202 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:23:10,202 - INFO - 2025-10-23 21:23:10,786 - DEBUG - Response for create_network : {'network': {'id': '4add7577-9bcc-4724-a62a-8f7ff69e62ab', 'name': 'ctest-vn-21340086', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'project_id': 'e24784eb149b4332a85608e25f8dda9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-vn-21340086'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:23:10,945 - DEBUG - Response for create_subnet : {'subnet': {'id': '73e6189c-b95e-4900-8626-4acaee1950fd', 'name': '', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'network_id': '4add7577-9bcc-4724-a62a-8f7ff69e62ab', 'ip_version': 4, 'cidr': '22.201.54.128/26', 'allocation_pools': [{'start': '22.201.54.130', 'end': '22.201.54.190'}], 'gateway_ip': '22.201.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.201.54.130', 'tags': [], 'project_id': 'e24784eb149b4332a85608e25f8dda9f'}} 2025-10-23 21:23:10,964 - INFO - Created VN ctest-vn-21340086 2025-10-23 21:23:11,015 - DEBUG - VN ctest-vn-21340086 UUID is 4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:11,304 - DEBUG - Response for create_network : {'network': {'id': 'f13ae3fa-11f7-4657-8809-ad44a2eab44c', 'name': 'ctest-vn-75329146', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'project_id': 'e24784eb149b4332a85608e25f8dda9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-vn-75329146'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:23:11,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca4b5388-a43b-4300-b020-7102f1333e84', 'name': '', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'network_id': 'f13ae3fa-11f7-4657-8809-ad44a2eab44c', 'ip_version': 4, 'cidr': '176.202.233.192/26', 'allocation_pools': [{'start': '176.202.233.194', 'end': '176.202.233.254'}], 'gateway_ip': '176.202.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.202.233.194', 'tags': [], 'project_id': 'e24784eb149b4332a85608e25f8dda9f'}} 2025-10-23 21:23:11,511 - INFO - Created VN ctest-vn-75329146 2025-10-23 21:23:11,568 - DEBUG - VN ctest-vn-75329146 UUID is f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:11,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086, 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-44436639:ctest-vn-75329146, 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-10-23 21:23:11,990 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4add7577-9bcc-4724-a62a-8f7ff69e62ab', 'name': 'ctest-vn-21340086', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'project_id': 'e24784eb149b4332a85608e25f8dda9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73e6189c-b95e-4900-8626-4acaee1950fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-vn-21340086'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-policy-allow-all-55185417']], 'subnet_ipam': [{'subnet_cidr': '22.201.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:23:12,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f13ae3fa-11f7-4657-8809-ad44a2eab44c', 'name': 'ctest-vn-75329146', 'tenant_id': 'e24784eb149b4332a85608e25f8dda9f', 'project_id': 'e24784eb149b4332a85608e25f8dda9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca4b5388-a43b-4300-b020-7102f1333e84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-vn-75329146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-policy-allow-all-55185417']], 'subnet_ipam': [{'subnet_cidr': '176.202.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:23:12,400 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:12,751 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:12,782 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:12,796 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:12,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:12,881 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:12,891 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:12,898 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:12,905 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3c47b3eb-1967-4d8b-a6d6-6ecdbf9b4ade 2025-10-23 21:23:12,912 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 21:23:12,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:12,920 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:12,935 - INFO - Verified VN network id 11 for VN 4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:12,935 - INFO - Verifications in API Server for VN ctest-vn-21340086 passed 2025-10-23 21:23:12,935 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:12,944 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:12,950 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:12,957 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3c47b3eb-1967-4d8b-a6d6-6ecdbf9b4ade 2025-10-23 21:23:12,969 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44436639', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5394597085235136292', 'uuid-lslong': '11973540339079078571'}, 'enable': 'true', 'created': '2025-10-23T21:23:10', 'last-modified': '2025-10-23T21:23:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999863'} 2025-10-23 21:23:12,975 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 21:23:12,975 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21340086 passed 2025-10-23 21:23:12,975 - DEBUG - ====Verifying policy data for ctest-vn-21340086 in API_Server ====== 2025-10-23 21:23:12,975 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:12,981 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:12,992 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:13,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4add7577-9bcc-4724-a62a-8f7ff69e62ab 2025-10-23 21:23:13,072 - DEBUG - ==>Verifying data for policy with id: 99222d88-b14f-4df5-bf55-ad4f3d9183b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-policy-allow-all-55185417'] 2025-10-23 21:23:13,072 - INFO - VN ctest-vn-21340086 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 21:23:13,072 - DEBUG - Verifying the vn in opserver 2025-10-23 21:23:13,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086 virtual network link through opserver 10.0.0.254 2025-10-23 21:23:13,072 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 21:23:13,403 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 21:23:13,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086?flat'} 2025-10-23 21:23:13,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086 is found in opserver 2025-10-23 21:23:13,472 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 21:23:13,476 - DEBUG - VRF ids for VN ctest-vn-21340086: {} 2025-10-23 21:23:13,476 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:13,481 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:13,492 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:13,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,588 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:13,595 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:13,601 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/49ff8e13-b5b5-489a-9dd9-ef1d56be6e6c 2025-10-23 21:23:13,608 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 21:23:13,608 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,617 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:13,632 - INFO - Verified VN network id 12 for VN f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,632 - INFO - Verifications in API Server for VN ctest-vn-75329146 passed 2025-10-23 21:23:13,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,641 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:13,648 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:13,654 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/49ff8e13-b5b5-489a-9dd9-ef1d56be6e6c 2025-10-23 21:23:13,665 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-75329146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44436639', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17382456374972597847', 'uuid-lslong': '9802556574251267148'}, 'enable': 'true', 'created': '2025-10-23T21:23:11', 'last-modified': '2025-10-23T21:23:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.457517'} 2025-10-23 21:23:13,671 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 21:23:13,671 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75329146 passed 2025-10-23 21:23:13,671 - DEBUG - ====Verifying policy data for ctest-vn-75329146 in API_Server ====== 2025-10-23 21:23:13,671 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:13,677 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:13,688 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:13,761 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f13ae3fa-11f7-4657-8809-ad44a2eab44c 2025-10-23 21:23:13,771 - DEBUG - ==>Verifying data for policy with id: 99222d88-b14f-4df5-bf55-ad4f3d9183b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-44436639', 'ctest-policy-allow-all-55185417'] 2025-10-23 21:23:13,771 - INFO - VN ctest-vn-75329146 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 21:23:13,771 - DEBUG - Verifying the vn in opserver 2025-10-23 21:23:13,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-75329146 virtual network link through opserver 10.0.0.254 2025-10-23 21:23:13,771 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 21:23:13,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-75329146', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-75329146?flat'} 2025-10-23 21:23:13,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-75329146 is found in opserver 2025-10-23 21:23:13,792 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 21:23:13,796 - DEBUG - VRF ids for VN ctest-vn-75329146: {} 2025-10-23 21:23:13,859 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:23:14,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:23:16,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:23:16,229 - INFO - Waiting for VM ctest-TestBasicPolicy-44436639-87929134 to be up.. 2025-10-23 21:23:16,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:23:21,405 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:23:21,405 - INFO - VM name : ctest-TestBasicPolicy-44436639-87929134 2025-10-23 21:23:21,493 - DEBUG - VM ctest-TestBasicPolicy-44436639-87929134 ID is 01b33e65-624a-429a-8a4f-9f25d51aeb85 2025-10-23 21:23:21,514 - DEBUG - VM ctest-TestBasicPolicy-44436639-87929134 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:23:21,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/01b33e65-624a-429a-8a4f-9f25d51aeb85 2025-10-23 21:23:21,605 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a8cf76a-78a7-477b-adab-912d0c9935c9 2025-10-23 21:23:24,862 - 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 1015ms') 2025-10-23 21:23:24,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44436639-87929134 failed! 2025-10-23 21:23:24,920 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44436639:ctest-vn-21340086 is 22.201.54.129 and allocation pool is NOT set 2025-10-23 21:23:26,977 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.766 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.766/4.558/8.350/3.792 ms') 2025-10-23 21:23:26,978 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44436639-87929134 passed 2025-10-23 21:23:27,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:23:27,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44436639-87929134, IP 22.201.54.131, Port 22 2025-10-23 21:23:27,283 - DEBUG - VM ctest-TestBasicPolicy-44436639-87929134 is ready for SSH connections 2025-10-23 21:23:27,284 - INFO - Waiting for VM ctest-TestBasicPolicy-44436639-98359119 to be up.. 2025-10-23 21:23:27,366 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:23:27,366 - INFO - VM name : ctest-TestBasicPolicy-44436639-98359119 2025-10-23 21:23:27,444 - DEBUG - VM ctest-TestBasicPolicy-44436639-98359119 ID is c267a659-c35a-4554-a3be-496f60cb2c17 2025-10-23 21:23:27,444 - DEBUG - VM ctest-TestBasicPolicy-44436639-98359119 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:23:27,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c267a659-c35a-4554-a3be-496f60cb2c17 2025-10-23 21:23:27,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/80544c5d-a8ed-4c90-80f4-4bec6799d9e5 2025-10-23 21:23:28,774 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.977/3.402/1.424 ms') 2025-10-23 21:23:28,774 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44436639-98359119 passed 2025-10-23 21:23:28,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:23:28,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44436639-98359119, IP 176.202.233.195, Port 22 2025-10-23 21:23:29,018 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-23 21:23:29,094 - DEBUG - VM ctest-TestBasicPolicy-44436639-98359119 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 21:23:34,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:23:34,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44436639-98359119, IP 176.202.233.195, Port 22 2025-10-23 21:23:34,255 - DEBUG - VM ctest-TestBasicPolicy-44436639-98359119 is ready for SSH connections 2025-10-23 21:23:34,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:23:34,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.202.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:23:34,256 - DEBUG - ping -s 56 -c 3 -W 1 176.202.233.195 2025-10-23 21:23:38,326 - DEBUG - PING 176.202.233.195 (176.202.233.195): 56 data bytes 64 bytes from 176.202.233.195: seq=0 ttl=63 time=4.019 ms 64 bytes from 176.202.233.195: seq=1 ttl=63 time=0.938 ms 64 bytes from 176.202.233.195: seq=2 ttl=63 time=1.083 ms --- 176.202.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.013/4.019 ms 2025-10-23 21:23:38,326 - INFO - Ping to IP 176.202.233.195 from VM ctest-TestBasicPolicy-44436639-87929134 passed 2025-10-23 21:23:38,507 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99222d88-b14f-4df5-bf55-ad4f3d9183b9", "href": "http://10.0.0.254:8082/network-policy/99222d88-b14f-4df5-bf55-ad4f3d9183b9"}} 2025-10-23 21:23:38,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:23:38,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.202.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:23:38,508 - DEBUG - ping -s 56 -c 3 -W 1 176.202.233.195 2025-10-23 21:23:41,744 - DEBUG - PING 176.202.233.195 (176.202.233.195): 56 data bytes --- 176.202.233.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 21:23:41,744 - WARNING - Ping to IP 176.202.233.195 from VM ctest-TestBasicPolicy-44436639-87929134 failed 2025-10-23 21:23:41,744 - INFO - Deleting VM ctest-TestBasicPolicy-44436639-98359119 2025-10-23 21:23:41,814 - INFO - Deleting VM ctest-TestBasicPolicy-44436639-87929134 2025-10-23 21:23:42,194 - INFO - Deleted policy ctest-policy-allow-all-55185417 2025-10-23 21:23:42,194 - INFO - Deleting VN ctest-vn-75329146 2025-10-23 21:23:42,244 - DEBUG - VN f13ae3fa-11f7-4657-8809-ad44a2eab44c still in use: Unable to complete operation on network f13ae3fa-11f7-4657-8809-ad44a2eab44c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b76a35b-4223-480b-89fe-403d82ff62cb'] 2025-10-23 21:23:42,244 - WARNING - Deleting VN ctest-vn-75329146 failed..Will retry 2025-10-23 21:23:44,352 - DEBUG - Response for deleting network () 2025-10-23 21:23:44,353 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cb809a49-6fd4-4659-89f8-da04da797295 2025-10-23 21:23:44,358 - DEBUG - Response Code: 404 2025-10-23 21:23:44,358 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:44,363 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:44,418 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:44,489 - INFO - Validated that VN ctest-vn-75329146 is not found in API Server 2025-10-23 21:23:44,498 - DEBUG - VN ctest-vn-75329146 is not present in Agent 10.0.0.254 2025-10-23 21:23:44,498 - INFO - Validated that VN ctest-vn-75329146 is not in any agent 2025-10-23 21:23:44,512 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75329146 info 2025-10-23 21:23:44,512 - INFO - Deleting VN ctest-vn-21340086 2025-10-23 21:23:44,618 - DEBUG - Response for deleting network () 2025-10-23 21:23:44,618 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71c22b78-70a7-4068-a2e3-b229d3eea43f 2025-10-23 21:23:44,624 - DEBUG - Response Code: 404 2025-10-23 21:23:44,624 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 21:23:44,632 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2209111-6f48-42a4-aade-8a3132a84b97 2025-10-23 21:23:44,686 - DEBUG - Requesting: http://10.0.0.254:8082/project/e24784eb-149b-4332-a856-08e25f8dda9f 2025-10-23 21:23:44,761 - INFO - Validated that VN ctest-vn-21340086 is not found in API Server 2025-10-23 21:23:44,773 - DEBUG - VN ctest-vn-21340086 is not present in Agent 10.0.0.254 2025-10-23 21:23:44,773 - INFO - Validated that VN ctest-vn-21340086 is not in any agent 2025-10-23 21:23:44,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21340086 info 2025-10-23 21:23:45,056 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 21:23:45,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-23 21:23:45,056 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:23:45,791 - INFO - Deleted project: ctest-TestBasicPolicy-44436639, ID : e24784eb-149b-4332-a856-08e25f8dda9f