2024-12-30 22:47:35,852 - INFO - Domain Default found not creating 2024-12-30 22:47:35,977 - INFO - Project ctest-TestBasicPolicy-94775673 not found, creating it 2024-12-30 22:47:36,413 - INFO - Created Project:ctest-TestBasicPolicy-94775673, ID : b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:47:37,736 - INFO - ================================================================================ 2024-12-30 22:47:37,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-30 22:47:37,736 - 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 2024-12-30 22:47:37,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with 2024-12-30 22:47:37,988 - INFO - Initial checks done. Running the testcase now 2024-12-30 22:47:37,988 - INFO - 2024-12-30 22:47:38,509 - DEBUG - Response for create_network : {'network': {'id': 'd255a7cb-ef20-4d63-a89f-dac00d970aaa', 'name': 'ctest-vn-97275173', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'project_id': 'b7be920013094f75b1ea6feea359ed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-vn-97275173'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:38,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '64cf1bfd-5809-4dd2-8e2d-3415aa0928c2', 'name': '', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'network_id': 'd255a7cb-ef20-4d63-a89f-dac00d970aaa', 'ip_version': 4, 'cidr': '90.179.102.128/26', 'allocation_pools': [{'start': '90.179.102.130', 'end': '90.179.102.190'}], 'gateway_ip': '90.179.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.179.102.130', 'tags': [], 'project_id': 'b7be920013094f75b1ea6feea359ed19'}} 2024-12-30 22:47:38,737 - INFO - Created VN ctest-vn-97275173 2024-12-30 22:47:38,795 - DEBUG - VN ctest-vn-97275173 UUID is d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:39,091 - DEBUG - Response for create_network : {'network': {'id': '4886751f-d1ba-4d0b-a27b-47ab29a67c9c', 'name': 'ctest-vn-92217983', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'project_id': 'b7be920013094f75b1ea6feea359ed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-vn-92217983'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:39,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f94b6454-54d0-4ed5-a68f-276d89664faf', 'name': '', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'network_id': '4886751f-d1ba-4d0b-a27b-47ab29a67c9c', 'ip_version': 4, 'cidr': '28.3.238.64/26', 'allocation_pools': [{'start': '28.3.238.66', 'end': '28.3.238.126'}], 'gateway_ip': '28.3.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.3.238.66', 'tags': [], 'project_id': 'b7be920013094f75b1ea6feea359ed19'}} 2024-12-30 22:47:39,260 - INFO - Created VN ctest-vn-92217983 2024-12-30 22:47:39,311 - DEBUG - VN ctest-vn-92217983 UUID is 4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:39,463 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173, 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-94775673:ctest-vn-92217983, 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] 2024-12-30 22:47:39,743 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd255a7cb-ef20-4d63-a89f-dac00d970aaa', 'name': 'ctest-vn-97275173', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'project_id': 'b7be920013094f75b1ea6feea359ed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64cf1bfd-5809-4dd2-8e2d-3415aa0928c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-vn-97275173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-policy-allow-all-56804276']], 'subnet_ipam': [{'subnet_cidr': '90.179.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:39,968 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4886751f-d1ba-4d0b-a27b-47ab29a67c9c', 'name': 'ctest-vn-92217983', 'tenant_id': 'b7be920013094f75b1ea6feea359ed19', 'project_id': 'b7be920013094f75b1ea6feea359ed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f94b6454-54d0-4ed5-a68f-276d89664faf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-vn-92217983'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-policy-allow-all-56804276']], 'subnet_ipam': [{'subnet_cidr': '28.3.238.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:40,143 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:47:40,436 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:47:40,462 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:47:40,474 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:47:40,544 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,554 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,563 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:47:40,569 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:47:40,575 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/11efa248-69d1-4ad8-98f1-0651535c1206 2024-12-30 22:47:40,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 22:47:40,581 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,589 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:47:40,601 - INFO - Verified VN network id 7 for VN d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,601 - INFO - Verifications in API Server for VN ctest-vn-97275173 passed 2024-12-30 22:47:40,601 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,610 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:47:40,616 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:47:40,621 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/11efa248-69d1-4ad8-98f1-0651535c1206 2024-12-30 22:47:40,632 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94775673', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15156204615317343587', 'uuid-lslong': '12150670838065466026'}, 'enable': 'true', 'created': '2024-12-30T22:47:38', 'last-modified': '2024-12-30T22:47:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908824'} 2024-12-30 22:47:40,639 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 22:47:40,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97275173 passed 2024-12-30 22:47:40,639 - DEBUG - ====Verifying policy data for ctest-vn-97275173 in API_Server ====== 2024-12-30 22:47:40,639 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:47:40,644 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:47:40,654 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:47:40,721 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d255a7cb-ef20-4d63-a89f-dac00d970aaa 2024-12-30 22:47:40,730 - DEBUG - ==>Verifying data for policy with id: a2fdffe0-80fa-4ce8-8730-38e3185322c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-policy-allow-all-56804276'] 2024-12-30 22:47:40,730 - INFO - VN ctest-vn-97275173 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 22:47:40,730 - DEBUG - Verifying the vn in opserver 2024-12-30 22:47:40,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173 virtual network link through opserver 10.0.0.30 2024-12-30 22:47:40,730 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-12-30 22:47:41,018 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-12-30 22:47:41,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173?flat'} 2024-12-30 22:47:41,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173 is found in opserver 2024-12-30 22:47:41,075 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 22:47:41,079 - DEBUG - VRF ids for VN ctest-vn-97275173: {} 2024-12-30 22:47:41,079 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:47:41,084 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:47:41,095 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:47:41,168 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,178 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,187 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:47:41,193 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:47:41,198 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/aaad0180-11ad-46a3-a339-9af92dde5c23 2024-12-30 22:47:41,204 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 22:47:41,204 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,212 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:47:41,225 - INFO - Verified VN network id 8 for VN 4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,225 - INFO - Verifications in API Server for VN ctest-vn-92217983 passed 2024-12-30 22:47:41,225 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,234 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:47:41,240 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:47:41,247 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/aaad0180-11ad-46a3-a339-9af92dde5c23 2024-12-30 22:47:41,257 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-92217983', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94775673', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5225993197133122827', 'uuid-lslong': '11708030456743492764'}, 'enable': 'true', 'created': '2024-12-30T22:47:39', 'last-modified': '2024-12-30T22:47:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.313775'} 2024-12-30 22:47:41,264 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 22:47:41,264 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92217983 passed 2024-12-30 22:47:41,264 - DEBUG - ====Verifying policy data for ctest-vn-92217983 in API_Server ====== 2024-12-30 22:47:41,264 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:47:41,269 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:47:41,280 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:47:41,346 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4886751f-d1ba-4d0b-a27b-47ab29a67c9c 2024-12-30 22:47:41,357 - DEBUG - ==>Verifying data for policy with id: a2fdffe0-80fa-4ce8-8730-38e3185322c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-94775673', 'ctest-policy-allow-all-56804276'] 2024-12-30 22:47:41,357 - INFO - VN ctest-vn-92217983 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 22:47:41,357 - DEBUG - Verifying the vn in opserver 2024-12-30 22:47:41,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-92217983 virtual network link through opserver 10.0.0.30 2024-12-30 22:47:41,357 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-12-30 22:47:41,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-92217983', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-92217983?flat'} 2024-12-30 22:47:41,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-92217983 is found in opserver 2024-12-30 22:47:41,376 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 22:47:41,380 - DEBUG - VRF ids for VN ctest-vn-92217983: {} 2024-12-30 22:47:41,428 - DEBUG - Services list from nova: [, , ] 2024-12-30 22:47:42,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:47:43,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:47:43,560 - INFO - Waiting for VM ctest-TestBasicPolicy-94775673-56416415 to be up.. 2024-12-30 22:47:43,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 22:47:48,705 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:47:48,705 - INFO - VM name : ctest-TestBasicPolicy-94775673-56416415 2024-12-30 22:47:48,783 - DEBUG - VM ctest-TestBasicPolicy-94775673-56416415 ID is acb9b7e8-7903-4c4e-a793-805221835548 2024-12-30 22:47:48,801 - DEBUG - VM ctest-TestBasicPolicy-94775673-56416415 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:47:48,872 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/acb9b7e8-7903-4c4e-a793-805221835548 2024-12-30 22:47:48,880 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/dde7901f-82aa-4346-9dce-ba619a0bbe2d 2024-12-30 22:47:52,143 - 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 1028ms') 2024-12-30 22:47:52,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94775673-56416415 failed! 2024-12-30 22:47:52,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94775673:ctest-vn-97275173 is 90.179.102.129 and allocation pool is NOT set 2024-12-30 22:47:54,261 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/1.564/2.670/1.105 ms') 2024-12-30 22:47:54,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94775673-56416415 passed 2024-12-30 22:47:54,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:54,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94775673-56416415, IP 90.179.102.131, Port 22 2024-12-30 22:47:54,574 - DEBUG - VM ctest-TestBasicPolicy-94775673-56416415 is ready for SSH connections 2024-12-30 22:47:54,574 - INFO - Waiting for VM ctest-TestBasicPolicy-94775673-70965318 to be up.. 2024-12-30 22:47:54,655 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:47:54,655 - INFO - VM name : ctest-TestBasicPolicy-94775673-70965318 2024-12-30 22:47:54,732 - DEBUG - VM ctest-TestBasicPolicy-94775673-70965318 ID is a8a713ac-0933-4d97-ad34-9ef6658c4209 2024-12-30 22:47:54,732 - DEBUG - VM ctest-TestBasicPolicy-94775673-70965318 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:47:54,806 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/a8a713ac-0933-4d97-ad34-9ef6658c4209 2024-12-30 22:47:54,815 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/94a6fe29-8c5a-4cf1-b48d-48e7002bd65b 2024-12-30 22:47:56,048 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.450/2.535/1.085 ms') 2024-12-30 22:47:56,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94775673-70965318 passed 2024-12-30 22:47:56,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:56,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94775673-70965318, IP 28.3.238.67, Port 22 2024-12-30 22:47:56,350 - DEBUG - VM ctest-TestBasicPolicy-94775673-70965318 is ready for SSH connections 2024-12-30 22:47:56,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:56,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.3.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-12-30 22:47:56,350 - DEBUG - ping -s 56 -c 3 -W 1 28.3.238.67 2024-12-30 22:48:00,287 - DEBUG - PING 28.3.238.67 (28.3.238.67): 56 data bytes 64 bytes from 28.3.238.67: seq=0 ttl=63 time=3.097 ms 64 bytes from 28.3.238.67: seq=1 ttl=63 time=0.928 ms 64 bytes from 28.3.238.67: seq=2 ttl=63 time=0.711 ms --- 28.3.238.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.711/1.578/3.097 ms 2024-12-30 22:48:00,288 - INFO - Ping to IP 28.3.238.67 from VM ctest-TestBasicPolicy-94775673-56416415 passed 2024-12-30 22:48:00,458 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2fdffe0-80fa-4ce8-8730-38e3185322c9", "href": "http://10.0.0.30:8082/network-policy/a2fdffe0-80fa-4ce8-8730-38e3185322c9"}} 2024-12-30 22:48:00,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:48:00,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.3.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-12-30 22:48:00,459 - DEBUG - ping -s 56 -c 3 -W 1 28.3.238.67 2024-12-30 22:48:03,659 - DEBUG - PING 28.3.238.67 (28.3.238.67): 56 data bytes --- 28.3.238.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-12-30 22:48:03,659 - WARNING - Ping to IP 28.3.238.67 from VM ctest-TestBasicPolicy-94775673-56416415 failed 2024-12-30 22:48:03,659 - INFO - Deleting VM ctest-TestBasicPolicy-94775673-70965318 2024-12-30 22:48:03,717 - INFO - Deleting VM ctest-TestBasicPolicy-94775673-56416415 2024-12-30 22:48:04,041 - INFO - Deleted policy ctest-policy-allow-all-56804276 2024-12-30 22:48:04,042 - INFO - Deleting VN ctest-vn-92217983 2024-12-30 22:48:04,074 - DEBUG - VN 4886751f-d1ba-4d0b-a27b-47ab29a67c9c still in use: Unable to complete operation on network 4886751f-d1ba-4d0b-a27b-47ab29a67c9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c15c4e0-dbd7-44bd-af45-0d101561b2a4'] 2024-12-30 22:48:04,075 - WARNING - Deleting VN ctest-vn-92217983 failed..Will retry 2024-12-30 22:48:06,171 - DEBUG - Response for deleting network () 2024-12-30 22:48:06,172 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/20ebdfa8-6c87-484e-9e1d-a33d3aba3ded 2024-12-30 22:48:06,177 - DEBUG - Response Code: 404 2024-12-30 22:48:06,178 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:48:06,182 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:48:06,240 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:48:06,309 - INFO - Validated that VN ctest-vn-92217983 is not found in API Server 2024-12-30 22:48:06,319 - DEBUG - VN ctest-vn-92217983 is not present in Agent 10.0.0.30 2024-12-30 22:48:06,319 - INFO - Validated that VN ctest-vn-92217983 is not in any agent 2024-12-30 22:48:06,333 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92217983 info 2024-12-30 22:48:06,333 - INFO - Deleting VN ctest-vn-97275173 2024-12-30 22:48:06,430 - DEBUG - Response for deleting network () 2024-12-30 22:48:06,430 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/daa77bc6-4540-442e-bc35-66de9b9ca516 2024-12-30 22:48:06,437 - DEBUG - Response Code: 404 2024-12-30 22:48:06,437 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-12-30 22:48:06,442 - DEBUG - Requesting: http://10.0.0.30:8082/domain/d3a94ade-2fd8-4852-a93d-f69c5181da9b 2024-12-30 22:48:06,496 - DEBUG - Requesting: http://10.0.0.30:8082/project/b7be9200-1309-4f75-b1ea-6feea359ed19 2024-12-30 22:48:06,569 - INFO - Validated that VN ctest-vn-97275173 is not found in API Server 2024-12-30 22:48:06,580 - DEBUG - VN ctest-vn-97275173 is not present in Agent 10.0.0.30 2024-12-30 22:48:06,580 - INFO - Validated that VN ctest-vn-97275173 is not in any agent 2024-12-30 22:48:06,595 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97275173 info 2024-12-30 22:48:06,844 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 22:48:06,844 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2024-12-30 22:48:06,844 - INFO - -------------------------------------------------------------------------------- 2024-12-30 22:48:08,052 - INFO - Deleted project: ctest-TestBasicPolicy-94775673, ID : b7be9200-1309-4f75-b1ea-6feea359ed19