2025-10-06 22:49:40,709 - INFO - Domain Default found not creating 2025-10-06 22:49:40,850 - INFO - Project ctest-TestBasicPolicy-26520722 not found, creating it 2025-10-06 22:49:41,292 - INFO - Created Project:ctest-TestBasicPolicy-26520722, ID : cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:49:42,691 - INFO - ================================================================================ 2025-10-06 22:49:42,691 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 22:49:42,691 - 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-06 22:49:42,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:49:42,952 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:49:42,952 - INFO - 2025-10-06 22:49:43,526 - DEBUG - Response for create_network : {'network': {'id': '3a2d3819-d86d-47b6-8d2c-f6fc43237cc0', 'name': 'ctest-vn-62190769', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'project_id': 'cd9100d9af7c458590132c0e62ca551b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-vn-62190769'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:43,732 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a3fa3f-594f-4afe-902e-b1a18de57777', 'name': '', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'network_id': '3a2d3819-d86d-47b6-8d2c-f6fc43237cc0', 'ip_version': 4, 'cidr': '162.248.9.0/26', 'allocation_pools': [{'start': '162.248.9.2', 'end': '162.248.9.62'}], 'gateway_ip': '162.248.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.248.9.2', 'tags': [], 'project_id': 'cd9100d9af7c458590132c0e62ca551b'}} 2025-10-06 22:49:43,748 - INFO - Created VN ctest-vn-62190769 2025-10-06 22:49:43,799 - DEBUG - VN ctest-vn-62190769 UUID is 3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:44,076 - DEBUG - Response for create_network : {'network': {'id': 'ed58d184-cee9-4069-93c8-4c0a978a9eda', 'name': 'ctest-vn-17032458', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'project_id': 'cd9100d9af7c458590132c0e62ca551b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-vn-17032458'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:44,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2b73ff2-df84-4c59-b671-4e9c276a962d', 'name': '', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'network_id': 'ed58d184-cee9-4069-93c8-4c0a978a9eda', 'ip_version': 4, 'cidr': '208.244.23.192/26', 'allocation_pools': [{'start': '208.244.23.194', 'end': '208.244.23.254'}], 'gateway_ip': '208.244.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.244.23.194', 'tags': [], 'project_id': 'cd9100d9af7c458590132c0e62ca551b'}} 2025-10-06 22:49:44,239 - INFO - Created VN ctest-vn-17032458 2025-10-06 22:49:44,291 - DEBUG - VN ctest-vn-17032458 UUID is ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:44,443 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769, 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-26520722:ctest-vn-17032458, 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-06 22:49:44,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a2d3819-d86d-47b6-8d2c-f6fc43237cc0', 'name': 'ctest-vn-62190769', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'project_id': 'cd9100d9af7c458590132c0e62ca551b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9a3fa3f-594f-4afe-902e-b1a18de57777'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-vn-62190769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-policy-allow-all-25402753']], 'subnet_ipam': [{'subnet_cidr': '162.248.9.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:45,006 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed58d184-cee9-4069-93c8-4c0a978a9eda', 'name': 'ctest-vn-17032458', 'tenant_id': 'cd9100d9af7c458590132c0e62ca551b', 'project_id': 'cd9100d9af7c458590132c0e62ca551b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e2b73ff2-df84-4c59-b671-4e9c276a962d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-vn-17032458'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-policy-allow-all-25402753']], 'subnet_ipam': [{'subnet_cidr': '208.244.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:45,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:49:45,487 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:49:45,519 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:49:45,531 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:49:45,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,619 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:49:45,625 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:49:45,631 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f34a44e-8298-4143-b860-0c1584d267cb 2025-10-06 22:49:45,637 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 22:49:45,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,645 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:49:45,658 - INFO - Verified VN network id 12 for VN 3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,658 - INFO - Verifications in API Server for VN ctest-vn-62190769 passed 2025-10-06 22:49:45,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:49:45,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:49:45,678 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f34a44e-8298-4143-b860-0c1584d267cb 2025-10-06 22:49:45,688 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26520722', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4192068511808178102', 'uuid-lslong': '10172777221641698496'}, 'enable': 'true', 'created': '2025-10-06T22:49:43', 'last-modified': '2025-10-06T22:49:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980438'} 2025-10-06 22:49:45,693 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 22:49:45,693 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62190769 passed 2025-10-06 22:49:45,693 - DEBUG - ====Verifying policy data for ctest-vn-62190769 in API_Server ====== 2025-10-06 22:49:45,693 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:49:45,700 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:49:45,709 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:49:45,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a2d3819-d86d-47b6-8d2c-f6fc43237cc0 2025-10-06 22:49:45,792 - DEBUG - ==>Verifying data for policy with id: 949f4798-8227-4280-82ab-9117d6ef3750, fqn: ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-policy-allow-all-25402753'] 2025-10-06 22:49:45,792 - INFO - VN ctest-vn-62190769 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 22:49:45,792 - DEBUG - Verifying the vn in opserver 2025-10-06 22:49:45,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769 virtual network link through opserver 10.0.0.38 2025-10-06 22:49:45,792 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 22:49:46,088 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 22:49:46,153 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769?flat'} 2025-10-06 22:49:46,153 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769 is found in opserver 2025-10-06 22:49:46,164 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 22:49:46,169 - DEBUG - VRF ids for VN ctest-vn-62190769: {} 2025-10-06 22:49:46,169 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:49:46,175 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:49:46,185 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:49:46,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,271 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:49:46,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:49:46,283 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c10249a5-530b-4523-a3d0-2ebf3c814809 2025-10-06 22:49:46,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 22:49:46,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:49:46,306 - INFO - Verified VN network id 13 for VN ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,306 - INFO - Verifications in API Server for VN ctest-vn-17032458 passed 2025-10-06 22:49:46,306 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,314 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:49:46,320 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:49:46,326 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c10249a5-530b-4523-a3d0-2ebf3c814809 2025-10-06 22:49:46,335 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-17032458', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26520722', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17102649953276739689', 'uuid-lslong': '10648844927293365978'}, 'enable': 'true', 'created': '2025-10-06T22:49:44', 'last-modified': '2025-10-06T22:49:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399997'} 2025-10-06 22:49:46,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 22:49:46,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17032458 passed 2025-10-06 22:49:46,340 - DEBUG - ====Verifying policy data for ctest-vn-17032458 in API_Server ====== 2025-10-06 22:49:46,340 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:49:46,344 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:49:46,354 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:49:46,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed58d184-cee9-4069-93c8-4c0a978a9eda 2025-10-06 22:49:46,435 - DEBUG - ==>Verifying data for policy with id: 949f4798-8227-4280-82ab-9117d6ef3750, fqn: ['default-domain', 'ctest-TestBasicPolicy-26520722', 'ctest-policy-allow-all-25402753'] 2025-10-06 22:49:46,436 - INFO - VN ctest-vn-17032458 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 22:49:46,436 - DEBUG - Verifying the vn in opserver 2025-10-06 22:49:46,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-17032458 virtual network link through opserver 10.0.0.38 2025-10-06 22:49:46,436 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 22:49:46,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-17032458', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-17032458?flat'} 2025-10-06 22:49:46,446 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-17032458 is found in opserver 2025-10-06 22:49:46,456 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 22:49:46,460 - DEBUG - VRF ids for VN ctest-vn-17032458: {} 2025-10-06 22:49:46,531 - DEBUG - Services list from nova: [, , ] 2025-10-06 22:49:47,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:49:48,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:49:48,724 - INFO - Waiting for VM ctest-TestBasicPolicy-26520722-40125262 to be up.. 2025-10-06 22:49:48,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 22:49:53,896 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:49:53,896 - INFO - VM name : ctest-TestBasicPolicy-26520722-40125262 2025-10-06 22:49:53,965 - DEBUG - VM ctest-TestBasicPolicy-26520722-40125262 ID is e2baf883-4965-42f0-a32b-1a31a977d019 2025-10-06 22:49:53,985 - DEBUG - VM ctest-TestBasicPolicy-26520722-40125262 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:49:54,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2baf883-4965-42f0-a32b-1a31a977d019 2025-10-06 22:49:54,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9445bc6-c5ab-4123-8a3f-43947ffa5d51 2025-10-06 22:49:57,336 - 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-10-06 22:49:57,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26520722-40125262 failed! 2025-10-06 22:49:57,391 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26520722:ctest-vn-62190769 is 162.248.9.1 and allocation pool is NOT set 2025-10-06 22:49:59,451 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/2.016/3.566/1.549 ms') 2025-10-06 22:49:59,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26520722-40125262 passed 2025-10-06 22:49:59,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:49:59,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26520722-40125262, IP 162.248.9.3, Port 22 2025-10-06 22:49:59,770 - DEBUG - VM ctest-TestBasicPolicy-26520722-40125262 is ready for SSH connections 2025-10-06 22:49:59,770 - INFO - Waiting for VM ctest-TestBasicPolicy-26520722-39570584 to be up.. 2025-10-06 22:49:59,845 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:49:59,845 - INFO - VM name : ctest-TestBasicPolicy-26520722-39570584 2025-10-06 22:49:59,913 - DEBUG - VM ctest-TestBasicPolicy-26520722-39570584 ID is 6bf5d83e-17cd-400b-8bbc-4cd0b26d97f4 2025-10-06 22:49:59,913 - DEBUG - VM ctest-TestBasicPolicy-26520722-39570584 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:49:59,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6bf5d83e-17cd-400b-8bbc-4cd0b26d97f4 2025-10-06 22:49:59,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/426a8761-0420-447b-8058-499178d46148 2025-10-06 22:50:01,216 - 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=2.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.554/2.631/1.077 ms') 2025-10-06 22:50:01,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26520722-39570584 passed 2025-10-06 22:50:01,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:50:01,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26520722-39570584, IP 208.244.23.195, Port 22 2025-10-06 22:50:01,531 - DEBUG - VM ctest-TestBasicPolicy-26520722-39570584 is ready for SSH connections 2025-10-06 22:50:01,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:50:01,531 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.244.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:50:01,531 - DEBUG - ping -s 56 -c 3 -W 1 208.244.23.195 2025-10-06 22:50:05,233 - DEBUG - PING 208.244.23.195 (208.244.23.195): 56 data bytes 64 bytes from 208.244.23.195: seq=0 ttl=63 time=5.914 ms 64 bytes from 208.244.23.195: seq=1 ttl=63 time=0.992 ms 64 bytes from 208.244.23.195: seq=2 ttl=63 time=0.851 ms --- 208.244.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.585/5.914 ms 2025-10-06 22:50:05,233 - INFO - Ping to IP 208.244.23.195 from VM ctest-TestBasicPolicy-26520722-40125262 passed 2025-10-06 22:50:05,407 - DEBUG - Policy Update Response {"network-policy": {"uuid": "949f4798-8227-4280-82ab-9117d6ef3750", "href": "http://10.0.0.38:8082/network-policy/949f4798-8227-4280-82ab-9117d6ef3750"}} 2025-10-06 22:50:05,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:50:05,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.244.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:50:05,407 - DEBUG - ping -s 56 -c 3 -W 1 208.244.23.195 2025-10-06 22:50:08,635 - DEBUG - PING 208.244.23.195 (208.244.23.195): 56 data bytes --- 208.244.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 22:50:08,635 - WARNING - Ping to IP 208.244.23.195 from VM ctest-TestBasicPolicy-26520722-40125262 failed 2025-10-06 22:50:08,635 - INFO - Deleting VM ctest-TestBasicPolicy-26520722-39570584 2025-10-06 22:50:08,704 - INFO - Deleting VM ctest-TestBasicPolicy-26520722-40125262 2025-10-06 22:50:09,110 - INFO - Deleted policy ctest-policy-allow-all-25402753 2025-10-06 22:50:09,110 - INFO - Deleting VN ctest-vn-17032458 2025-10-06 22:50:09,151 - DEBUG - VN ed58d184-cee9-4069-93c8-4c0a978a9eda still in use: Unable to complete operation on network ed58d184-cee9-4069-93c8-4c0a978a9eda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8eb8e58-1c67-4172-bbb4-42beabf4c5af'] 2025-10-06 22:50:09,151 - WARNING - Deleting VN ctest-vn-17032458 failed..Will retry 2025-10-06 22:50:11,262 - DEBUG - Response for deleting network () 2025-10-06 22:50:11,262 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348d3585-dc0c-41f6-83cd-882fa593f820 2025-10-06 22:50:11,271 - DEBUG - Response Code: 404 2025-10-06 22:50:11,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:50:11,278 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:50:11,339 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:50:11,406 - INFO - Validated that VN ctest-vn-17032458 is not found in API Server 2025-10-06 22:50:11,417 - DEBUG - VN ctest-vn-17032458 is not present in Agent 10.0.0.38 2025-10-06 22:50:11,417 - INFO - Validated that VN ctest-vn-17032458 is not in any agent 2025-10-06 22:50:11,431 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17032458 info 2025-10-06 22:50:11,431 - INFO - Deleting VN ctest-vn-62190769 2025-10-06 22:50:11,539 - DEBUG - Response for deleting network () 2025-10-06 22:50:11,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42a08f8d-a688-4e2d-9c3b-933697c01890 2025-10-06 22:50:11,544 - DEBUG - Response Code: 404 2025-10-06 22:50:11,544 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 22:50:11,549 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eab8c665-e3a8-462f-b44c-8c68f17662d2 2025-10-06 22:50:11,605 - DEBUG - Requesting: http://10.0.0.38:8082/project/cd9100d9-af7c-4585-9013-2c0e62ca551b 2025-10-06 22:50:11,679 - INFO - Validated that VN ctest-vn-62190769 is not found in API Server 2025-10-06 22:50:11,688 - DEBUG - VN ctest-vn-62190769 is not present in Agent 10.0.0.38 2025-10-06 22:50:11,688 - INFO - Validated that VN ctest-vn-62190769 is not in any agent 2025-10-06 22:50:11,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62190769 info 2025-10-06 22:50:11,976 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 22:50:11,976 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-06 22:50:11,976 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:50:12,659 - INFO - Deleted project: ctest-TestBasicPolicy-26520722, ID : cd9100d9-af7c-4585-9013-2c0e62ca551b