2025-12-15 02:24:58,813 - INFO - Domain Default found not creating 2025-12-15 02:24:59,037 - INFO - Project ctest-TestBasicPolicy-58560346 not found, creating it 2025-12-15 02:24:59,510 - INFO - Created Project:ctest-TestBasicPolicy-58560346, ID : 9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:01,250 - INFO - ================================================================================ 2025-12-15 02:25:01,250 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-15 02:25:01,250 - 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-12-15 02:25:01,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-12-15 02:25:01,519 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:25:01,520 - INFO - 2025-12-15 02:25:02,171 - DEBUG - Response for create_network : {'network': {'id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'name': 'ctest-vn-23654763', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-23654763'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:02,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a67abe4-bfd2-4638-befe-6d4670887b2a', 'name': '', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'network_id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'ip_version': 4, 'cidr': '201.126.187.0/26', 'allocation_pools': [{'start': '201.126.187.2', 'end': '201.126.187.62'}], 'gateway_ip': '201.126.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.126.187.2', 'tags': [], 'project_id': '9abb93088c55475e8f7324931296ef6d'}} 2025-12-15 02:25:02,413 - INFO - Created VN ctest-vn-23654763 2025-12-15 02:25:02,470 - DEBUG - VN ctest-vn-23654763 UUID is 6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:02,824 - DEBUG - Response for create_network : {'network': {'id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'name': 'ctest-vn-61032505', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-61032505'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:03,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '73541f13-c3da-4635-96fe-ff635143eab0', 'name': '', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'network_id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'ip_version': 4, 'cidr': '31.72.122.128/26', 'allocation_pools': [{'start': '31.72.122.130', 'end': '31.72.122.190'}], 'gateway_ip': '31.72.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.72.122.130', 'tags': [], 'project_id': '9abb93088c55475e8f7324931296ef6d'}} 2025-12-15 02:25:03,039 - INFO - Created VN ctest-vn-61032505 2025-12-15 02:25:03,098 - DEBUG - VN ctest-vn-61032505 UUID is 326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:03,231 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763, 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-58560346:ctest-vn-61032505, 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-12-15 02:25:03,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'name': 'ctest-vn-23654763', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a67abe4-bfd2-4638-befe-6d4670887b2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-23654763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']], 'subnet_ipam': [{'subnet_cidr': '201.126.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:03,835 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'name': 'ctest-vn-61032505', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73541f13-c3da-4635-96fe-ff635143eab0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-61032505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']], 'subnet_ipam': [{'subnet_cidr': '31.72.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:03,982 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:04,329 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:04,364 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:04,377 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:04,454 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,465 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,475 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:04,486 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:04,494 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/29e8d49f-5bfd-4e55-b6c4-2513d75f6c03 2025-12-15 02:25:04,502 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:25:04,502 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:04,529 - INFO - Verified VN network id 11 for VN 6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,530 - INFO - Verifications in API Server for VN ctest-vn-23654763 passed 2025-12-15 02:25:04,530 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,541 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:04,550 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:04,558 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/29e8d49f-5bfd-4e55-b6c4-2513d75f6c03 2025-12-15 02:25:04,574 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58560346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7158677136793486640', 'uuid-lslong': '12046658914110242650'}, 'enable': 'true', 'created': '2025-12-15T02:25:02', 'last-modified': '2025-12-15T02:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.044116'} 2025-12-15 02:25:04,583 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:25:04,583 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23654763 passed 2025-12-15 02:25:04,583 - DEBUG - ====Verifying policy data for ctest-vn-23654763 in API_Server ====== 2025-12-15 02:25:04,583 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:04,591 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:04,604 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:04,679 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a 2025-12-15 02:25:04,693 - DEBUG - ==>Verifying data for policy with id: 11d976c4-dcf5-4808-bc70-3fb90a632c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333'] 2025-12-15 02:25:04,693 - INFO - VN ctest-vn-23654763 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:25:04,693 - DEBUG - Verifying the vn in opserver 2025-12-15 02:25:04,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763 virtual network link through opserver 10.0.0.73 2025-12-15 02:25:04,694 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-15 02:25:05,038 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-15 02:25:05,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763?flat'} 2025-12-15 02:25:05,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763 is found in opserver 2025-12-15 02:25:05,135 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:25:05,141 - DEBUG - VRF ids for VN ctest-vn-23654763: {} 2025-12-15 02:25:05,141 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:05,147 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:05,160 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:05,240 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,255 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,267 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:05,276 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:05,284 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f9a4fb67-f667-4688-bde5-1050ccd971ac 2025-12-15 02:25:05,293 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:25:05,293 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,305 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:05,324 - INFO - Verified VN network id 12 for VN 326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,325 - INFO - Verifications in API Server for VN ctest-vn-61032505 passed 2025-12-15 02:25:05,325 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,336 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:05,345 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:05,353 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f9a4fb67-f667-4688-bde5-1050ccd971ac 2025-12-15 02:25:05,370 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58560346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3633338802145020153', 'uuid-lslong': '10732738675458944132'}, 'enable': 'true', 'created': '2025-12-15T02:25:02', 'last-modified': '2025-12-15T02:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606060'} 2025-12-15 02:25:05,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:25:05,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61032505 passed 2025-12-15 02:25:05,377 - DEBUG - ====Verifying policy data for ctest-vn-61032505 in API_Server ====== 2025-12-15 02:25:05,377 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:05,384 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:05,398 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:05,476 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84 2025-12-15 02:25:05,488 - DEBUG - ==>Verifying data for policy with id: 11d976c4-dcf5-4808-bc70-3fb90a632c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333'] 2025-12-15 02:25:05,488 - INFO - VN ctest-vn-61032505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:25:05,488 - DEBUG - Verifying the vn in opserver 2025-12-15 02:25:05,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505 virtual network link through opserver 10.0.0.73 2025-12-15 02:25:05,488 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-15 02:25:05,502 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505?flat'} 2025-12-15 02:25:05,502 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505 is found in opserver 2025-12-15 02:25:05,514 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:25:05,520 - DEBUG - VRF ids for VN ctest-vn-61032505: {} 2025-12-15 02:25:05,593 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:25:06,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:25:08,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:25:08,498 - INFO - Waiting for VM ctest-TestBasicPolicy-58560346-92971950 to be up.. 2025-12-15 02:25:08,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:25:13,689 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:25:13,689 - INFO - VM name : ctest-TestBasicPolicy-58560346-92971950 2025-12-15 02:25:13,786 - DEBUG - VM ctest-TestBasicPolicy-58560346-92971950 ID is b691c2fd-fd9e-462a-ac22-f52904409aac 2025-12-15 02:25:13,815 - DEBUG - VM ctest-TestBasicPolicy-58560346-92971950 launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:25:13,910 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b691c2fd-fd9e-462a-ac22-f52904409aac 2025-12-15 02:25:13,920 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/5d394ef2-5681-4610-87ef-f630aa91b213 2025-12-15 02:25:17,203 - 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 1029ms') 2025-12-15 02:25:17,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58560346-92971950 failed! 2025-12-15 02:25:17,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763 is 201.126.187.1 and allocation pool is NOT set 2025-12-15 02:25:19,320 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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.086/6.058/10.030/3.972 ms') 2025-12-15 02:25:19,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58560346-92971950 passed 2025-12-15 02:25:19,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:19,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58560346-92971950, IP 201.126.187.3, Port 22 2025-12-15 02:25:19,540 - 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-12-15 02:25:19,640 - DEBUG - VM ctest-TestBasicPolicy-58560346-92971950 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 02:25:24,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:24,641 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58560346-92971950, IP 201.126.187.3, Port 22 2025-12-15 02:25:24,808 - DEBUG - VM ctest-TestBasicPolicy-58560346-92971950 is ready for SSH connections 2025-12-15 02:25:24,808 - INFO - Waiting for VM ctest-TestBasicPolicy-58560346-25249574 to be up.. 2025-12-15 02:25:24,901 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:25:24,901 - INFO - VM name : ctest-TestBasicPolicy-58560346-25249574 2025-12-15 02:25:25,115 - DEBUG - VM ctest-TestBasicPolicy-58560346-25249574 ID is ebe3fa47-adc2-4d2b-bc99-72b1d942a61c 2025-12-15 02:25:25,115 - DEBUG - VM ctest-TestBasicPolicy-58560346-25249574 launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:25:25,210 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ebe3fa47-adc2-4d2b-bc99-72b1d942a61c 2025-12-15 02:25:25,221 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ff6ed8aa-afdf-415c-b68f-9a424ea8f091 2025-12-15 02:25:26,465 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/2.121/3.722/1.601 ms') 2025-12-15 02:25:26,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58560346-25249574 passed 2025-12-15 02:25:26,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:26,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58560346-25249574, IP 31.72.122.131, Port 22 2025-12-15 02:25:26,793 - DEBUG - VM ctest-TestBasicPolicy-58560346-25249574 is ready for SSH connections 2025-12-15 02:25:26,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:26,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.72.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:25:26,793 - DEBUG - ping -s 56 -c 3 -W 1 31.72.122.131 2025-12-15 02:25:30,985 - DEBUG - PING 31.72.122.131 (31.72.122.131): 56 data bytes 64 bytes from 31.72.122.131: seq=0 ttl=63 time=5.392 ms 64 bytes from 31.72.122.131: seq=1 ttl=63 time=1.412 ms 64 bytes from 31.72.122.131: seq=2 ttl=63 time=1.133 ms --- 31.72.122.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.133/2.645/5.392 ms 2025-12-15 02:25:30,985 - INFO - Ping to IP 31.72.122.131 from VM ctest-TestBasicPolicy-58560346-92971950 passed 2025-12-15 02:25:31,165 - DEBUG - Policy Update Response {"network-policy": {"uuid": "11d976c4-dcf5-4808-bc70-3fb90a632c22", "href": "http://10.0.0.73:8082/network-policy/11d976c4-dcf5-4808-bc70-3fb90a632c22"}} 2025-12-15 02:25:31,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:31,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.72.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:25:31,166 - DEBUG - ping -s 56 -c 3 -W 1 31.72.122.131 2025-12-15 02:25:34,392 - DEBUG - PING 31.72.122.131 (31.72.122.131): 56 data bytes --- 31.72.122.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:25:34,392 - WARNING - Ping to IP 31.72.122.131 from VM ctest-TestBasicPolicy-58560346-92971950 failed 2025-12-15 02:25:34,392 - INFO - Deleting VM ctest-TestBasicPolicy-58560346-25249574 2025-12-15 02:25:34,475 - INFO - Deleting VM ctest-TestBasicPolicy-58560346-92971950 2025-12-15 02:25:34,902 - INFO - Deleted policy ctest-policy-allow-all-65793333 2025-12-15 02:25:34,902 - INFO - Deleting VN ctest-vn-61032505 2025-12-15 02:25:34,955 - DEBUG - VN 326c3663-ea7f-48f9-94f2-58f5f9d3ac84 still in use: Unable to complete operation on network 326c3663-ea7f-48f9-94f2-58f5f9d3ac84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-973a79c5-4c06-421a-acaa-39c0ae3fab20'] 2025-12-15 02:25:34,955 - WARNING - Deleting VN ctest-vn-61032505 failed..Will retry 2025-12-15 02:25:37,071 - DEBUG - Response for deleting network () 2025-12-15 02:25:37,071 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa 2025-12-15 02:25:37,076 - DEBUG - Response Code: 404 2025-12-15 02:25:37,077 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:37,086 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:37,142 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:37,220 - INFO - Validated that VN ctest-vn-61032505 is not found in API Server 2025-12-15 02:25:37,232 - DEBUG - VN ctest-vn-61032505 is not present in Agent 10.0.0.73 2025-12-15 02:25:37,232 - INFO - Validated that VN ctest-vn-61032505 is not in any agent 2025-12-15 02:25:37,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61032505 info 2025-12-15 02:25:37,248 - INFO - Deleting VN ctest-vn-23654763 2025-12-15 02:25:37,373 - DEBUG - Response for deleting network () 2025-12-15 02:25:37,373 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00 2025-12-15 02:25:37,381 - DEBUG - Response Code: 404 2025-12-15 02:25:37,381 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-15 02:25:37,387 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab 2025-12-15 02:25:37,443 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d 2025-12-15 02:25:37,519 - INFO - Validated that VN ctest-vn-23654763 is not found in API Server 2025-12-15 02:25:37,531 - DEBUG - VN ctest-vn-23654763 is not present in Agent 10.0.0.73 2025-12-15 02:25:37,531 - INFO - Validated that VN ctest-vn-23654763 is not in any agent 2025-12-15 02:25:37,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23654763 info 2025-12-15 02:25:37,828 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 02:25:37,828 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-15 02:25:37,828 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:25:38,590 - INFO - Deleted project: ctest-TestBasicPolicy-58560346, ID : 9abb9308-8c55-475e-8f73-24931296ef6d