2025-12-04 02:22:19,657 - INFO - Domain Default found not creating 2025-12-04 02:22:19,844 - INFO - Project ctest-TestBasicPolicy-31850003 not found, creating it 2025-12-04 02:22:20,337 - INFO - Created Project:ctest-TestBasicPolicy-31850003, ID : 5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:21,961 - INFO - ================================================================================ 2025-12-04 02:22:21,961 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-04 02:22:21,961 - 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-04 02:22:22,248 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-12-04 02:22:22,248 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:22:22,248 - INFO - 2025-12-04 02:22:22,872 - DEBUG - Response for create_network : {'network': {'id': 'e0a3ad97-f4b5-420e-97ac-f7bce62518dd', 'name': 'ctest-vn-74826599', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'project_id': '5e026a097fbc4412ab9dde67946119ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-vn-74826599'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:22:23,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '34f67a3f-b096-4fe5-8acb-23cba749ef83', 'name': '', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'network_id': 'e0a3ad97-f4b5-420e-97ac-f7bce62518dd', 'ip_version': 4, 'cidr': '177.178.122.192/26', 'allocation_pools': [{'start': '177.178.122.194', 'end': '177.178.122.254'}], 'gateway_ip': '177.178.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.178.122.194', 'tags': [], 'project_id': '5e026a097fbc4412ab9dde67946119ba'}} 2025-12-04 02:22:23,114 - INFO - Created VN ctest-vn-74826599 2025-12-04 02:22:23,168 - DEBUG - VN ctest-vn-74826599 UUID is e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:23,484 - DEBUG - Response for create_network : {'network': {'id': 'ba71f6ac-4f54-4287-9eca-02129ff15e13', 'name': 'ctest-vn-66913083', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'project_id': '5e026a097fbc4412ab9dde67946119ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-vn-66913083'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:22:23,694 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8081695-c49c-4c6a-a32c-dd9dd8d96888', 'name': '', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'network_id': 'ba71f6ac-4f54-4287-9eca-02129ff15e13', 'ip_version': 4, 'cidr': '193.47.111.0/26', 'allocation_pools': [{'start': '193.47.111.2', 'end': '193.47.111.62'}], 'gateway_ip': '193.47.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.47.111.2', 'tags': [], 'project_id': '5e026a097fbc4412ab9dde67946119ba'}} 2025-12-04 02:22:23,713 - INFO - Created VN ctest-vn-66913083 2025-12-04 02:22:23,767 - DEBUG - VN ctest-vn-66913083 UUID is ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:23,887 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599, 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-31850003:ctest-vn-66913083, 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-04 02:22:24,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0a3ad97-f4b5-420e-97ac-f7bce62518dd', 'name': 'ctest-vn-74826599', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'project_id': '5e026a097fbc4412ab9dde67946119ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34f67a3f-b096-4fe5-8acb-23cba749ef83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-vn-74826599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-policy-allow-all-35713444']], 'subnet_ipam': [{'subnet_cidr': '177.178.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:22:24,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba71f6ac-4f54-4287-9eca-02129ff15e13', 'name': 'ctest-vn-66913083', 'tenant_id': '5e026a097fbc4412ab9dde67946119ba', 'project_id': '5e026a097fbc4412ab9dde67946119ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8081695-c49c-4c6a-a32c-dd9dd8d96888'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-vn-66913083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-policy-allow-all-35713444']], 'subnet_ipam': [{'subnet_cidr': '193.47.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:22:24,612 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:24,914 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:24,950 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:24,964 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:25,042 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,053 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,064 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:25,072 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:25,079 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b08803dc-0fbe-4894-8042-b18b95b8566c 2025-12-04 02:22:25,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:22:25,087 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,096 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:25,112 - INFO - Verified VN network id 11 for VN e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,112 - INFO - Verifications in API Server for VN ctest-vn-74826599 passed 2025-12-04 02:22:25,112 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:25,128 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:25,135 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b08803dc-0fbe-4894-8042-b18b95b8566c 2025-12-04 02:22:25,148 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31850003', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16186972353856881166', 'uuid-lslong': '10929382786408454365'}, 'enable': 'true', 'created': '2025-12-04T02:22:22', 'last-modified': '2025-12-04T02:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984359'} 2025-12-04 02:22:25,154 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:22:25,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74826599 passed 2025-12-04 02:22:25,154 - DEBUG - ====Verifying policy data for ctest-vn-74826599 in API_Server ====== 2025-12-04 02:22:25,154 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:25,160 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:25,174 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:25,248 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0a3ad97-f4b5-420e-97ac-f7bce62518dd 2025-12-04 02:22:25,258 - DEBUG - ==>Verifying data for policy with id: e8797297-afd4-4f23-9a2f-bc09d6814cb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-policy-allow-all-35713444'] 2025-12-04 02:22:25,258 - INFO - VN ctest-vn-74826599 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:22:25,258 - DEBUG - Verifying the vn in opserver 2025-12-04 02:22:25,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599 virtual network link through opserver 10.0.0.19 2025-12-04 02:22:25,258 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-04 02:22:25,555 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-04 02:22:25,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599?flat'} 2025-12-04 02:22:25,623 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599 is found in opserver 2025-12-04 02:22:25,634 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:22:25,638 - DEBUG - VRF ids for VN ctest-vn-74826599: {} 2025-12-04 02:22:25,638 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:25,644 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:25,655 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:25,729 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,742 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,752 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:25,761 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:25,772 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12df260f-e00a-4dff-a729-3853f43816c2 2025-12-04 02:22:25,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:22:25,780 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,790 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:25,806 - INFO - Verified VN network id 12 for VN ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,806 - INFO - Verifications in API Server for VN ctest-vn-66913083 passed 2025-12-04 02:22:25,806 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,817 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:25,823 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:25,830 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12df260f-e00a-4dff-a729-3853f43816c2 2025-12-04 02:22:25,840 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-66913083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31850003', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13434790383348630151', 'uuid-lslong': '11441960082304228883'}, 'enable': 'true', 'created': '2025-12-04T02:22:23', 'last-modified': '2025-12-04T02:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447245'} 2025-12-04 02:22:25,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:22:25,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66913083 passed 2025-12-04 02:22:25,847 - DEBUG - ====Verifying policy data for ctest-vn-66913083 in API_Server ====== 2025-12-04 02:22:25,847 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:25,852 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:25,862 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:25,938 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba71f6ac-4f54-4287-9eca-02129ff15e13 2025-12-04 02:22:25,949 - DEBUG - ==>Verifying data for policy with id: e8797297-afd4-4f23-9a2f-bc09d6814cb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-31850003', 'ctest-policy-allow-all-35713444'] 2025-12-04 02:22:25,949 - INFO - VN ctest-vn-66913083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:22:25,949 - DEBUG - Verifying the vn in opserver 2025-12-04 02:22:25,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-66913083 virtual network link through opserver 10.0.0.19 2025-12-04 02:22:25,949 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-04 02:22:25,960 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-66913083', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-66913083?flat'} 2025-12-04 02:22:25,960 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-66913083 is found in opserver 2025-12-04 02:22:25,970 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:22:25,976 - DEBUG - VRF ids for VN ctest-vn-66913083: {} 2025-12-04 02:22:26,039 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:22:27,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:22:28,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:22:28,288 - INFO - Waiting for VM ctest-TestBasicPolicy-31850003-43463481 to be up.. 2025-12-04 02:22:28,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:22:33,464 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:22:33,464 - INFO - VM name : ctest-TestBasicPolicy-31850003-43463481 2025-12-04 02:22:33,546 - DEBUG - VM ctest-TestBasicPolicy-31850003-43463481 ID is 8c72e4b0-6a53-4653-96f4-09629cfebb1f 2025-12-04 02:22:33,568 - DEBUG - VM ctest-TestBasicPolicy-31850003-43463481 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:22:33,669 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8c72e4b0-6a53-4653-96f4-09629cfebb1f 2025-12-04 02:22:33,687 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/725b9c2e-f259-4f48-8298-8ec333bc7f97 2025-12-04 02:22:36,927 - 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 1030ms') 2025-12-04 02:22:36,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31850003-43463481 failed! 2025-12-04 02:22:36,983 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31850003:ctest-vn-74826599 is 177.178.122.193 and allocation pool is NOT set 2025-12-04 02:22:39,041 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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.484/2.355/4.227/1.871 ms') 2025-12-04 02:22:39,041 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31850003-43463481 passed 2025-12-04 02:22:39,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:22:39,196 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31850003-43463481, IP 177.178.122.195, Port 22 2025-12-04 02:22:39,351 - DEBUG - VM ctest-TestBasicPolicy-31850003-43463481 is ready for SSH connections 2025-12-04 02:22:39,351 - INFO - Waiting for VM ctest-TestBasicPolicy-31850003-75339103 to be up.. 2025-12-04 02:22:39,435 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:22:39,435 - INFO - VM name : ctest-TestBasicPolicy-31850003-75339103 2025-12-04 02:22:39,511 - DEBUG - VM ctest-TestBasicPolicy-31850003-75339103 ID is 54f40917-0f16-47d0-869e-e107bde9947d 2025-12-04 02:22:39,511 - DEBUG - VM ctest-TestBasicPolicy-31850003-75339103 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:22:39,582 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/54f40917-0f16-47d0-869e-e107bde9947d 2025-12-04 02:22:39,591 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9faeb75c-cdd2-47e6-94aa-ca52c3045832 2025-12-04 02:22:40,825 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.593 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.593/1.760/2.927/1.167 ms') 2025-12-04 02:22:40,825 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31850003-75339103 passed 2025-12-04 02:22:40,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:22:40,980 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31850003-75339103, IP 193.47.111.3, Port 22 2025-12-04 02:22:41,135 - DEBUG - VM ctest-TestBasicPolicy-31850003-75339103 is ready for SSH connections 2025-12-04 02:22:41,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:22:41,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.47.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:22:41,136 - DEBUG - ping -s 56 -c 3 -W 1 193.47.111.3 2025-12-04 02:22:45,205 - DEBUG - PING 193.47.111.3 (193.47.111.3): 56 data bytes 64 bytes from 193.47.111.3: seq=0 ttl=63 time=3.886 ms 64 bytes from 193.47.111.3: seq=1 ttl=63 time=1.158 ms 64 bytes from 193.47.111.3: seq=2 ttl=63 time=1.011 ms --- 193.47.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/2.018/3.886 ms 2025-12-04 02:22:45,205 - INFO - Ping to IP 193.47.111.3 from VM ctest-TestBasicPolicy-31850003-43463481 passed 2025-12-04 02:22:45,383 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e8797297-afd4-4f23-9a2f-bc09d6814cb7", "href": "http://10.0.0.19:8082/network-policy/e8797297-afd4-4f23-9a2f-bc09d6814cb7"}} 2025-12-04 02:22:45,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:22:45,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.47.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:22:45,384 - DEBUG - ping -s 56 -c 3 -W 1 193.47.111.3 2025-12-04 02:22:48,598 - DEBUG - PING 193.47.111.3 (193.47.111.3): 56 data bytes --- 193.47.111.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:22:48,598 - WARNING - Ping to IP 193.47.111.3 from VM ctest-TestBasicPolicy-31850003-43463481 failed 2025-12-04 02:22:48,598 - INFO - Deleting VM ctest-TestBasicPolicy-31850003-75339103 2025-12-04 02:22:48,675 - INFO - Deleting VM ctest-TestBasicPolicy-31850003-43463481 2025-12-04 02:22:49,054 - INFO - Deleted policy ctest-policy-allow-all-35713444 2025-12-04 02:22:49,054 - INFO - Deleting VN ctest-vn-66913083 2025-12-04 02:22:49,092 - DEBUG - VN ba71f6ac-4f54-4287-9eca-02129ff15e13 still in use: Unable to complete operation on network ba71f6ac-4f54-4287-9eca-02129ff15e13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-567a409f-5638-4184-bff8-1b65e0428a0c'] 2025-12-04 02:22:49,092 - WARNING - Deleting VN ctest-vn-66913083 failed..Will retry 2025-12-04 02:22:51,193 - DEBUG - Response for deleting network () 2025-12-04 02:22:51,193 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/885d5a1f-d069-47e6-a731-10014fa259f6 2025-12-04 02:22:51,197 - DEBUG - Response Code: 404 2025-12-04 02:22:51,198 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:51,202 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:51,257 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:51,335 - INFO - Validated that VN ctest-vn-66913083 is not found in API Server 2025-12-04 02:22:51,345 - DEBUG - VN ctest-vn-66913083 is not present in Agent 10.0.0.19 2025-12-04 02:22:51,345 - INFO - Validated that VN ctest-vn-66913083 is not in any agent 2025-12-04 02:22:51,360 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66913083 info 2025-12-04 02:22:51,360 - INFO - Deleting VN ctest-vn-74826599 2025-12-04 02:22:51,473 - DEBUG - Response for deleting network () 2025-12-04 02:22:51,473 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/df1d37e1-3331-46c6-a5af-d19ca3db7b3d 2025-12-04 02:22:51,479 - DEBUG - Response Code: 404 2025-12-04 02:22:51,479 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-04 02:22:51,486 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4ab31d1a-963f-4ca3-8cea-f2f2d6aa3fed 2025-12-04 02:22:51,542 - DEBUG - Requesting: http://10.0.0.19:8082/project/5e026a09-7fbc-4412-ab9d-de67946119ba 2025-12-04 02:22:51,616 - INFO - Validated that VN ctest-vn-74826599 is not found in API Server 2025-12-04 02:22:51,625 - DEBUG - VN ctest-vn-74826599 is not present in Agent 10.0.0.19 2025-12-04 02:22:51,625 - INFO - Validated that VN ctest-vn-74826599 is not in any agent 2025-12-04 02:22:51,641 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74826599 info 2025-12-04 02:22:51,912 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:22:51,912 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-04 02:22:51,912 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:22:52,662 - INFO - Deleted project: ctest-TestBasicPolicy-31850003, ID : 5e026a09-7fbc-4412-ab9d-de67946119ba