2025-04-14 12:41:45,090 - INFO - Domain Default found not creating 2025-04-14 12:41:45,254 - INFO - Project ctest-TestBasicPolicy-97932100 not found, creating it 2025-04-14 12:41:45,750 - INFO - Created Project:ctest-TestBasicPolicy-97932100, ID : f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:41:47,251 - INFO - ================================================================================ 2025-04-14 12:41:47,251 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 12:41:47,251 - 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-04-14 12:41:47,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-04-14 12:41:47,517 - INFO - Initial checks done. Running the testcase now 2025-04-14 12:41:47,517 - INFO - 2025-04-14 12:41:48,112 - DEBUG - Response for create_network : {'network': {'id': '6f1b1d7d-1961-4f84-ad3b-363b91d9fb34', 'name': 'ctest-vn-40048293', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'project_id': 'f23487aaea1c48c7b137a484b646d6c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-vn-40048293'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 12:41:48,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '97b644e4-8000-4048-bbaf-3eaa114ae2a8', 'name': '', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'network_id': '6f1b1d7d-1961-4f84-ad3b-363b91d9fb34', 'ip_version': 4, 'cidr': '190.225.135.128/26', 'allocation_pools': [{'start': '190.225.135.130', 'end': '190.225.135.190'}], 'gateway_ip': '190.225.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.225.135.130', 'tags': [], 'project_id': 'f23487aaea1c48c7b137a484b646d6c3'}} 2025-04-14 12:41:48,328 - INFO - Created VN ctest-vn-40048293 2025-04-14 12:41:48,382 - DEBUG - VN ctest-vn-40048293 UUID is 6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:48,793 - DEBUG - Response for create_network : {'network': {'id': 'a66657c7-02d9-4bae-940d-1f82109fa206', 'name': 'ctest-vn-82891842', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'project_id': 'f23487aaea1c48c7b137a484b646d6c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-vn-82891842'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 12:41:49,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '3542b968-84dd-41fa-8803-140d442bdc21', 'name': '', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'network_id': 'a66657c7-02d9-4bae-940d-1f82109fa206', 'ip_version': 4, 'cidr': '134.11.207.128/26', 'allocation_pools': [{'start': '134.11.207.130', 'end': '134.11.207.190'}], 'gateway_ip': '134.11.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.11.207.130', 'tags': [], 'project_id': 'f23487aaea1c48c7b137a484b646d6c3'}} 2025-04-14 12:41:49,030 - INFO - Created VN ctest-vn-82891842 2025-04-14 12:41:49,086 - DEBUG - VN ctest-vn-82891842 UUID is a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:49,216 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293, 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-97932100:ctest-vn-82891842, 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-04-14 12:41:49,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f1b1d7d-1961-4f84-ad3b-363b91d9fb34', 'name': 'ctest-vn-40048293', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'project_id': 'f23487aaea1c48c7b137a484b646d6c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97b644e4-8000-4048-bbaf-3eaa114ae2a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-vn-40048293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-policy-allow-all-82467621']], 'subnet_ipam': [{'subnet_cidr': '190.225.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 12:41:49,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a66657c7-02d9-4bae-940d-1f82109fa206', 'name': 'ctest-vn-82891842', 'tenant_id': 'f23487aaea1c48c7b137a484b646d6c3', 'project_id': 'f23487aaea1c48c7b137a484b646d6c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3542b968-84dd-41fa-8803-140d442bdc21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-vn-82891842'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-policy-allow-all-82467621']], 'subnet_ipam': [{'subnet_cidr': '134.11.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 12:41:49,986 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:41:50,295 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:41:50,325 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:41:50,341 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:41:50,419 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,431 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,443 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:41:50,452 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:41:50,460 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4c6437b0-9e40-441a-8310-3d02492c05f1 2025-04-14 12:41:50,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 12:41:50,468 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,480 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:41:50,504 - INFO - Verified VN network id 8 for VN 6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,504 - INFO - Verifications in API Server for VN ctest-vn-40048293 passed 2025-04-14 12:41:50,504 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,524 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:41:50,534 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:41:50,543 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4c6437b0-9e40-441a-8310-3d02492c05f1 2025-04-14 12:41:50,558 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97932100', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8006025185715113860', 'uuid-lslong': '12482630421665413940'}, 'enable': 'true', 'created': '2025-04-14T12:41:48', 'last-modified': '2025-04-14T12:41:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037304'} 2025-04-14 12:41:50,565 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 12:41:50,565 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40048293 passed 2025-04-14 12:41:50,565 - DEBUG - ====Verifying policy data for ctest-vn-40048293 in API_Server ====== 2025-04-14 12:41:50,565 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:41:50,573 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:41:50,591 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:41:50,688 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6f1b1d7d-1961-4f84-ad3b-363b91d9fb34 2025-04-14 12:41:50,703 - DEBUG - ==>Verifying data for policy with id: 23fa99a8-4e1a-4f56-a924-13d426a32ff3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-policy-allow-all-82467621'] 2025-04-14 12:41:50,704 - INFO - VN ctest-vn-40048293 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 12:41:50,704 - DEBUG - Verifying the vn in opserver 2025-04-14 12:41:50,704 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293 virtual network link through opserver 10.0.0.48 2025-04-14 12:41:50,704 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-14 12:41:50,998 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-14 12:41:51,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293?flat'} 2025-04-14 12:41:51,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293 is found in opserver 2025-04-14 12:41:51,075 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 12:41:51,083 - DEBUG - VRF ids for VN ctest-vn-40048293: {} 2025-04-14 12:41:51,083 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:41:51,092 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:41:51,110 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:41:51,207 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,227 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,244 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:41:51,256 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:41:51,268 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/21094d3d-9735-4285-82e5-00cc528c3a4f 2025-04-14 12:41:51,277 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 12:41:51,277 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,292 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:41:51,319 - INFO - Verified VN network id 9 for VN a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,319 - INFO - Verifications in API Server for VN ctest-vn-82891842 passed 2025-04-14 12:41:51,319 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,336 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:41:51,349 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:41:51,362 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/21094d3d-9735-4285-82e5-00cc528c3a4f 2025-04-14 12:41:51,378 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-82891842', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97932100', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11990367570178427822', 'uuid-lslong': '10668217735795679750'}, 'enable': 'true', 'created': '2025-04-14T12:41:48', 'last-modified': '2025-04-14T12:41:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.602401'} 2025-04-14 12:41:51,386 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 12:41:51,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82891842 passed 2025-04-14 12:41:51,387 - DEBUG - ====Verifying policy data for ctest-vn-82891842 in API_Server ====== 2025-04-14 12:41:51,387 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:41:51,394 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:41:51,411 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:41:51,495 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a66657c7-02d9-4bae-940d-1f82109fa206 2025-04-14 12:41:51,507 - DEBUG - ==>Verifying data for policy with id: 23fa99a8-4e1a-4f56-a924-13d426a32ff3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97932100', 'ctest-policy-allow-all-82467621'] 2025-04-14 12:41:51,507 - INFO - VN ctest-vn-82891842 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 12:41:51,507 - DEBUG - Verifying the vn in opserver 2025-04-14 12:41:51,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-82891842 virtual network link through opserver 10.0.0.48 2025-04-14 12:41:51,507 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-14 12:41:51,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-82891842', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-82891842?flat'} 2025-04-14 12:41:51,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-82891842 is found in opserver 2025-04-14 12:41:51,534 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 12:41:51,541 - DEBUG - VRF ids for VN ctest-vn-82891842: {} 2025-04-14 12:41:51,602 - DEBUG - Services list from nova: [, , ] 2025-04-14 12:41:52,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3095-1) 2025-04-14 12:41:54,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3095-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3095-1) 2025-04-14 12:41:54,054 - INFO - Waiting for VM ctest-TestBasicPolicy-97932100-83365907 to be up.. 2025-04-14 12:41:54,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 12:41:59,259 - DEBUG - VM is in ACTIVE state now 2025-04-14 12:41:59,259 - INFO - VM name : ctest-TestBasicPolicy-97932100-83365907 2025-04-14 12:41:59,349 - DEBUG - VM ctest-TestBasicPolicy-97932100-83365907 ID is 843456cf-aa05-4181-826e-abccf89992d9 2025-04-14 12:41:59,373 - DEBUG - VM ctest-TestBasicPolicy-97932100-83365907 launched on Node cn-jenkins-deploy-platform-ansible-os-3095-1 2025-04-14 12:41:59,459 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/843456cf-aa05-4181-826e-abccf89992d9 2025-04-14 12:41:59,472 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6297b348-c741-43d7-94a2-d39c1fce3522 2025-04-14 12:42:02,690 - 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 1010ms') 2025-04-14 12:42:02,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97932100-83365907 failed! 2025-04-14 12:42:02,746 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97932100:ctest-vn-40048293 is 190.225.135.129 and allocation pool is NOT set 2025-04-14 12:42:04,805 - 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=7.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.705 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.705/4.260/7.815/3.555 ms') 2025-04-14 12:42:04,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97932100-83365907 passed 2025-04-14 12:42:04,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 12:42:04,962 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97932100-83365907, IP 190.225.135.131, Port 22 2025-04-14 12:42:05,132 - DEBUG - VM ctest-TestBasicPolicy-97932100-83365907 is ready for SSH connections 2025-04-14 12:42:05,133 - INFO - Waiting for VM ctest-TestBasicPolicy-97932100-02260705 to be up.. 2025-04-14 12:42:05,244 - DEBUG - VM is in ACTIVE state now 2025-04-14 12:42:05,245 - INFO - VM name : ctest-TestBasicPolicy-97932100-02260705 2025-04-14 12:42:05,337 - DEBUG - VM ctest-TestBasicPolicy-97932100-02260705 ID is 68ee0e7a-9117-45cb-a44a-01c7969c918b 2025-04-14 12:42:05,337 - DEBUG - VM ctest-TestBasicPolicy-97932100-02260705 launched on Node cn-jenkins-deploy-platform-ansible-os-3095-1 2025-04-14 12:42:05,426 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/68ee0e7a-9117-45cb-a44a-01c7969c918b 2025-04-14 12:42:05,438 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c81c9305-8a36-4897-aeca-78a01e9a87b7 2025-04-14 12:42:06,687 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.484/1.989/3.495/1.505 ms') 2025-04-14 12:42:06,687 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97932100-02260705 passed 2025-04-14 12:42:06,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 12:42:06,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97932100-02260705, IP 134.11.207.131, Port 22 2025-04-14 12:42:07,015 - DEBUG - VM ctest-TestBasicPolicy-97932100-02260705 is ready for SSH connections 2025-04-14 12:42:07,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 12:42:07,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.11.207.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-14 12:42:07,015 - DEBUG - ping -s 56 -c 3 -W 1 134.11.207.131 2025-04-14 12:42:10,762 - DEBUG - PING 134.11.207.131 (134.11.207.131): 56 data bytes 64 bytes from 134.11.207.131: seq=0 ttl=63 time=5.846 ms 64 bytes from 134.11.207.131: seq=1 ttl=63 time=1.117 ms 64 bytes from 134.11.207.131: seq=2 ttl=63 time=0.862 ms --- 134.11.207.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/2.608/5.846 ms 2025-04-14 12:42:10,762 - INFO - Ping to IP 134.11.207.131 from VM ctest-TestBasicPolicy-97932100-83365907 passed 2025-04-14 12:42:10,954 - DEBUG - Policy Update Response {"network-policy": {"uuid": "23fa99a8-4e1a-4f56-a924-13d426a32ff3", "href": "http://10.0.0.48:8082/network-policy/23fa99a8-4e1a-4f56-a924-13d426a32ff3"}} 2025-04-14 12:42:10,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 12:42:10,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.11.207.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-14 12:42:10,955 - DEBUG - ping -s 56 -c 3 -W 1 134.11.207.131 2025-04-14 12:42:14,167 - DEBUG - PING 134.11.207.131 (134.11.207.131): 56 data bytes 64 bytes from 134.11.207.131: seq=0 ttl=63 time=1.594 ms --- 134.11.207.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.594/1.594/1.594 ms 2025-04-14 12:42:14,167 - WARNING - Ping to IP 134.11.207.131 from VM ctest-TestBasicPolicy-97932100-83365907 failed 2025-04-14 12:42:14,168 - INFO - Deleting VM ctest-TestBasicPolicy-97932100-02260705 2025-04-14 12:42:14,256 - INFO - Deleting VM ctest-TestBasicPolicy-97932100-83365907 2025-04-14 12:42:14,710 - INFO - Deleted policy ctest-policy-allow-all-82467621 2025-04-14 12:42:14,710 - INFO - Deleting VN ctest-vn-82891842 2025-04-14 12:42:14,769 - DEBUG - VN a66657c7-02d9-4bae-940d-1f82109fa206 still in use: Unable to complete operation on network a66657c7-02d9-4bae-940d-1f82109fa206. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba9738c1-9a5d-4636-8edb-043e397c4b92'] 2025-04-14 12:42:14,769 - WARNING - Deleting VN ctest-vn-82891842 failed..Will retry 2025-04-14 12:42:16,900 - DEBUG - Response for deleting network () 2025-04-14 12:42:16,900 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c25a1ccd-5880-45f2-bc8b-d401ae7aeac8 2025-04-14 12:42:16,908 - DEBUG - Response Code: 404 2025-04-14 12:42:16,908 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:42:16,914 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:42:16,968 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:42:17,048 - INFO - Validated that VN ctest-vn-82891842 is not found in API Server 2025-04-14 12:42:17,059 - DEBUG - VN ctest-vn-82891842 is not present in Agent 10.0.0.48 2025-04-14 12:42:17,059 - INFO - Validated that VN ctest-vn-82891842 is not in any agent 2025-04-14 12:42:17,076 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82891842 info 2025-04-14 12:42:17,076 - INFO - Deleting VN ctest-vn-40048293 2025-04-14 12:42:17,190 - DEBUG - Response for deleting network () 2025-04-14 12:42:17,190 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1b520591-25d7-4126-9308-2754f68cc7c6 2025-04-14 12:42:17,197 - DEBUG - Response Code: 404 2025-04-14 12:42:17,198 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-14 12:42:17,203 - DEBUG - Requesting: http://10.0.0.48:8082/domain/159f0099-3da5-4f56-af64-0edeb99619ce 2025-04-14 12:42:17,262 - DEBUG - Requesting: http://10.0.0.48:8082/project/f23487aa-ea1c-48c7-b137-a484b646d6c3 2025-04-14 12:42:17,345 - INFO - Validated that VN ctest-vn-40048293 is not found in API Server 2025-04-14 12:42:17,356 - DEBUG - VN ctest-vn-40048293 is not present in Agent 10.0.0.48 2025-04-14 12:42:17,357 - INFO - Validated that VN ctest-vn-40048293 is not in any agent 2025-04-14 12:42:17,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40048293 info 2025-04-14 12:42:17,648 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 12:42:17,648 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-14 12:42:17,649 - INFO - -------------------------------------------------------------------------------- 2025-04-14 12:42:18,350 - INFO - Deleted project: ctest-TestBasicPolicy-97932100, ID : f23487aa-ea1c-48c7-b137-a484b646d6c3