2025-11-10 12:05:47,996 - INFO - Domain Default found not creating 2025-11-10 12:05:48,164 - INFO - Project ctest-TestBasicPolicy-89970226 not found, creating it 2025-11-10 12:05:48,622 - INFO - Created Project:ctest-TestBasicPolicy-89970226, ID : 0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:05:50,072 - INFO - ================================================================================ 2025-11-10 12:05:50,072 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 12:05:50,072 - 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-10 12:05:50,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-10 12:05:50,325 - INFO - Initial checks done. Running the testcase now 2025-11-10 12:05:50,325 - INFO - 2025-11-10 12:05:50,889 - DEBUG - Response for create_network : {'network': {'id': '390161a3-9756-407b-bc92-1bb580e8121d', 'name': 'ctest-vn-02005916', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'project_id': '0c841655209b4aef8af428f2c6373eee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-vn-02005916'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 12:05:51,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d636783-7807-4c2e-a230-a019a5ec06b2', 'name': '', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'network_id': '390161a3-9756-407b-bc92-1bb580e8121d', 'ip_version': 4, 'cidr': '47.170.248.128/26', 'allocation_pools': [{'start': '47.170.248.130', 'end': '47.170.248.190'}], 'gateway_ip': '47.170.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.170.248.130', 'tags': [], 'project_id': '0c841655209b4aef8af428f2c6373eee'}} 2025-11-10 12:05:51,126 - INFO - Created VN ctest-vn-02005916 2025-11-10 12:05:51,179 - DEBUG - VN ctest-vn-02005916 UUID is 390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:51,489 - DEBUG - Response for create_network : {'network': {'id': '0b6acfee-e786-4ed9-b600-820c3dd86abf', 'name': 'ctest-vn-43517779', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'project_id': '0c841655209b4aef8af428f2c6373eee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-vn-43517779'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 12:05:51,705 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c86169a0-f59a-43ca-9693-e6a92b67ddbb', 'name': '', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'network_id': '0b6acfee-e786-4ed9-b600-820c3dd86abf', 'ip_version': 4, 'cidr': '72.92.36.0/26', 'allocation_pools': [{'start': '72.92.36.2', 'end': '72.92.36.62'}], 'gateway_ip': '72.92.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.92.36.2', 'tags': [], 'project_id': '0c841655209b4aef8af428f2c6373eee'}} 2025-11-10 12:05:51,727 - INFO - Created VN ctest-vn-43517779 2025-11-10 12:05:51,787 - DEBUG - VN ctest-vn-43517779 UUID is 0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:51,911 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916, 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-89970226:ctest-vn-43517779, 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-10 12:05:52,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '390161a3-9756-407b-bc92-1bb580e8121d', 'name': 'ctest-vn-02005916', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'project_id': '0c841655209b4aef8af428f2c6373eee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9d636783-7807-4c2e-a230-a019a5ec06b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-vn-02005916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-policy-allow-all-28660070']], 'subnet_ipam': [{'subnet_cidr': '47.170.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 12:05:52,486 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b6acfee-e786-4ed9-b600-820c3dd86abf', 'name': 'ctest-vn-43517779', 'tenant_id': '0c841655209b4aef8af428f2c6373eee', 'project_id': '0c841655209b4aef8af428f2c6373eee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c86169a0-f59a-43ca-9693-e6a92b67ddbb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-vn-43517779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-policy-allow-all-28660070']], 'subnet_ipam': [{'subnet_cidr': '72.92.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 12:05:52,635 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:05:52,938 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:05:52,970 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:05:52,982 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:05:53,054 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,075 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:05:53,083 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:05:53,090 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c25d4ac4-0ff0-4486-b271-52b1b711f558 2025-11-10 12:05:53,098 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 12:05:53,098 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,107 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:05:53,121 - INFO - Verified VN network id 11 for VN 390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,121 - INFO - Verifications in API Server for VN ctest-vn-02005916 passed 2025-11-10 12:05:53,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,130 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:05:53,138 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:05:53,145 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c25d4ac4-0ff0-4486-b271-52b1b711f558 2025-11-10 12:05:53,157 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89970226', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4107671690385178747', 'uuid-lslong': '13587953492095930909'}, 'enable': 'true', 'created': '2025-11-10T12:05:50', 'last-modified': '2025-11-10T12:05:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979251'} 2025-11-10 12:05:53,164 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 12:05:53,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02005916 passed 2025-11-10 12:05:53,164 - DEBUG - ====Verifying policy data for ctest-vn-02005916 in API_Server ====== 2025-11-10 12:05:53,164 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:05:53,170 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:05:53,181 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:05:53,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/390161a3-9756-407b-bc92-1bb580e8121d 2025-11-10 12:05:53,262 - DEBUG - ==>Verifying data for policy with id: 1df47e1a-ccfc-4712-aed7-9a254ce64a83, fqn: ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-policy-allow-all-28660070'] 2025-11-10 12:05:53,262 - INFO - VN ctest-vn-02005916 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 12:05:53,262 - DEBUG - Verifying the vn in opserver 2025-11-10 12:05:53,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916 virtual network link through opserver 10.0.0.33 2025-11-10 12:05:53,262 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-10 12:05:53,559 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-10 12:05:53,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916?flat'} 2025-11-10 12:05:53,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916 is found in opserver 2025-11-10 12:05:53,629 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 12:05:53,635 - DEBUG - VRF ids for VN ctest-vn-02005916: {} 2025-11-10 12:05:53,635 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:05:53,642 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:05:53,655 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:05:53,723 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,734 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:05:53,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:05:53,757 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/29c21c82-c7ab-45b4-95a1-2b2d7771a707 2025-11-10 12:05:53,764 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 12:05:53,765 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,774 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:05:53,788 - INFO - Verified VN network id 12 for VN 0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,788 - INFO - Verifications in API Server for VN ctest-vn-43517779 passed 2025-11-10 12:05:53,789 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,802 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:05:53,809 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:05:53,817 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/29c21c82-c7ab-45b4-95a1-2b2d7771a707 2025-11-10 12:05:53,830 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-43517779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89970226', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '822698506942041817', 'uuid-lslong': '13114625103991696063'}, 'enable': 'true', 'created': '2025-11-10T12:05:51', 'last-modified': '2025-11-10T12:05:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415662'} 2025-11-10 12:05:53,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 12:05:53,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43517779 passed 2025-11-10 12:05:53,838 - DEBUG - ====Verifying policy data for ctest-vn-43517779 in API_Server ====== 2025-11-10 12:05:53,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:05:53,844 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:05:53,855 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:05:53,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b6acfee-e786-4ed9-b600-820c3dd86abf 2025-11-10 12:05:53,936 - DEBUG - ==>Verifying data for policy with id: 1df47e1a-ccfc-4712-aed7-9a254ce64a83, fqn: ['default-domain', 'ctest-TestBasicPolicy-89970226', 'ctest-policy-allow-all-28660070'] 2025-11-10 12:05:53,936 - INFO - VN ctest-vn-43517779 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 12:05:53,936 - DEBUG - Verifying the vn in opserver 2025-11-10 12:05:53,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-43517779 virtual network link through opserver 10.0.0.33 2025-11-10 12:05:53,936 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-10 12:05:53,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-43517779', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-43517779?flat'} 2025-11-10 12:05:53,946 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-43517779 is found in opserver 2025-11-10 12:05:53,956 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 12:05:53,961 - DEBUG - VRF ids for VN ctest-vn-43517779: {} 2025-11-10 12:05:54,043 - DEBUG - Services list from nova: [, , ] 2025-11-10 12:05:55,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1) 2025-11-10 12:05:56,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1) 2025-11-10 12:05:56,342 - INFO - Waiting for VM ctest-TestBasicPolicy-89970226-78317340 to be up.. 2025-11-10 12:05:56,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 12:06:01,517 - DEBUG - VM is in ACTIVE state now 2025-11-10 12:06:01,517 - INFO - VM name : ctest-TestBasicPolicy-89970226-78317340 2025-11-10 12:06:01,592 - DEBUG - VM ctest-TestBasicPolicy-89970226-78317340 ID is d2a09e20-7ac3-404b-927e-567e9bb59bec 2025-11-10 12:06:01,612 - DEBUG - VM ctest-TestBasicPolicy-89970226-78317340 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1 2025-11-10 12:06:01,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d2a09e20-7ac3-404b-927e-567e9bb59bec 2025-11-10 12:06:01,702 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f10bf192-e98d-4ab0-a7c1-369c312b1673 2025-11-10 12:06:04,952 - 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 1002ms') 2025-11-10 12:06:04,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89970226-78317340 failed! 2025-11-10 12:06:05,007 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89970226:ctest-vn-02005916 is 47.170.248.129 and allocation pool is NOT set 2025-11-10 12:06:07,068 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.636 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.636/4.399/8.162/3.763 ms') 2025-11-10 12:06:07,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89970226-78317340 passed 2025-11-10 12:06:07,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:06:07,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89970226-78317340, IP 47.170.248.131, Port 22 2025-11-10 12:06:07,285 - 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-10 12:06:07,374 - DEBUG - VM ctest-TestBasicPolicy-89970226-78317340 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 12:06:12,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:06:12,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89970226-78317340, IP 47.170.248.131, Port 22 2025-11-10 12:06:12,531 - DEBUG - VM ctest-TestBasicPolicy-89970226-78317340 is ready for SSH connections 2025-11-10 12:06:12,531 - INFO - Waiting for VM ctest-TestBasicPolicy-89970226-62302649 to be up.. 2025-11-10 12:06:12,610 - DEBUG - VM is in ACTIVE state now 2025-11-10 12:06:12,610 - INFO - VM name : ctest-TestBasicPolicy-89970226-62302649 2025-11-10 12:06:12,686 - DEBUG - VM ctest-TestBasicPolicy-89970226-62302649 ID is fb8c1aa7-553d-4c2c-b9be-704c12e85ede 2025-11-10 12:06:12,686 - DEBUG - VM ctest-TestBasicPolicy-89970226-62302649 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1 2025-11-10 12:06:12,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fb8c1aa7-553d-4c2c-b9be-704c12e85ede 2025-11-10 12:06:12,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ebac8a0a-820d-4b74-8873-db215857cbd3 2025-11-10 12:06:14,012 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.729/2.949/1.219 ms') 2025-11-10 12:06:14,012 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89970226-62302649 passed 2025-11-10 12:06:14,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:06:14,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89970226-62302649, IP 72.92.36.3, Port 22 2025-11-10 12:06:14,323 - DEBUG - VM ctest-TestBasicPolicy-89970226-62302649 is ready for SSH connections 2025-11-10 12:06:14,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:06:14,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.92.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 12:06:14,323 - DEBUG - ping -s 56 -c 3 -W 1 72.92.36.3 2025-11-10 12:06:18,463 - DEBUG - PING 72.92.36.3 (72.92.36.3): 56 data bytes 64 bytes from 72.92.36.3: seq=0 ttl=63 time=3.745 ms 64 bytes from 72.92.36.3: seq=1 ttl=63 time=1.099 ms 64 bytes from 72.92.36.3: seq=2 ttl=63 time=1.260 ms --- 72.92.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.099/2.034/3.745 ms 2025-11-10 12:06:18,463 - INFO - Ping to IP 72.92.36.3 from VM ctest-TestBasicPolicy-89970226-78317340 passed 2025-11-10 12:06:18,647 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1df47e1a-ccfc-4712-aed7-9a254ce64a83", "href": "http://10.0.0.33:8082/network-policy/1df47e1a-ccfc-4712-aed7-9a254ce64a83"}} 2025-11-10 12:06:18,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:06:18,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.92.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 12:06:18,647 - DEBUG - ping -s 56 -c 3 -W 1 72.92.36.3 2025-11-10 12:06:21,878 - DEBUG - PING 72.92.36.3 (72.92.36.3): 56 data bytes --- 72.92.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 12:06:21,879 - WARNING - Ping to IP 72.92.36.3 from VM ctest-TestBasicPolicy-89970226-78317340 failed 2025-11-10 12:06:21,879 - INFO - Deleting VM ctest-TestBasicPolicy-89970226-62302649 2025-11-10 12:06:21,958 - INFO - Deleting VM ctest-TestBasicPolicy-89970226-78317340 2025-11-10 12:06:22,339 - INFO - Deleted policy ctest-policy-allow-all-28660070 2025-11-10 12:06:22,339 - INFO - Deleting VN ctest-vn-43517779 2025-11-10 12:06:22,377 - DEBUG - VN 0b6acfee-e786-4ed9-b600-820c3dd86abf still in use: Unable to complete operation on network 0b6acfee-e786-4ed9-b600-820c3dd86abf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-965eaeb4-5c55-4097-8415-85825a91129c'] 2025-11-10 12:06:22,377 - WARNING - Deleting VN ctest-vn-43517779 failed..Will retry 2025-11-10 12:06:24,545 - DEBUG - Response for deleting network () 2025-11-10 12:06:24,545 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/deb70e62-edcc-4d6d-9590-1edc789d7598 2025-11-10 12:06:24,550 - DEBUG - Response Code: 404 2025-11-10 12:06:24,550 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:06:24,558 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:06:24,617 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:06:24,686 - INFO - Validated that VN ctest-vn-43517779 is not found in API Server 2025-11-10 12:06:24,696 - DEBUG - VN ctest-vn-43517779 is not present in Agent 10.0.0.33 2025-11-10 12:06:24,696 - INFO - Validated that VN ctest-vn-43517779 is not in any agent 2025-11-10 12:06:24,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43517779 info 2025-11-10 12:06:24,713 - INFO - Deleting VN ctest-vn-02005916 2025-11-10 12:06:24,825 - DEBUG - Response for deleting network () 2025-11-10 12:06:24,825 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dbac2523-ba35-4b97-bcc8-bebdb51e52dd 2025-11-10 12:06:24,833 - DEBUG - Response Code: 404 2025-11-10 12:06:24,834 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-10 12:06:24,840 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8564d5ce-dcfe-4d49-9782-e8743e94d429 2025-11-10 12:06:24,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/0c841655-209b-4aef-8af4-28f2c6373eee 2025-11-10 12:06:24,974 - INFO - Validated that VN ctest-vn-02005916 is not found in API Server 2025-11-10 12:06:24,985 - DEBUG - VN ctest-vn-02005916 is not present in Agent 10.0.0.33 2025-11-10 12:06:24,985 - INFO - Validated that VN ctest-vn-02005916 is not in any agent 2025-11-10 12:06:25,001 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02005916 info 2025-11-10 12:06:25,257 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 12:06:25,257 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-10 12:06:25,257 - INFO - -------------------------------------------------------------------------------- 2025-11-10 12:06:25,948 - INFO - Deleted project: ctest-TestBasicPolicy-89970226, ID : 0c841655-209b-4aef-8af4-28f2c6373eee