2025-11-18 01:06:05,962 - INFO - Domain Default found not creating 2025-11-18 01:06:06,139 - INFO - Project ctest-TestBasicPolicy-11878356 not found, creating it 2025-11-18 01:06:06,583 - INFO - Created Project:ctest-TestBasicPolicy-11878356, ID : 77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:08,075 - INFO - ================================================================================ 2025-11-18 01:06:08,075 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-18 01:06:08,075 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-18 01:06:08,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-18 01:06:08,330 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:06:08,330 - INFO - 2025-11-18 01:06:08,938 - DEBUG - Response for create_network : {'network': {'id': '47632f3b-94cb-47dd-8540-0622943c12ea', 'name': 'ctest-vn-84109211', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-vn-84109211'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:06:09,148 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c38b3259-a04c-4118-8979-7cd8147c3291', 'name': '', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'network_id': '47632f3b-94cb-47dd-8540-0622943c12ea', 'ip_version': 4, 'cidr': '162.213.4.0/26', 'allocation_pools': [{'start': '162.213.4.2', 'end': '162.213.4.62'}], 'gateway_ip': '162.213.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.213.4.2', 'tags': [], 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad'}} 2025-11-18 01:06:09,166 - INFO - Created VN ctest-vn-84109211 2025-11-18 01:06:09,216 - DEBUG - VN ctest-vn-84109211 UUID is 47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:09,497 - DEBUG - Response for create_network : {'network': {'id': '754bf921-7217-4292-8abf-0996fbf3a3c2', 'name': 'ctest-vn-53995093', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-vn-53995093'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:06:09,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '4449379c-d97a-47a2-be47-4ed326612d84', 'name': '', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'network_id': '754bf921-7217-4292-8abf-0996fbf3a3c2', 'ip_version': 4, 'cidr': '11.99.199.128/26', 'allocation_pools': [{'start': '11.99.199.130', 'end': '11.99.199.190'}], 'gateway_ip': '11.99.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.99.199.130', 'tags': [], 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad'}} 2025-11-18 01:06:09,726 - INFO - Created VN ctest-vn-53995093 2025-11-18 01:06:09,780 - DEBUG - VN ctest-vn-53995093 UUID is 754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:09,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211, 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-11878356:ctest-vn-53995093, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-18 01:06:10,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47632f3b-94cb-47dd-8540-0622943c12ea', 'name': 'ctest-vn-84109211', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c38b3259-a04c-4118-8979-7cd8147c3291'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-vn-84109211'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-policy-allow-all-55188892']], 'subnet_ipam': [{'subnet_cidr': '162.213.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:06:10,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '754bf921-7217-4292-8abf-0996fbf3a3c2', 'name': 'ctest-vn-53995093', 'tenant_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'project_id': '77e3ae5d9c334214a5fbc32f8796e9ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4449379c-d97a-47a2-be47-4ed326612d84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-vn-53995093'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-policy-allow-all-55188892']], 'subnet_ipam': [{'subnet_cidr': '11.99.199.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:06:10,616 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:10,911 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:10,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:10,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:11,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,044 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:11,052 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:11,058 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/650a3874-caf2-499c-9812-099fa048dda4 2025-11-18 01:06:11,064 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 01:06:11,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,073 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:11,087 - INFO - Verified VN network id 11 for VN 47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,087 - INFO - Verifications in API Server for VN ctest-vn-84109211 passed 2025-11-18 01:06:11,087 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,095 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:11,101 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:11,107 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/650a3874-caf2-499c-9812-099fa048dda4 2025-11-18 01:06:11,117 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11878356', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5144007132333164509', 'uuid-lslong': '9601681151139517162'}, 'enable': 'true', 'created': '2025-11-18T01:06:08', 'last-modified': '2025-11-18T01:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924037'} 2025-11-18 01:06:11,123 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 01:06:11,123 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84109211 passed 2025-11-18 01:06:11,123 - DEBUG - ====Verifying policy data for ctest-vn-84109211 in API_Server ====== 2025-11-18 01:06:11,123 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:11,129 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:11,140 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:11,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47632f3b-94cb-47dd-8540-0622943c12ea 2025-11-18 01:06:11,217 - DEBUG - ==>Verifying data for policy with id: a0adacae-2e99-4700-9e50-02787b002340, fqn: ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-policy-allow-all-55188892'] 2025-11-18 01:06:11,217 - INFO - VN ctest-vn-84109211 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 01:06:11,217 - DEBUG - Verifying the vn in opserver 2025-11-18 01:06:11,217 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211 virtual network link through opserver 10.0.0.50 2025-11-18 01:06:11,217 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 01:06:11,519 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 01:06:11,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211?flat'} 2025-11-18 01:06:11,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211 is found in opserver 2025-11-18 01:06:11,585 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 01:06:11,590 - DEBUG - VRF ids for VN ctest-vn-84109211: {} 2025-11-18 01:06:11,590 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:11,595 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:11,604 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:11,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,682 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,690 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:11,697 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:11,703 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e2c56f6c-5cd4-44d8-9cae-6bddb3da8bea 2025-11-18 01:06:11,709 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 01:06:11,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:11,730 - INFO - Verified VN network id 12 for VN 754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,730 - INFO - Verifications in API Server for VN ctest-vn-53995093 passed 2025-11-18 01:06:11,730 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:11,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:11,751 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e2c56f6c-5cd4-44d8-9cae-6bddb3da8bea 2025-11-18 01:06:11,761 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-53995093', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11878356', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8452123047734231698', 'uuid-lslong': '9997720241862583234'}, 'enable': 'true', 'created': '2025-11-18T01:06:09', 'last-modified': '2025-11-18T01:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351689'} 2025-11-18 01:06:11,766 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 01:06:11,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53995093 passed 2025-11-18 01:06:11,766 - DEBUG - ====Verifying policy data for ctest-vn-53995093 in API_Server ====== 2025-11-18 01:06:11,766 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:11,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:11,781 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:11,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/754bf921-7217-4292-8abf-0996fbf3a3c2 2025-11-18 01:06:11,859 - DEBUG - ==>Verifying data for policy with id: a0adacae-2e99-4700-9e50-02787b002340, fqn: ['default-domain', 'ctest-TestBasicPolicy-11878356', 'ctest-policy-allow-all-55188892'] 2025-11-18 01:06:11,859 - INFO - VN ctest-vn-53995093 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 01:06:11,859 - DEBUG - Verifying the vn in opserver 2025-11-18 01:06:11,859 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-53995093 virtual network link through opserver 10.0.0.50 2025-11-18 01:06:11,859 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-18 01:06:11,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-53995093', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-53995093?flat'} 2025-11-18 01:06:11,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-53995093 is found in opserver 2025-11-18 01:06:11,879 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 01:06:11,882 - DEBUG - VRF ids for VN ctest-vn-53995093: {} 2025-11-18 01:06:11,939 - DEBUG - Services list from nova: [, , ] 2025-11-18 01:06:12,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4750-1) 2025-11-18 01:06:14,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4750-1) 2025-11-18 01:06:14,012 - INFO - Waiting for VM ctest-TestBasicPolicy-11878356-35784447 to be up.. 2025-11-18 01:06:14,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 01:06:19,161 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:06:19,161 - INFO - VM name : ctest-TestBasicPolicy-11878356-35784447 2025-11-18 01:06:19,230 - DEBUG - VM ctest-TestBasicPolicy-11878356-35784447 ID is ad72a400-cdbf-4f03-ba27-092133b03592 2025-11-18 01:06:19,250 - DEBUG - VM ctest-TestBasicPolicy-11878356-35784447 launched on Node cn-jenkins-deploy-platform-ansible-os-4750-1 2025-11-18 01:06:19,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad72a400-cdbf-4f03-ba27-092133b03592 2025-11-18 01:06:19,336 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5c054c7-1a4d-4305-ac52-3666d9f938a1 2025-11-18 01:06:22,610 - 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 1026ms') 2025-11-18 01:06:22,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11878356-35784447 failed! 2025-11-18 01:06:22,664 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11878356:ctest-vn-84109211 is 162.213.4.1 and allocation pool is NOT set 2025-11-18 01:06:24,723 - 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.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.038/6.306/10.575/4.268 ms') 2025-11-18 01:06:24,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11878356-35784447 passed 2025-11-18 01:06:24,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:06:24,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11878356-35784447, IP 162.213.4.3, Port 22 2025-11-18 01:06:24,936 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-18 01:06:25,008 - DEBUG - VM ctest-TestBasicPolicy-11878356-35784447 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 01:06:30,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:06:30,009 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11878356-35784447, IP 162.213.4.3, Port 22 2025-11-18 01:06:30,163 - DEBUG - VM ctest-TestBasicPolicy-11878356-35784447 is ready for SSH connections 2025-11-18 01:06:30,163 - INFO - Waiting for VM ctest-TestBasicPolicy-11878356-87935341 to be up.. 2025-11-18 01:06:30,240 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:06:30,240 - INFO - VM name : ctest-TestBasicPolicy-11878356-87935341 2025-11-18 01:06:30,317 - DEBUG - VM ctest-TestBasicPolicy-11878356-87935341 ID is 8f4f67d3-0bdc-4441-a83a-be19fc245044 2025-11-18 01:06:30,317 - DEBUG - VM ctest-TestBasicPolicy-11878356-87935341 launched on Node cn-jenkins-deploy-platform-ansible-os-4750-1 2025-11-18 01:06:30,395 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f4f67d3-0bdc-4441-a83a-be19fc245044 2025-11-18 01:06:30,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/43c51703-e355-452c-8f2f-d0bfe755afe3 2025-11-18 01:06:31,633 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.767/3.162/1.394 ms') 2025-11-18 01:06:31,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11878356-87935341 passed 2025-11-18 01:06:31,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:06:31,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11878356-87935341, IP 11.99.199.131, Port 22 2025-11-18 01:06:31,936 - DEBUG - VM ctest-TestBasicPolicy-11878356-87935341 is ready for SSH connections 2025-11-18 01:06:31,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:06:31,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.99.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 01:06:31,936 - DEBUG - ping -s 56 -c 3 -W 1 11.99.199.131 2025-11-18 01:06:35,614 - DEBUG - PING 11.99.199.131 (11.99.199.131): 56 data bytes 64 bytes from 11.99.199.131: seq=0 ttl=63 time=3.409 ms 64 bytes from 11.99.199.131: seq=1 ttl=63 time=0.740 ms 64 bytes from 11.99.199.131: seq=2 ttl=63 time=0.842 ms --- 11.99.199.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.663/3.409 ms 2025-11-18 01:06:35,614 - INFO - Ping to IP 11.99.199.131 from VM ctest-TestBasicPolicy-11878356-35784447 passed 2025-11-18 01:06:35,788 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0adacae-2e99-4700-9e50-02787b002340", "href": "http://10.0.0.50:8082/network-policy/a0adacae-2e99-4700-9e50-02787b002340"}} 2025-11-18 01:06:35,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:06:35,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.99.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 01:06:35,788 - DEBUG - ping -s 56 -c 3 -W 1 11.99.199.131 2025-11-18 01:06:39,006 - DEBUG - PING 11.99.199.131 (11.99.199.131): 56 data bytes --- 11.99.199.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 01:06:39,006 - WARNING - Ping to IP 11.99.199.131 from VM ctest-TestBasicPolicy-11878356-35784447 failed 2025-11-18 01:06:39,006 - INFO - Deleting VM ctest-TestBasicPolicy-11878356-87935341 2025-11-18 01:06:39,072 - INFO - Deleting VM ctest-TestBasicPolicy-11878356-35784447 2025-11-18 01:06:39,426 - INFO - Deleted policy ctest-policy-allow-all-55188892 2025-11-18 01:06:39,427 - INFO - Deleting VN ctest-vn-53995093 2025-11-18 01:06:39,459 - DEBUG - VN 754bf921-7217-4292-8abf-0996fbf3a3c2 still in use: Unable to complete operation on network 754bf921-7217-4292-8abf-0996fbf3a3c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0be6331c-1e36-4f90-89fb-c357baefc29c'] 2025-11-18 01:06:39,459 - WARNING - Deleting VN ctest-vn-53995093 failed..Will retry 2025-11-18 01:06:41,565 - DEBUG - Response for deleting network () 2025-11-18 01:06:41,566 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/babe0dce-6162-41df-be8c-b151e1e6864c 2025-11-18 01:06:41,571 - DEBUG - Response Code: 404 2025-11-18 01:06:41,571 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:41,576 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:41,629 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:41,695 - INFO - Validated that VN ctest-vn-53995093 is not found in API Server 2025-11-18 01:06:41,704 - DEBUG - VN ctest-vn-53995093 is not present in Agent 10.0.0.50 2025-11-18 01:06:41,704 - INFO - Validated that VN ctest-vn-53995093 is not in any agent 2025-11-18 01:06:41,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53995093 info 2025-11-18 01:06:41,719 - INFO - Deleting VN ctest-vn-84109211 2025-11-18 01:06:41,823 - DEBUG - Response for deleting network () 2025-11-18 01:06:41,823 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e5c74f3-30e3-453c-855d-fec02e3946cb 2025-11-18 01:06:41,829 - DEBUG - Response Code: 404 2025-11-18 01:06:41,829 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-18 01:06:41,833 - DEBUG - Requesting: http://10.0.0.50:8082/domain/91d8b101-eab5-48b5-a8a3-75a505650ca8 2025-11-18 01:06:41,889 - DEBUG - Requesting: http://10.0.0.50:8082/project/77e3ae5d-9c33-4214-a5fb-c32f8796e9ad 2025-11-18 01:06:41,959 - INFO - Validated that VN ctest-vn-84109211 is not found in API Server 2025-11-18 01:06:41,971 - DEBUG - VN ctest-vn-84109211 is not present in Agent 10.0.0.50 2025-11-18 01:06:41,971 - INFO - Validated that VN ctest-vn-84109211 is not in any agent 2025-11-18 01:06:41,985 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84109211 info 2025-11-18 01:06:42,242 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 01:06:42,242 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-11-18 01:06:42,242 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:06:42,925 - INFO - Deleted project: ctest-TestBasicPolicy-11878356, ID : 77e3ae5d-9c33-4214-a5fb-c32f8796e9ad