2025-04-24 01:49:44,599 - INFO - Reading existing Domain with UUID 1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:44,610 - INFO - Using existing domain ['admin_domain'](1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f) 2025-04-24 01:49:44,780 - INFO - Project ctest-TestBasicPolicy-88421032 not found, creating it 2025-04-24 01:49:45,282 - INFO - Created Project:ctest-TestBasicPolicy-88421032, ID : 59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:49:46,858 - INFO - ================================================================================ 2025-04-24 01:49:46,858 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 01:49:46,858 - 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-24 01:49:47,241 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-04-24 01:49:47,241 - INFO - Initial checks done. Running the testcase now 2025-04-24 01:49:47,241 - INFO - 2025-04-24 01:49:47,965 - DEBUG - Response for create_network : {'network': {'id': '0926d360-aca4-4938-a4f3-76007bf15682', 'name': 'ctest-vn-51384093', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'project_id': '59eb65787e734543b3a1f87c75d738c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-vn-51384093'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-24 01:49:48,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b255ec74-111c-4a6b-85f0-f07ff4be1a38', 'name': '', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'network_id': '0926d360-aca4-4938-a4f3-76007bf15682', 'ip_version': 4, 'cidr': '178.254.172.128/26', 'allocation_pools': [{'start': '178.254.172.130', 'end': '178.254.172.190'}], 'gateway_ip': '178.254.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-24T01:49:48.072402', 'updated_at': '2025-04-24T01:49:48.072402', 'dns_server_address': '178.254.172.130', 'tags': [], 'project_id': '59eb65787e734543b3a1f87c75d738c9'}} 2025-04-24 01:49:48,234 - INFO - Created VN ctest-vn-51384093 2025-04-24 01:49:48,288 - DEBUG - VN ctest-vn-51384093 UUID is 0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:48,769 - DEBUG - Response for create_network : {'network': {'id': '1289fe94-cc4a-446a-9024-4c98b306996f', 'name': 'ctest-vn-86466482', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'project_id': '59eb65787e734543b3a1f87c75d738c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-vn-86466482'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-24 01:49:49,045 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac38a271-99e1-4cb0-ab6e-332636376c31', 'name': '', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'network_id': '1289fe94-cc4a-446a-9024-4c98b306996f', 'ip_version': 4, 'cidr': '69.161.21.0/26', 'allocation_pools': [{'start': '69.161.21.2', 'end': '69.161.21.62'}], 'gateway_ip': '69.161.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-24T01:49:48.923199', 'updated_at': '2025-04-24T01:49:48.923199', 'dns_server_address': '69.161.21.2', 'tags': [], 'project_id': '59eb65787e734543b3a1f87c75d738c9'}} 2025-04-24 01:49:49,110 - INFO - Created VN ctest-vn-86466482 2025-04-24 01:49:49,164 - DEBUG - VN ctest-vn-86466482 UUID is 1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:49,375 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482, 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-24 01:49:49,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0926d360-aca4-4938-a4f3-76007bf15682', 'name': 'ctest-vn-51384093', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'project_id': '59eb65787e734543b3a1f87c75d738c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b255ec74-111c-4a6b-85f0-f07ff4be1a38'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-vn-51384093'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-policy-allow-all-35965959']], 'subnet_ipam': [{'subnet_cidr': '178.254.172.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-04-24T01:49:47.885648', 'updated_at': '2025-04-24T01:49:48.084515'}} 2025-04-24 01:49:50,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1289fe94-cc4a-446a-9024-4c98b306996f', 'name': 'ctest-vn-86466482', 'tenant_id': '59eb65787e734543b3a1f87c75d738c9', 'project_id': '59eb65787e734543b3a1f87c75d738c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac38a271-99e1-4cb0-ab6e-332636376c31'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-vn-86466482'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-policy-allow-all-35965959']], 'subnet_ipam': [{'subnet_cidr': '69.161.21.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-04-24T01:49:48.695143', 'updated_at': '2025-04-24T01:49:48.945006'}} 2025-04-24 01:49:50,336 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:49:50,676 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:49:50,753 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:50,809 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:49:50,890 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:50,947 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:51,006 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:49:51,061 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:49:51,113 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/ebae0d28-14e9-4453-af95-8699bcc2b4ed 2025-04-24 01:49:51,165 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 01:49:51,165 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:51,227 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:49:51,289 - INFO - Verified VN network id 8 for VN 0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:51,289 - INFO - Verifications in API Server for VN ctest-vn-51384093 passed 2025-04-24 01:49:51,289 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:51,346 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:49:51,397 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:49:51,449 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/ebae0d28-14e9-4453-af95-8699bcc2b4ed 2025-04-24 01:49:51,553 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88421032', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '659446807623125304', 'uuid-lslong': '11885973586012362370'}, 'enable': 'true', 'created': '2025-04-24T01:49:47', 'last-modified': '2025-04-24T01:49:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.805850'} 2025-04-24 01:49:51,602 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 01:49:51,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51384093 passed 2025-04-24 01:49:51,602 - DEBUG - ====Verifying policy data for ctest-vn-51384093 in API_Server ====== 2025-04-24 01:49:51,602 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:49:51,652 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:51,714 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:49:51,795 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/0926d360-aca4-4938-a4f3-76007bf15682 2025-04-24 01:49:51,851 - DEBUG - ==>Verifying data for policy with id: 7329e23e-d26e-4ce2-a326-29e1777374ce, fqn: ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-policy-allow-all-35965959'] 2025-04-24 01:49:51,851 - INFO - VN ctest-vn-51384093 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 01:49:51,851 - DEBUG - Verifying the vn in opserver 2025-04-24 01:49:51,851 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093 virtual network link through opserver 10.0.0.241 2025-04-24 01:49:51,851 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-24 01:49:52,205 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-24 01:49:52,313 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093?flat'} 2025-04-24 01:49:52,313 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093 is found in opserver 2025-04-24 01:49:52,409 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 01:49:52,457 - DEBUG - VRF ids for VN ctest-vn-51384093: {} 2025-04-24 01:49:52,457 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:49:52,509 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:52,569 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:49:52,646 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:52,703 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:52,763 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:49:52,817 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:49:52,869 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/61b2510a-a5e3-41e5-9ef3-940de4fbcdfa 2025-04-24 01:49:52,925 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 01:49:52,925 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:52,978 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:49:53,041 - INFO - Verified VN network id 9 for VN 1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:53,041 - INFO - Verifications in API Server for VN ctest-vn-86466482 passed 2025-04-24 01:49:53,041 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:53,095 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:49:53,149 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:49:53,205 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/61b2510a-a5e3-41e5-9ef3-940de4fbcdfa 2025-04-24 01:49:53,310 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88421032', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1335878679528096874', 'uuid-lslong': '10386510859345500527'}, 'enable': 'true', 'created': '2025-04-24T01:49:48', 'last-modified': '2025-04-24T01:49:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.207653'} 2025-04-24 01:49:53,362 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 01:49:53,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86466482 passed 2025-04-24 01:49:53,362 - DEBUG - ====Verifying policy data for ctest-vn-86466482 in API_Server ====== 2025-04-24 01:49:53,362 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:49:53,412 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:53,469 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:49:53,542 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/1289fe94-cc4a-446a-9024-4c98b306996f 2025-04-24 01:49:53,599 - DEBUG - ==>Verifying data for policy with id: 7329e23e-d26e-4ce2-a326-29e1777374ce, fqn: ['admin_domain', 'ctest-TestBasicPolicy-88421032', 'ctest-policy-allow-all-35965959'] 2025-04-24 01:49:53,599 - INFO - VN ctest-vn-86466482 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 01:49:53,599 - DEBUG - Verifying the vn in opserver 2025-04-24 01:49:53,599 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482 virtual network link through opserver 10.0.0.241 2025-04-24 01:49:53,599 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-24 01:49:53,653 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482?flat'} 2025-04-24 01:49:53,653 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-86466482 is found in opserver 2025-04-24 01:49:53,749 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 01:49:53,797 - DEBUG - VRF ids for VN ctest-vn-86466482: {} 2025-04-24 01:49:53,855 - DEBUG - Services list from nova: [, , ] 2025-04-24 01:49:54,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-531-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-531-1) 2025-04-24 01:49:56,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-531-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-531-1) 2025-04-24 01:49:56,767 - INFO - Waiting for VM ctest-TestBasicPolicy-88421032-55862388 to be up.. 2025-04-24 01:49:56,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 01:50:02,050 - DEBUG - VM is in ACTIVE state now 2025-04-24 01:50:02,051 - INFO - VM name : ctest-TestBasicPolicy-88421032-55862388 2025-04-24 01:50:02,208 - DEBUG - VM ctest-TestBasicPolicy-88421032-55862388 ID is 85ff6d2c-c9af-4442-851d-6b649c19a432 2025-04-24 01:50:02,246 - DEBUG - VM ctest-TestBasicPolicy-88421032-55862388 launched on Node cn-jenkins-deploy-platform-juju-os-531-1 2025-04-24 01:50:02,382 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/85ff6d2c-c9af-4442-851d-6b649c19a432 2025-04-24 01:50:02,437 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/1ea7b4b3-cca3-4b6d-a71e-e642c004f580 2025-04-24 01:50:05,903 - 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 1014ms') 2025-04-24 01:50:05,903 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88421032-55862388 failed! 2025-04-24 01:50:05,960 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-88421032:ctest-vn-51384093 is 178.254.172.129 and allocation pool is NOT set 2025-04-24 01:50:08,049 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.537/2.631/1.093 ms') 2025-04-24 01:50:08,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88421032-55862388 passed 2025-04-24 01:50:08,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:50:08,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88421032-55862388, IP 178.254.172.131, Port 22 2025-04-24 01:50:08,419 - DEBUG - VM ctest-TestBasicPolicy-88421032-55862388 is ready for SSH connections 2025-04-24 01:50:08,419 - INFO - Waiting for VM ctest-TestBasicPolicy-88421032-25576188 to be up.. 2025-04-24 01:50:08,546 - DEBUG - VM is in ACTIVE state now 2025-04-24 01:50:08,547 - INFO - VM name : ctest-TestBasicPolicy-88421032-25576188 2025-04-24 01:50:08,671 - DEBUG - VM ctest-TestBasicPolicy-88421032-25576188 ID is 85e3898c-1de4-4675-bd0b-47a327cc326d 2025-04-24 01:50:08,671 - DEBUG - VM ctest-TestBasicPolicy-88421032-25576188 launched on Node cn-jenkins-deploy-platform-juju-os-531-1 2025-04-24 01:50:08,799 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/85e3898c-1de4-4675-bd0b-47a327cc326d 2025-04-24 01:50:08,857 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/42dd7968-0349-42bc-af31-65ed49445d9c 2025-04-24 01:50:10,312 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.520/2.657/1.136 ms') 2025-04-24 01:50:10,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88421032-25576188 passed 2025-04-24 01:50:10,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:50:10,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88421032-25576188, IP 69.161.21.3, Port 22 2025-04-24 01:50:10,670 - DEBUG - VM ctest-TestBasicPolicy-88421032-25576188 is ready for SSH connections 2025-04-24 01:50:10,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:50:10,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.161.21.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-24 01:50:10,670 - DEBUG - ping -s 56 -c 3 -W 1 69.161.21.3 2025-04-24 01:50:14,638 - DEBUG - PING 69.161.21.3 (69.161.21.3): 56 data bytes 64 bytes from 69.161.21.3: seq=0 ttl=63 time=3.231 ms 64 bytes from 69.161.21.3: seq=1 ttl=63 time=0.896 ms 64 bytes from 69.161.21.3: seq=2 ttl=63 time=0.737 ms --- 69.161.21.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/1.621/3.231 ms 2025-04-24 01:50:14,638 - INFO - Ping to IP 69.161.21.3 from VM ctest-TestBasicPolicy-88421032-55862388 passed 2025-04-24 01:50:14,816 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7329e23e-d26e-4ce2-a326-29e1777374ce", "href": "https://10.0.0.241:8082/network-policy/7329e23e-d26e-4ce2-a326-29e1777374ce"}} 2025-04-24 01:50:14,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:50:14,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.161.21.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-24 01:50:14,816 - DEBUG - ping -s 56 -c 3 -W 1 69.161.21.3 2025-04-24 01:50:18,008 - DEBUG - PING 69.161.21.3 (69.161.21.3): 56 data bytes --- 69.161.21.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 01:50:18,008 - WARNING - Ping to IP 69.161.21.3 from VM ctest-TestBasicPolicy-88421032-55862388 failed 2025-04-24 01:50:18,009 - INFO - Deleting VM ctest-TestBasicPolicy-88421032-25576188 2025-04-24 01:50:18,133 - INFO - Deleting VM ctest-TestBasicPolicy-88421032-55862388 2025-04-24 01:50:18,800 - INFO - Deleted policy ctest-policy-allow-all-35965959 2025-04-24 01:50:18,800 - INFO - Deleting VN ctest-vn-86466482 2025-04-24 01:50:18,935 - DEBUG - VN 1289fe94-cc4a-446a-9024-4c98b306996f still in use: Unable to complete operation on network 1289fe94-cc4a-446a-9024-4c98b306996f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee141fcd-191b-4e68-95a5-3968ac6993ab'] 2025-04-24 01:50:18,936 - WARNING - Deleting VN ctest-vn-86466482 failed..Will retry 2025-04-24 01:50:21,106 - DEBUG - Response for deleting network () 2025-04-24 01:50:21,107 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/4133e3c9-9ae1-4c0e-ba3f-a0105481fbab 2025-04-24 01:50:21,160 - DEBUG - Response Code: 404 2025-04-24 01:50:21,160 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:50:21,213 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:50:21,269 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:50:21,353 - INFO - Validated that VN ctest-vn-86466482 is not found in API Server 2025-04-24 01:50:21,449 - DEBUG - VN ctest-vn-86466482 is not present in Agent 10.0.0.241 2025-04-24 01:50:21,449 - INFO - Validated that VN ctest-vn-86466482 is not in any agent 2025-04-24 01:50:21,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86466482 info 2025-04-24 01:50:21,597 - INFO - Deleting VN ctest-vn-51384093 2025-04-24 01:50:21,772 - DEBUG - Response for deleting network () 2025-04-24 01:50:21,772 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b2168b85-a1ad-4353-93e6-7a28ec2bd3ac 2025-04-24 01:50:21,824 - DEBUG - Response Code: 404 2025-04-24 01:50:21,824 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-24 01:50:21,877 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:50:21,933 - DEBUG - Requesting: https://10.0.0.241:8082/project/59eb6578-7e73-4543-b3a1-f87c75d738c9 2025-04-24 01:50:22,018 - INFO - Validated that VN ctest-vn-51384093 is not found in API Server 2025-04-24 01:50:22,117 - DEBUG - VN ctest-vn-51384093 is not present in Agent 10.0.0.241 2025-04-24 01:50:22,117 - INFO - Validated that VN ctest-vn-51384093 is not in any agent 2025-04-24 01:50:22,265 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51384093 info 2025-04-24 01:50:22,650 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 01:50:22,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-04-24 01:50:22,650 - INFO - -------------------------------------------------------------------------------- 2025-04-24 01:50:23,368 - INFO - Deleted project: ctest-TestBasicPolicy-88421032, ID : 59eb6578-7e73-4543-b3a1-f87c75d738c9