2025-04-28 17:49:57,446 - INFO - Domain Default found not creating 2025-04-28 17:49:57,562 - INFO - Project ctest-TestBasicPolicy-98668826 not found, creating it 2025-04-28 17:49:58,005 - INFO - Created Project:ctest-TestBasicPolicy-98668826, ID : 2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:49:59,211 - INFO - ================================================================================ 2025-04-28 17:49:59,211 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 17:49:59,211 - 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-28 17:49:59,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 17:49:59,459 - INFO - Initial checks done. Running the testcase now 2025-04-28 17:49:59,459 - INFO - 2025-04-28 17:49:59,984 - DEBUG - Response for create_network : {'network': {'id': '81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d', 'name': 'ctest-vn-07979259', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-vn-07979259'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:50:00,136 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9d0d1cc-2c94-474e-bae0-9cc8005ad51a', 'name': '', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'network_id': '81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d', 'ip_version': 4, 'cidr': '133.247.6.128/26', 'allocation_pools': [{'start': '133.247.6.130', 'end': '133.247.6.190'}], 'gateway_ip': '133.247.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.247.6.130', 'tags': [], 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb'}} 2025-04-28 17:50:00,151 - INFO - Created VN ctest-vn-07979259 2025-04-28 17:50:00,206 - DEBUG - VN ctest-vn-07979259 UUID is 81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:00,503 - DEBUG - Response for create_network : {'network': {'id': 'fe55b992-105f-4d06-8920-8b9c33c4a68a', 'name': 'ctest-vn-19479336', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-vn-19479336'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:50:00,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '78b0243c-f981-4ab3-9084-a5e7f7990d2d', 'name': '', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'network_id': 'fe55b992-105f-4d06-8920-8b9c33c4a68a', 'ip_version': 4, 'cidr': '163.206.229.128/26', 'allocation_pools': [{'start': '163.206.229.130', 'end': '163.206.229.190'}], 'gateway_ip': '163.206.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.206.229.130', 'tags': [], 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb'}} 2025-04-28 17:50:00,659 - INFO - Created VN ctest-vn-19479336 2025-04-28 17:50:00,710 - DEBUG - VN ctest-vn-19479336 UUID is fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:00,854 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259, 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-98668826:ctest-vn-19479336, 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-28 17:50:01,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d', 'name': 'ctest-vn-07979259', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9d0d1cc-2c94-474e-bae0-9cc8005ad51a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-vn-07979259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-policy-allow-all-49230182']], 'subnet_ipam': [{'subnet_cidr': '133.247.6.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:50:01,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe55b992-105f-4d06-8920-8b9c33c4a68a', 'name': 'ctest-vn-19479336', 'tenant_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'project_id': '2c6031d81ded43ccbb53ca0d9416fbeb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78b0243c-f981-4ab3-9084-a5e7f7990d2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-vn-19479336'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-policy-allow-all-49230182']], 'subnet_ipam': [{'subnet_cidr': '163.206.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 17:50:01,510 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:01,767 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:01,793 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:01,805 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:01,878 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:01,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:01,897 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:01,903 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:01,909 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ca56310f-3ba6-4798-aadd-dd0a55ac16c9 2025-04-28 17:50:01,915 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 17:50:01,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:01,924 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:01,935 - INFO - Verified VN network id 9 for VN 81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:01,935 - INFO - Verifications in API Server for VN ctest-vn-07979259 passed 2025-04-28 17:50:01,935 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:01,942 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:01,948 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:01,954 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ca56310f-3ba6-4798-aadd-dd0a55ac16c9 2025-04-28 17:50:01,964 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98668826', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9316026304597805697', 'uuid-lslong': '10301388981832453405'}, 'enable': 'true', 'created': '2025-04-28T17:49:59', 'last-modified': '2025-04-28T17:50:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.853956'} 2025-04-28 17:50:01,969 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 17:50:01,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07979259 passed 2025-04-28 17:50:01,970 - DEBUG - ====Verifying policy data for ctest-vn-07979259 in API_Server ====== 2025-04-28 17:50:01,970 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:01,974 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:01,983 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:02,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/81492c90-cbbf-4a81-8ef5-e2b32b3f0d1d 2025-04-28 17:50:02,060 - DEBUG - ==>Verifying data for policy with id: 36505d01-bf44-4ef2-a184-9ce965261db9, fqn: ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-policy-allow-all-49230182'] 2025-04-28 17:50:02,060 - INFO - VN ctest-vn-07979259 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 17:50:02,060 - DEBUG - Verifying the vn in opserver 2025-04-28 17:50:02,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259 virtual network link through opserver 10.0.0.254 2025-04-28 17:50:02,061 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 17:50:02,317 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 17:50:02,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259?flat'} 2025-04-28 17:50:02,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259 is found in opserver 2025-04-28 17:50:02,380 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 17:50:02,386 - DEBUG - VRF ids for VN ctest-vn-07979259: {} 2025-04-28 17:50:02,386 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:02,392 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:02,406 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:02,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,507 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:02,514 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:02,520 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c53c2267-62e9-4d98-8281-8bae2f4f4857 2025-04-28 17:50:02,525 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 17:50:02,525 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:02,544 - INFO - Verified VN network id 10 for VN fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,544 - INFO - Verifications in API Server for VN ctest-vn-19479336 passed 2025-04-28 17:50:02,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,551 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:02,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:02,562 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c53c2267-62e9-4d98-8281-8bae2f4f4857 2025-04-28 17:50:02,571 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-19479336', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98668826', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18326758295645146374', 'uuid-lslong': '9881051085450552970'}, 'enable': 'true', 'created': '2025-04-28T17:50:00', 'last-modified': '2025-04-28T17:50:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.241570'} 2025-04-28 17:50:02,576 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 17:50:02,577 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19479336 passed 2025-04-28 17:50:02,577 - DEBUG - ====Verifying policy data for ctest-vn-19479336 in API_Server ====== 2025-04-28 17:50:02,577 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:02,581 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:02,590 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:02,661 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fe55b992-105f-4d06-8920-8b9c33c4a68a 2025-04-28 17:50:02,669 - DEBUG - ==>Verifying data for policy with id: 36505d01-bf44-4ef2-a184-9ce965261db9, fqn: ['default-domain', 'ctest-TestBasicPolicy-98668826', 'ctest-policy-allow-all-49230182'] 2025-04-28 17:50:02,669 - INFO - VN ctest-vn-19479336 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 17:50:02,669 - DEBUG - Verifying the vn in opserver 2025-04-28 17:50:02,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-19479336 virtual network link through opserver 10.0.0.254 2025-04-28 17:50:02,669 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 17:50:02,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-19479336', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-19479336?flat'} 2025-04-28 17:50:02,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-19479336 is found in opserver 2025-04-28 17:50:02,687 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 17:50:02,691 - DEBUG - VRF ids for VN ctest-vn-19479336: {} 2025-04-28 17:50:02,737 - DEBUG - Services list from nova: [, , ] 2025-04-28 17:50:03,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:50:04,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3245-1) 2025-04-28 17:50:04,732 - INFO - Waiting for VM ctest-TestBasicPolicy-98668826-25362375 to be up.. 2025-04-28 17:50:04,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 17:50:09,871 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:50:09,871 - INFO - VM name : ctest-TestBasicPolicy-98668826-25362375 2025-04-28 17:50:09,942 - DEBUG - VM ctest-TestBasicPolicy-98668826-25362375 ID is bb9b82e9-9c7e-4056-9a6f-3773bf9c15e4 2025-04-28 17:50:09,961 - DEBUG - VM ctest-TestBasicPolicy-98668826-25362375 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:50:10,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb9b82e9-9c7e-4056-9a6f-3773bf9c15e4 2025-04-28 17:50:10,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8e52c1bc-1835-4738-b83e-badf46f21eb6 2025-04-28 17:50:13,307 - 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 1024ms') 2025-04-28 17:50:13,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98668826-25362375 failed! 2025-04-28 17:50:13,362 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98668826:ctest-vn-07979259 is 133.247.6.129 and allocation pool is NOT set 2025-04-28 17:50:15,416 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.364 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.364/1.557/2.751/1.193 ms') 2025-04-28 17:50:15,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98668826-25362375 passed 2025-04-28 17:50:15,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:50:15,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98668826-25362375, IP 133.247.6.131, Port 22 2025-04-28 17:50:15,765 - DEBUG - VM ctest-TestBasicPolicy-98668826-25362375 is ready for SSH connections 2025-04-28 17:50:15,765 - INFO - Waiting for VM ctest-TestBasicPolicy-98668826-63645162 to be up.. 2025-04-28 17:50:15,873 - DEBUG - VM is in ACTIVE state now 2025-04-28 17:50:15,873 - INFO - VM name : ctest-TestBasicPolicy-98668826-63645162 2025-04-28 17:50:15,992 - DEBUG - VM ctest-TestBasicPolicy-98668826-63645162 ID is 094e5da1-bb6b-4d6d-adf9-a3e20fb01702 2025-04-28 17:50:15,992 - DEBUG - VM ctest-TestBasicPolicy-98668826-63645162 launched on Node cn-jenkins-deploy-platform-ansible-os-3245-1 2025-04-28 17:50:16,106 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/094e5da1-bb6b-4d6d-adf9-a3e20fb01702 2025-04-28 17:50:16,120 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dbc2b4da-620c-40d7-ab7c-d4a8fb360483 2025-04-28 17:50:17,370 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.828/3.294/1.465 ms') 2025-04-28 17:50:17,370 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98668826-63645162 passed 2025-04-28 17:50:17,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:50:17,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98668826-63645162, IP 163.206.229.131, Port 22 2025-04-28 17:50:17,686 - DEBUG - VM ctest-TestBasicPolicy-98668826-63645162 is ready for SSH connections 2025-04-28 17:50:17,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:50:17,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.206.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 17:50:17,686 - DEBUG - ping -s 56 -c 3 -W 1 163.206.229.131 2025-04-28 17:50:21,300 - DEBUG - PING 163.206.229.131 (163.206.229.131): 56 data bytes 64 bytes from 163.206.229.131: seq=0 ttl=63 time=2.851 ms 64 bytes from 163.206.229.131: seq=1 ttl=63 time=0.717 ms 64 bytes from 163.206.229.131: seq=2 ttl=63 time=0.682 ms --- 163.206.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/1.416/2.851 ms 2025-04-28 17:50:21,300 - INFO - Ping to IP 163.206.229.131 from VM ctest-TestBasicPolicy-98668826-25362375 passed 2025-04-28 17:50:21,470 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36505d01-bf44-4ef2-a184-9ce965261db9", "href": "http://10.0.0.254:8082/network-policy/36505d01-bf44-4ef2-a184-9ce965261db9"}} 2025-04-28 17:50:21,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 17:50:21,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.206.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 17:50:21,470 - DEBUG - ping -s 56 -c 3 -W 1 163.206.229.131 2025-04-28 17:50:24,656 - DEBUG - PING 163.206.229.131 (163.206.229.131): 56 data bytes --- 163.206.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 17:50:24,656 - WARNING - Ping to IP 163.206.229.131 from VM ctest-TestBasicPolicy-98668826-25362375 failed 2025-04-28 17:50:24,656 - INFO - Deleting VM ctest-TestBasicPolicy-98668826-63645162 2025-04-28 17:50:24,710 - INFO - Deleting VM ctest-TestBasicPolicy-98668826-25362375 2025-04-28 17:50:25,071 - INFO - Deleted policy ctest-policy-allow-all-49230182 2025-04-28 17:50:25,071 - INFO - Deleting VN ctest-vn-19479336 2025-04-28 17:50:25,103 - DEBUG - VN fe55b992-105f-4d06-8920-8b9c33c4a68a still in use: Unable to complete operation on network fe55b992-105f-4d06-8920-8b9c33c4a68a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23587c8f-88c2-413f-893d-43565d1d63f2'] 2025-04-28 17:50:25,103 - WARNING - Deleting VN ctest-vn-19479336 failed..Will retry 2025-04-28 17:50:27,190 - DEBUG - Response for deleting network () 2025-04-28 17:50:27,190 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1425a7b3-cf51-490f-be33-fbf3abf3daec 2025-04-28 17:50:27,195 - DEBUG - Response Code: 404 2025-04-28 17:50:27,195 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:27,200 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:27,252 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:27,318 - INFO - Validated that VN ctest-vn-19479336 is not found in API Server 2025-04-28 17:50:27,327 - DEBUG - VN ctest-vn-19479336 is not present in Agent 10.0.0.254 2025-04-28 17:50:27,327 - INFO - Validated that VN ctest-vn-19479336 is not in any agent 2025-04-28 17:50:27,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19479336 info 2025-04-28 17:50:27,340 - INFO - Deleting VN ctest-vn-07979259 2025-04-28 17:50:27,426 - DEBUG - Response for deleting network () 2025-04-28 17:50:27,426 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a96cb256-462f-4827-b5df-251439bed29c 2025-04-28 17:50:27,431 - DEBUG - Response Code: 404 2025-04-28 17:50:27,431 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 17:50:27,436 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dad70e78-9a8f-428b-b604-d52c05610969 2025-04-28 17:50:27,486 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c6031d8-1ded-43cc-bb53-ca0d9416fbeb 2025-04-28 17:50:27,552 - INFO - Validated that VN ctest-vn-07979259 is not found in API Server 2025-04-28 17:50:27,562 - DEBUG - VN ctest-vn-07979259 is not present in Agent 10.0.0.254 2025-04-28 17:50:27,562 - INFO - Validated that VN ctest-vn-07979259 is not in any agent 2025-04-28 17:50:27,575 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07979259 info 2025-04-28 17:50:27,822 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 17:50:27,822 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-04-28 17:50:27,822 - INFO - -------------------------------------------------------------------------------- 2025-04-28 17:50:28,412 - INFO - Deleted project: ctest-TestBasicPolicy-98668826, ID : 2c6031d8-1ded-43cc-bb53-ca0d9416fbeb