2025-09-29 01:51:30,865 - INFO - Domain Default found not creating 2025-09-29 01:51:31,025 - INFO - Project ctest-TestBasicPolicy-08678486 not found, creating it 2025-09-29 01:51:31,473 - INFO - Created Project:ctest-TestBasicPolicy-08678486, ID : 0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:51:33,551 - INFO - ================================================================================ 2025-09-29 01:51:33,551 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-29 01:51:33,551 - 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-09-29 01:51:33,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with 2025-09-29 01:51:33,812 - INFO - Initial checks done. Running the testcase now 2025-09-29 01:51:33,812 - INFO - 2025-09-29 01:51:34,339 - DEBUG - Response for create_network : {'network': {'id': '66dc1bc0-aa1f-4176-98df-1effabdc1bb5', 'name': 'ctest-vn-14185719', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-vn-14185719'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:51:34,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c04aedb3-285f-4491-8ad4-d3c26d81a916', 'name': '', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'network_id': '66dc1bc0-aa1f-4176-98df-1effabdc1bb5', 'ip_version': 4, 'cidr': '173.237.12.64/26', 'allocation_pools': [{'start': '173.237.12.66', 'end': '173.237.12.126'}], 'gateway_ip': '173.237.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.237.12.66', 'tags': [], 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29'}} 2025-09-29 01:51:34,547 - INFO - Created VN ctest-vn-14185719 2025-09-29 01:51:34,599 - DEBUG - VN ctest-vn-14185719 UUID is 66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:34,925 - DEBUG - Response for create_network : {'network': {'id': '8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7', 'name': 'ctest-vn-05895514', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-vn-05895514'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:51:35,092 - DEBUG - Response for create_subnet : {'subnet': {'id': '20948011-b700-4b57-b3b3-bb830a2480ce', 'name': '', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'network_id': '8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7', 'ip_version': 4, 'cidr': '94.13.1.0/26', 'allocation_pools': [{'start': '94.13.1.2', 'end': '94.13.1.62'}], 'gateway_ip': '94.13.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.13.1.2', 'tags': [], 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29'}} 2025-09-29 01:51:35,108 - INFO - Created VN ctest-vn-05895514 2025-09-29 01:51:35,163 - DEBUG - VN ctest-vn-05895514 UUID is 8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:35,281 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719, 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-08678486:ctest-vn-05895514, 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-09-29 01:51:35,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66dc1bc0-aa1f-4176-98df-1effabdc1bb5', 'name': 'ctest-vn-14185719', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c04aedb3-285f-4491-8ad4-d3c26d81a916'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-vn-14185719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-policy-allow-all-98706145']], 'subnet_ipam': [{'subnet_cidr': '173.237.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:51:35,843 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7', 'name': 'ctest-vn-05895514', 'tenant_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'project_id': '0bbf00d59a94410ba75e6410f0cfcd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20948011-b700-4b57-b3b3-bb830a2480ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-vn-05895514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-policy-allow-all-98706145']], 'subnet_ipam': [{'subnet_cidr': '94.13.1.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:51:36,003 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:51:36,304 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:51:36,333 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:51:36,345 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:51:36,419 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,428 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,436 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:51:36,442 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:51:36,448 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/25cd8a30-530e-413f-b45b-6320d38de692 2025-09-29 01:51:36,454 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 01:51:36,454 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,463 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:51:36,478 - INFO - Verified VN network id 10 for VN 66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,478 - INFO - Verifications in API Server for VN ctest-vn-14185719 passed 2025-09-29 01:51:36,478 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,487 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:51:36,494 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:51:36,500 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/25cd8a30-530e-413f-b45b-6320d38de692 2025-09-29 01:51:36,513 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08678486', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7411829601046839670', 'uuid-lslong': '11015557297020345269'}, 'enable': 'true', 'created': '2025-09-29T01:51:34', 'last-modified': '2025-09-29T01:51:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935920'} 2025-09-29 01:51:36,519 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 01:51:36,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14185719 passed 2025-09-29 01:51:36,519 - DEBUG - ====Verifying policy data for ctest-vn-14185719 in API_Server ====== 2025-09-29 01:51:36,519 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:51:36,525 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:51:36,536 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:51:36,608 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/66dc1bc0-aa1f-4176-98df-1effabdc1bb5 2025-09-29 01:51:36,618 - DEBUG - ==>Verifying data for policy with id: 39c8e1b4-eaac-4638-b73a-f9f1322c531e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-policy-allow-all-98706145'] 2025-09-29 01:51:36,618 - INFO - VN ctest-vn-14185719 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 01:51:36,618 - DEBUG - Verifying the vn in opserver 2025-09-29 01:51:36,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719 virtual network link through opserver 10.0.0.49 2025-09-29 01:51:36,618 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-29 01:51:36,910 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-29 01:51:36,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719?flat'} 2025-09-29 01:51:36,958 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719 is found in opserver 2025-09-29 01:51:36,972 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 01:51:36,976 - DEBUG - VRF ids for VN ctest-vn-14185719: {} 2025-09-29 01:51:36,976 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:51:36,982 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:51:36,991 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:51:37,062 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,074 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,082 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:51:37,088 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:51:37,094 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/14fb2eed-607b-43d7-a8d6-f9892ce5b56e 2025-09-29 01:51:37,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 01:51:37,101 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,109 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:51:37,121 - INFO - Verified VN network id 11 for VN 8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,121 - INFO - Verifications in API Server for VN ctest-vn-05895514 passed 2025-09-29 01:51:37,121 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,129 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:51:37,140 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:51:37,147 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/14fb2eed-607b-43d7-a8d6-f9892ce5b56e 2025-09-29 01:51:37,159 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-05895514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08678486', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10176663457011484179', 'uuid-lslong': '11292038171687071943'}, 'enable': 'true', 'created': '2025-09-29T01:51:34', 'last-modified': '2025-09-29T01:51:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338976'} 2025-09-29 01:51:37,165 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 01:51:37,165 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05895514 passed 2025-09-29 01:51:37,165 - DEBUG - ====Verifying policy data for ctest-vn-05895514 in API_Server ====== 2025-09-29 01:51:37,166 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:51:37,171 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:51:37,181 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:51:37,252 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 2025-09-29 01:51:37,261 - DEBUG - ==>Verifying data for policy with id: 39c8e1b4-eaac-4638-b73a-f9f1322c531e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08678486', 'ctest-policy-allow-all-98706145'] 2025-09-29 01:51:37,261 - INFO - VN ctest-vn-05895514 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 01:51:37,261 - DEBUG - Verifying the vn in opserver 2025-09-29 01:51:37,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-05895514 virtual network link through opserver 10.0.0.49 2025-09-29 01:51:37,261 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-29 01:51:37,270 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-05895514', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-05895514?flat'} 2025-09-29 01:51:37,270 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-05895514 is found in opserver 2025-09-29 01:51:37,279 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 01:51:37,285 - DEBUG - VRF ids for VN ctest-vn-05895514: {} 2025-09-29 01:51:37,347 - DEBUG - Services list from nova: [, , ] 2025-09-29 01:51:38,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1) 2025-09-29 01:51:39,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1) 2025-09-29 01:51:39,439 - INFO - Waiting for VM ctest-TestBasicPolicy-08678486-33159997 to be up.. 2025-09-29 01:51:39,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 01:51:44,583 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:44,583 - INFO - VM name : ctest-TestBasicPolicy-08678486-33159997 2025-09-29 01:51:44,649 - DEBUG - VM ctest-TestBasicPolicy-08678486-33159997 ID is 489f3dc6-c89e-4115-9e7a-d5b3fc89bfc0 2025-09-29 01:51:44,665 - DEBUG - VM ctest-TestBasicPolicy-08678486-33159997 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1 2025-09-29 01:51:44,730 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/489f3dc6-c89e-4115-9e7a-d5b3fc89bfc0 2025-09-29 01:51:44,737 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/69654869-59f1-4507-871f-7d2d1f2fc182 2025-09-29 01:51:47,937 - 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-09-29 01:51:47,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08678486-33159997 failed! 2025-09-29 01:51:47,991 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08678486:ctest-vn-14185719 is 173.237.12.65 and allocation pool is NOT set 2025-09-29 01:51:50,055 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.552/2.718/1.165 ms') 2025-09-29 01:51:50,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08678486-33159997 passed 2025-09-29 01:51:50,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:50,203 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08678486-33159997, IP 173.237.12.67, Port 22 2025-09-29 01:51:50,364 - DEBUG - VM ctest-TestBasicPolicy-08678486-33159997 is ready for SSH connections 2025-09-29 01:51:50,364 - INFO - Waiting for VM ctest-TestBasicPolicy-08678486-42052326 to be up.. 2025-09-29 01:51:50,438 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:50,438 - INFO - VM name : ctest-TestBasicPolicy-08678486-42052326 2025-09-29 01:51:50,505 - DEBUG - VM ctest-TestBasicPolicy-08678486-42052326 ID is 04d972c9-338d-4dc5-be99-e3a744357323 2025-09-29 01:51:50,505 - DEBUG - VM ctest-TestBasicPolicy-08678486-42052326 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1 2025-09-29 01:51:50,577 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/04d972c9-338d-4dc5-be99-e3a744357323 2025-09-29 01:51:50,585 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6c07f64b-6cad-4766-9d80-9d8bcfe237a3 2025-09-29 01:51:51,810 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.072/2.096/3.120/1.024 ms') 2025-09-29 01:51:51,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08678486-42052326 passed 2025-09-29 01:51:51,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:51,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08678486-42052326, IP 94.13.1.3, Port 22 2025-09-29 01:51:52,118 - DEBUG - VM ctest-TestBasicPolicy-08678486-42052326 is ready for SSH connections 2025-09-29 01:51:52,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:52,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.13.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-29 01:51:52,119 - DEBUG - ping -s 56 -c 3 -W 1 94.13.1.3 2025-09-29 01:51:56,105 - DEBUG - PING 94.13.1.3 (94.13.1.3): 56 data bytes 64 bytes from 94.13.1.3: seq=0 ttl=63 time=3.240 ms 64 bytes from 94.13.1.3: seq=1 ttl=63 time=0.953 ms 64 bytes from 94.13.1.3: seq=2 ttl=63 time=0.797 ms --- 94.13.1.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.663/3.240 ms 2025-09-29 01:51:56,105 - INFO - Ping to IP 94.13.1.3 from VM ctest-TestBasicPolicy-08678486-33159997 passed 2025-09-29 01:51:56,278 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39c8e1b4-eaac-4638-b73a-f9f1322c531e", "href": "http://10.0.0.49:8082/network-policy/39c8e1b4-eaac-4638-b73a-f9f1322c531e"}} 2025-09-29 01:51:56,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:56,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.13.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-29 01:51:56,279 - DEBUG - ping -s 56 -c 3 -W 1 94.13.1.3 2025-09-29 01:51:59,479 - DEBUG - PING 94.13.1.3 (94.13.1.3): 56 data bytes --- 94.13.1.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 01:51:59,479 - WARNING - Ping to IP 94.13.1.3 from VM ctest-TestBasicPolicy-08678486-33159997 failed 2025-09-29 01:51:59,479 - INFO - Deleting VM ctest-TestBasicPolicy-08678486-42052326 2025-09-29 01:51:59,542 - INFO - Deleting VM ctest-TestBasicPolicy-08678486-33159997 2025-09-29 01:51:59,885 - INFO - Deleted policy ctest-policy-allow-all-98706145 2025-09-29 01:51:59,885 - INFO - Deleting VN ctest-vn-05895514 2025-09-29 01:51:59,920 - DEBUG - VN 8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7 still in use: Unable to complete operation on network 8d3ac57e-f1de-4613-9cb5-60e3ad8f30c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ece2db5-d4cd-40ee-8d4f-19477056ae2a'] 2025-09-29 01:51:59,921 - WARNING - Deleting VN ctest-vn-05895514 failed..Will retry 2025-09-29 01:52:02,009 - DEBUG - Response for deleting network () 2025-09-29 01:52:02,010 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/42817b36-11d8-4744-9d6c-c559ed905e33 2025-09-29 01:52:02,014 - DEBUG - Response Code: 404 2025-09-29 01:52:02,015 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:52:02,020 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:52:02,071 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:52:02,138 - INFO - Validated that VN ctest-vn-05895514 is not found in API Server 2025-09-29 01:52:02,146 - DEBUG - VN ctest-vn-05895514 is not present in Agent 10.0.0.49 2025-09-29 01:52:02,146 - INFO - Validated that VN ctest-vn-05895514 is not in any agent 2025-09-29 01:52:02,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05895514 info 2025-09-29 01:52:02,158 - INFO - Deleting VN ctest-vn-14185719 2025-09-29 01:52:02,247 - DEBUG - Response for deleting network () 2025-09-29 01:52:02,247 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f3e1ce4e-6b7f-4289-871b-b620370600c4 2025-09-29 01:52:02,253 - DEBUG - Response Code: 404 2025-09-29 01:52:02,254 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-29 01:52:02,258 - DEBUG - Requesting: http://10.0.0.49:8082/domain/87ed8b95-182e-45b1-8df3-cf05281fdb90 2025-09-29 01:52:02,311 - DEBUG - Requesting: http://10.0.0.49:8082/project/0bbf00d5-9a94-410b-a75e-6410f0cfcd29 2025-09-29 01:52:02,397 - INFO - Validated that VN ctest-vn-14185719 is not found in API Server 2025-09-29 01:52:02,406 - DEBUG - VN ctest-vn-14185719 is not present in Agent 10.0.0.49 2025-09-29 01:52:02,406 - INFO - Validated that VN ctest-vn-14185719 is not in any agent 2025-09-29 01:52:02,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14185719 info 2025-09-29 01:52:02,681 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 01:52:02,681 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-29 01:52:02,681 - INFO - -------------------------------------------------------------------------------- 2025-09-29 01:52:03,351 - INFO - Deleted project: ctest-TestBasicPolicy-08678486, ID : 0bbf00d5-9a94-410b-a75e-6410f0cfcd29