2025-05-07 14:14:45,292 - INFO - Domain Default found not creating 2025-05-07 14:14:45,424 - INFO - Project ctest-TestBasicPolicy-34252086 not found, creating it 2025-05-07 14:14:45,868 - INFO - Created Project:ctest-TestBasicPolicy-34252086, ID : e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:14:47,235 - INFO - ================================================================================ 2025-05-07 14:14:47,235 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-07 14:14:47,235 - 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-05-07 14:14:47,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-07 14:14:47,486 - INFO - Initial checks done. Running the testcase now 2025-05-07 14:14:47,486 - INFO - 2025-05-07 14:14:48,014 - DEBUG - Response for create_network : {'network': {'id': '387a5cdb-f13b-446c-be23-471131a08d63', 'name': 'ctest-vn-54304803', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-vn-54304803'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 14:14:48,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e17e470-15ed-4f55-8926-d851fd4c3541', 'name': '', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'network_id': '387a5cdb-f13b-446c-be23-471131a08d63', 'ip_version': 4, 'cidr': '165.131.103.0/26', 'allocation_pools': [{'start': '165.131.103.2', 'end': '165.131.103.62'}], 'gateway_ip': '165.131.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.131.103.2', 'tags': [], 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4'}} 2025-05-07 14:14:48,203 - INFO - Created VN ctest-vn-54304803 2025-05-07 14:14:48,256 - DEBUG - VN ctest-vn-54304803 UUID is 387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:48,709 - DEBUG - Response for create_network : {'network': {'id': '7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072', 'name': 'ctest-vn-54752704', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-vn-54752704'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 14:14:48,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e4bb566-006f-49b3-99f7-cdba87ff11ec', 'name': '', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'network_id': '7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072', 'ip_version': 4, 'cidr': '8.207.31.0/26', 'allocation_pools': [{'start': '8.207.31.2', 'end': '8.207.31.62'}], 'gateway_ip': '8.207.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.207.31.2', 'tags': [], 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4'}} 2025-05-07 14:14:48,882 - INFO - Created VN ctest-vn-54752704 2025-05-07 14:14:48,940 - DEBUG - VN ctest-vn-54752704 UUID is 7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:49,051 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803, 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-34252086:ctest-vn-54752704, 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-05-07 14:14:49,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '387a5cdb-f13b-446c-be23-471131a08d63', 'name': 'ctest-vn-54304803', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e17e470-15ed-4f55-8926-d851fd4c3541'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-vn-54304803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-policy-allow-all-16905369']], 'subnet_ipam': [{'subnet_cidr': '165.131.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 14:14:49,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072', 'name': 'ctest-vn-54752704', 'tenant_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'project_id': 'e6151d1f04a046f88ec32314ab18d4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e4bb566-006f-49b3-99f7-cdba87ff11ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-vn-54752704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-policy-allow-all-16905369']], 'subnet_ipam': [{'subnet_cidr': '8.207.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 14:14:49,768 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:14:50,063 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:14:50,091 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:14:50,106 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:14:50,179 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,190 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,200 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:14:50,207 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:14:50,214 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/de8ace23-221f-4904-a947-a48028014025 2025-05-07 14:14:50,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 14:14:50,222 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,231 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:14:50,249 - INFO - Verified VN network id 8 for VN 387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,249 - INFO - Verifications in API Server for VN ctest-vn-54304803 passed 2025-05-07 14:14:50,249 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,258 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:14:50,266 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:14:50,272 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/de8ace23-221f-4904-a947-a48028014025 2025-05-07 14:14:50,284 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34252086', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4069667312997450860', 'uuid-lslong': '13700872630563802467'}, 'enable': 'true', 'created': '2025-05-07T14:14:47', 'last-modified': '2025-05-07T14:14:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954394'} 2025-05-07 14:14:50,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 14:14:50,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54304803 passed 2025-05-07 14:14:50,291 - DEBUG - ====Verifying policy data for ctest-vn-54304803 in API_Server ====== 2025-05-07 14:14:50,291 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:14:50,296 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:14:50,308 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:14:50,380 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/387a5cdb-f13b-446c-be23-471131a08d63 2025-05-07 14:14:50,390 - DEBUG - ==>Verifying data for policy with id: 100534f8-e5a4-43c5-a7b6-a73c4afb1c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-policy-allow-all-16905369'] 2025-05-07 14:14:50,390 - INFO - VN ctest-vn-54304803 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 14:14:50,390 - DEBUG - Verifying the vn in opserver 2025-05-07 14:14:50,390 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803 virtual network link through opserver 10.0.0.49 2025-05-07 14:14:50,390 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-07 14:14:50,682 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-07 14:14:50,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803?flat'} 2025-05-07 14:14:50,732 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803 is found in opserver 2025-05-07 14:14:50,744 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 14:14:50,749 - DEBUG - VRF ids for VN ctest-vn-54304803: {} 2025-05-07 14:14:50,749 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:14:50,754 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:14:50,768 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:14:50,844 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:50,857 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:50,867 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:14:50,874 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:14:50,880 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b910e1e9-aad6-43f1-ad47-95a9aedde526 2025-05-07 14:14:50,887 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 14:14:50,887 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:50,896 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:14:50,910 - INFO - Verified VN network id 9 for VN 7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:50,910 - INFO - Verifications in API Server for VN ctest-vn-54752704 passed 2025-05-07 14:14:50,911 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:50,920 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:14:50,927 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:14:50,933 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b910e1e9-aad6-43f1-ad47-95a9aedde526 2025-05-07 14:14:50,946 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54752704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34252086', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8959629653550254700', 'uuid-lslong': '12522221987077918834'}, 'enable': 'true', 'created': '2025-05-07T14:14:48', 'last-modified': '2025-05-07T14:14:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389946'} 2025-05-07 14:14:50,952 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 14:14:50,952 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54752704 passed 2025-05-07 14:14:50,952 - DEBUG - ====Verifying policy data for ctest-vn-54752704 in API_Server ====== 2025-05-07 14:14:50,952 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:14:50,958 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:14:50,970 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:14:51,042 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 2025-05-07 14:14:51,054 - DEBUG - ==>Verifying data for policy with id: 100534f8-e5a4-43c5-a7b6-a73c4afb1c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-34252086', 'ctest-policy-allow-all-16905369'] 2025-05-07 14:14:51,054 - INFO - VN ctest-vn-54752704 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 14:14:51,054 - DEBUG - Verifying the vn in opserver 2025-05-07 14:14:51,054 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54752704 virtual network link through opserver 10.0.0.49 2025-05-07 14:14:51,054 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-07 14:14:51,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54752704', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54752704?flat'} 2025-05-07 14:14:51,066 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54752704 is found in opserver 2025-05-07 14:14:51,080 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 14:14:51,086 - DEBUG - VRF ids for VN ctest-vn-54752704: {} 2025-05-07 14:14:51,139 - DEBUG - Services list from nova: [, , ] 2025-05-07 14:14:52,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3283-1) 2025-05-07 14:14:53,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3283-1) 2025-05-07 14:14:53,296 - INFO - Waiting for VM ctest-TestBasicPolicy-34252086-58293365 to be up.. 2025-05-07 14:14:53,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 14:14:58,446 - DEBUG - VM is in ACTIVE state now 2025-05-07 14:14:58,446 - INFO - VM name : ctest-TestBasicPolicy-34252086-58293365 2025-05-07 14:14:58,518 - DEBUG - VM ctest-TestBasicPolicy-34252086-58293365 ID is 1d13b4cf-9319-4e00-b193-623cf6915a5f 2025-05-07 14:14:58,536 - DEBUG - VM ctest-TestBasicPolicy-34252086-58293365 launched on Node cn-jenkins-deploy-platform-ansible-os-3283-1 2025-05-07 14:14:58,612 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1d13b4cf-9319-4e00-b193-623cf6915a5f 2025-05-07 14:14:58,622 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ce296931-4ce2-4312-8e5f-26668879b4b4 2025-05-07 14:15:01,867 - 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 1003ms') 2025-05-07 14:15:01,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34252086-58293365 failed! 2025-05-07 14:15:01,924 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34252086:ctest-vn-54304803 is 165.131.103.1 and allocation pool is NOT set 2025-05-07 14:15:03,984 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.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 = 1.043/2.202/3.362/1.159 ms') 2025-05-07 14:15:03,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34252086-58293365 passed 2025-05-07 14:15:04,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 14:15:04,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34252086-58293365, IP 165.131.103.3, Port 22 2025-05-07 14:15:04,292 - DEBUG - VM ctest-TestBasicPolicy-34252086-58293365 is ready for SSH connections 2025-05-07 14:15:04,292 - INFO - Waiting for VM ctest-TestBasicPolicy-34252086-84241641 to be up.. 2025-05-07 14:15:04,366 - DEBUG - VM is in ACTIVE state now 2025-05-07 14:15:04,366 - INFO - VM name : ctest-TestBasicPolicy-34252086-84241641 2025-05-07 14:15:04,434 - DEBUG - VM ctest-TestBasicPolicy-34252086-84241641 ID is dab539a9-f0e0-46ad-8941-3a3ef3d0ed71 2025-05-07 14:15:04,434 - DEBUG - VM ctest-TestBasicPolicy-34252086-84241641 launched on Node cn-jenkins-deploy-platform-ansible-os-3283-1 2025-05-07 14:15:04,501 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/dab539a9-f0e0-46ad-8941-3a3ef3d0ed71 2025-05-07 14:15:04,509 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/bce3e4c7-febc-43b0-88d7-62dffa54159c 2025-05-07 14:15:05,748 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.500/2.604/1.103 ms') 2025-05-07 14:15:05,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34252086-84241641 passed 2025-05-07 14:15:05,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 14:15:05,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34252086-84241641, IP 8.207.31.3, Port 22 2025-05-07 14:15:06,052 - DEBUG - VM ctest-TestBasicPolicy-34252086-84241641 is ready for SSH connections 2025-05-07 14:15:06,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 14:15:06,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.207.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-07 14:15:06,052 - DEBUG - ping -s 56 -c 3 -W 1 8.207.31.3 2025-05-07 14:15:10,017 - DEBUG - PING 8.207.31.3 (8.207.31.3): 56 data bytes 64 bytes from 8.207.31.3: seq=0 ttl=63 time=3.137 ms 64 bytes from 8.207.31.3: seq=1 ttl=63 time=0.749 ms 64 bytes from 8.207.31.3: seq=2 ttl=63 time=0.889 ms --- 8.207.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.591/3.137 ms 2025-05-07 14:15:10,017 - INFO - Ping to IP 8.207.31.3 from VM ctest-TestBasicPolicy-34252086-58293365 passed 2025-05-07 14:15:10,196 - DEBUG - Policy Update Response {"network-policy": {"uuid": "100534f8-e5a4-43c5-a7b6-a73c4afb1c62", "href": "http://10.0.0.49:8082/network-policy/100534f8-e5a4-43c5-a7b6-a73c4afb1c62"}} 2025-05-07 14:15:10,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 14:15:10,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.207.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-07 14:15:10,197 - DEBUG - ping -s 56 -c 3 -W 1 8.207.31.3 2025-05-07 14:15:13,397 - DEBUG - PING 8.207.31.3 (8.207.31.3): 56 data bytes 64 bytes from 8.207.31.3: seq=0 ttl=63 time=1.496 ms --- 8.207.31.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.496/1.496/1.496 ms 2025-05-07 14:15:13,397 - WARNING - Ping to IP 8.207.31.3 from VM ctest-TestBasicPolicy-34252086-58293365 failed 2025-05-07 14:15:13,398 - INFO - Deleting VM ctest-TestBasicPolicy-34252086-84241641 2025-05-07 14:15:13,468 - INFO - Deleting VM ctest-TestBasicPolicy-34252086-58293365 2025-05-07 14:15:13,879 - INFO - Deleted policy ctest-policy-allow-all-16905369 2025-05-07 14:15:13,879 - INFO - Deleting VN ctest-vn-54752704 2025-05-07 14:15:13,910 - DEBUG - VN 7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072 still in use: Unable to complete operation on network 7c56ffb3-22eb-4a6c-adc7-de8d3a5d9072. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e761ffe-547c-4d30-b582-8d24860f885a'] 2025-05-07 14:15:13,910 - WARNING - Deleting VN ctest-vn-54752704 failed..Will retry 2025-05-07 14:15:16,012 - DEBUG - Response for deleting network () 2025-05-07 14:15:16,013 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/dbc2c380-1005-48b9-ade1-55b4ee570b1d 2025-05-07 14:15:16,020 - DEBUG - Response Code: 404 2025-05-07 14:15:16,020 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:15:16,025 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:15:16,077 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:15:16,149 - INFO - Validated that VN ctest-vn-54752704 is not found in API Server 2025-05-07 14:15:16,160 - DEBUG - VN ctest-vn-54752704 is not present in Agent 10.0.0.49 2025-05-07 14:15:16,160 - INFO - Validated that VN ctest-vn-54752704 is not in any agent 2025-05-07 14:15:16,174 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54752704 info 2025-05-07 14:15:16,174 - INFO - Deleting VN ctest-vn-54304803 2025-05-07 14:15:16,274 - DEBUG - Response for deleting network () 2025-05-07 14:15:16,274 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/556197bb-b5e6-49e7-b769-006b19ed2057 2025-05-07 14:15:16,281 - DEBUG - Response Code: 404 2025-05-07 14:15:16,282 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-07 14:15:16,287 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b 2025-05-07 14:15:16,341 - DEBUG - Requesting: http://10.0.0.49:8082/project/e6151d1f-04a0-46f8-8ec3-2314ab18d4d4 2025-05-07 14:15:16,415 - INFO - Validated that VN ctest-vn-54304803 is not found in API Server 2025-05-07 14:15:16,426 - DEBUG - VN ctest-vn-54304803 is not present in Agent 10.0.0.49 2025-05-07 14:15:16,426 - INFO - Validated that VN ctest-vn-54304803 is not in any agent 2025-05-07 14:15:16,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54304803 info 2025-05-07 14:15:16,697 - DEBUG - No XMPP flaps were noticed during the test 2025-05-07 14:15:16,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-07 14:15:16,697 - INFO - -------------------------------------------------------------------------------- 2025-05-07 14:15:17,350 - INFO - Deleted project: ctest-TestBasicPolicy-34252086, ID : e6151d1f-04a0-46f8-8ec3-2314ab18d4d4