2025-04-28 01:50:42,307 - INFO - Reading existing Domain with UUID 603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:50:42,320 - INFO - Using existing domain ['admin_domain'](603e603f-8372-4ebb-8595-56d5f17fcd53) 2025-04-28 01:50:42,511 - INFO - Project ctest-TestBasicPolicy-92306154 not found, creating it 2025-04-28 01:50:43,015 - INFO - Created Project:ctest-TestBasicPolicy-92306154, ID : c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:50:44,831 - INFO - ================================================================================ 2025-04-28 01:50:44,831 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 01:50:44,831 - 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 01:50:45,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-04-28 01:50:45,230 - INFO - Initial checks done. Running the testcase now 2025-04-28 01:50:45,230 - INFO - 2025-04-28 01:50:46,021 - DEBUG - Response for create_network : {'network': {'id': '634b7872-77b7-4cfd-99dc-af193b060eb2', 'name': 'ctest-vn-58403124', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-vn-58403124'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-28 01:50:46,249 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a782f2a6-462c-4c4e-acd6-1c0c236ce1c2', 'name': '', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'network_id': '634b7872-77b7-4cfd-99dc-af193b060eb2', 'ip_version': 4, 'cidr': '35.93.38.192/26', 'allocation_pools': [{'start': '35.93.38.194', 'end': '35.93.38.254'}], 'gateway_ip': '35.93.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-28T01:50:46.144800', 'updated_at': '2025-04-28T01:50:46.144800', 'dns_server_address': '35.93.38.194', 'tags': [], 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60'}} 2025-04-28 01:50:46,314 - INFO - Created VN ctest-vn-58403124 2025-04-28 01:50:46,368 - DEBUG - VN ctest-vn-58403124 UUID is 634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:46,885 - DEBUG - Response for create_network : {'network': {'id': '3849bc19-9513-42ae-8376-bdbc19a9b5b6', 'name': 'ctest-vn-36093338', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-vn-36093338'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-28 01:50:47,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '916bc11f-0c21-402c-85ac-351359fcb707', 'name': '', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'network_id': '3849bc19-9513-42ae-8376-bdbc19a9b5b6', 'ip_version': 4, 'cidr': '213.227.250.0/26', 'allocation_pools': [{'start': '213.227.250.2', 'end': '213.227.250.62'}], 'gateway_ip': '213.227.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-28T01:50:47.040835', 'updated_at': '2025-04-28T01:50:47.040835', 'dns_server_address': '213.227.250.2', 'tags': [], 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60'}} 2025-04-28 01:50:47,203 - INFO - Created VN ctest-vn-36093338 2025-04-28 01:50:47,256 - DEBUG - VN ctest-vn-36093338 UUID is 3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:47,473 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124, 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-92306154:ctest-vn-36093338, 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 01:50:47,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '634b7872-77b7-4cfd-99dc-af193b060eb2', 'name': 'ctest-vn-58403124', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a782f2a6-462c-4c4e-acd6-1c0c236ce1c2'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-vn-58403124'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-policy-allow-all-14584849']], 'subnet_ipam': [{'subnet_cidr': '35.93.38.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-04-28T01:50:45.949039', 'updated_at': '2025-04-28T01:50:46.157677'}} 2025-04-28 01:50:48,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3849bc19-9513-42ae-8376-bdbc19a9b5b6', 'name': 'ctest-vn-36093338', 'tenant_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'project_id': 'c53a4e6e7f55466ba0a7c712382e4e60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['916bc11f-0c21-402c-85ac-351359fcb707'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-vn-36093338'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-policy-allow-all-14584849']], 'subnet_ipam': [{'subnet_cidr': '213.227.250.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-04-28T01:50:46.803566', 'updated_at': '2025-04-28T01:50:47.054617'}} 2025-04-28 01:50:48,492 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:50:48,882 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:50:48,961 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:50:49,021 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:50:49,102 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:49,159 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:49,215 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:50:49,270 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:50:49,325 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/e6d3c1cd-0b40-4b8f-a8e5-fdbae30927a4 2025-04-28 01:50:49,381 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 01:50:49,381 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:49,439 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:50:49,502 - INFO - Verified VN network id 8 for VN 634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:49,502 - INFO - Verifications in API Server for VN ctest-vn-58403124 passed 2025-04-28 01:50:49,502 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:49,558 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:50:49,617 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:50:49,669 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/e6d3c1cd-0b40-4b8f-a8e5-fdbae30927a4 2025-04-28 01:50:49,773 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92306154', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7154944866038271229', 'uuid-lslong': '11086928905578614450'}, 'enable': 'true', 'created': '2025-04-28T01:50:45', 'last-modified': '2025-04-28T01:50:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.908715'} 2025-04-28 01:50:49,826 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 01:50:49,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58403124 passed 2025-04-28 01:50:49,826 - DEBUG - ====Verifying policy data for ctest-vn-58403124 in API_Server ====== 2025-04-28 01:50:49,826 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:50:49,877 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:50:49,937 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:50:50,018 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/634b7872-77b7-4cfd-99dc-af193b060eb2 2025-04-28 01:50:50,075 - DEBUG - ==>Verifying data for policy with id: 443f54e0-1ed9-49ea-b79a-5bb0a1e0f565, fqn: ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-policy-allow-all-14584849'] 2025-04-28 01:50:50,075 - INFO - VN ctest-vn-58403124 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 01:50:50,075 - DEBUG - Verifying the vn in opserver 2025-04-28 01:50:50,076 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124 virtual network link through opserver 10.0.0.241 2025-04-28 01:50:50,076 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-28 01:50:50,457 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-28 01:50:50,569 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124?flat'} 2025-04-28 01:50:50,569 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124 is found in opserver 2025-04-28 01:50:50,669 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 01:50:50,717 - DEBUG - VRF ids for VN ctest-vn-58403124: {} 2025-04-28 01:50:50,717 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:50:50,769 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:50:50,829 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:50:50,910 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:50,971 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:51,027 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:50:51,082 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:50:51,137 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f43773d9-4191-4d64-9634-ab183895b187 2025-04-28 01:50:51,189 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 01:50:51,189 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:51,242 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:50:51,301 - INFO - Verified VN network id 9 for VN 3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:51,301 - INFO - Verifications in API Server for VN ctest-vn-36093338 passed 2025-04-28 01:50:51,301 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:51,358 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:50:51,409 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:50:51,465 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f43773d9-4191-4d64-9634-ab183895b187 2025-04-28 01:50:51,569 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-36093338', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92306154', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4055979757485114030', 'uuid-lslong': '9472967481802470838'}, 'enable': 'true', 'created': '2025-04-28T01:50:46', 'last-modified': '2025-04-28T01:50:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.343129'} 2025-04-28 01:50:51,622 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 01:50:51,622 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36093338 passed 2025-04-28 01:50:51,622 - DEBUG - ====Verifying policy data for ctest-vn-36093338 in API_Server ====== 2025-04-28 01:50:51,622 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:50:51,676 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:50:51,733 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:50:51,810 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/3849bc19-9513-42ae-8376-bdbc19a9b5b6 2025-04-28 01:50:51,867 - DEBUG - ==>Verifying data for policy with id: 443f54e0-1ed9-49ea-b79a-5bb0a1e0f565, fqn: ['admin_domain', 'ctest-TestBasicPolicy-92306154', 'ctest-policy-allow-all-14584849'] 2025-04-28 01:50:51,867 - INFO - VN ctest-vn-36093338 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 01:50:51,867 - DEBUG - Verifying the vn in opserver 2025-04-28 01:50:51,867 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-36093338 virtual network link through opserver 10.0.0.241 2025-04-28 01:50:51,867 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-28 01:50:51,925 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-36093338', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-36093338?flat'} 2025-04-28 01:50:51,925 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-36093338 is found in opserver 2025-04-28 01:50:52,025 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 01:50:52,073 - DEBUG - VRF ids for VN ctest-vn-36093338: {} 2025-04-28 01:50:52,139 - DEBUG - Services list from nova: [, , ] 2025-04-28 01:50:53,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1) 2025-04-28 01:50:55,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1) 2025-04-28 01:50:55,375 - INFO - Waiting for VM ctest-TestBasicPolicy-92306154-64968845 to be up.. 2025-04-28 01:50:55,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 01:51:00,697 - DEBUG - VM is in ACTIVE state now 2025-04-28 01:51:00,697 - INFO - VM name : ctest-TestBasicPolicy-92306154-64968845 2025-04-28 01:51:00,839 - DEBUG - VM ctest-TestBasicPolicy-92306154-64968845 ID is 0784a9ef-92e2-4d9c-b741-97a80b9accff 2025-04-28 01:51:00,876 - DEBUG - VM ctest-TestBasicPolicy-92306154-64968845 launched on Node cn-jenkins-deploy-platform-juju-os-532-1 2025-04-28 01:51:01,023 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/0784a9ef-92e2-4d9c-b741-97a80b9accff 2025-04-28 01:51:01,082 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/abd5b669-54ff-4af5-a93b-6e5b6d73b760 2025-04-28 01:51:04,561 - 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 1017ms') 2025-04-28 01:51:04,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92306154-64968845 failed! 2025-04-28 01:51:04,620 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-92306154:ctest-vn-58403124 is 35.93.38.193 and allocation pool is NOT set 2025-04-28 01:51:06,708 - 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=8.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/4.369/8.326/3.957 ms') 2025-04-28 01:51:06,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92306154-64968845 passed 2025-04-28 01:51:06,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 01:51:06,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92306154-64968845, IP 35.93.38.195, Port 22 2025-04-28 01:51:07,106 - DEBUG - VM ctest-TestBasicPolicy-92306154-64968845 is ready for SSH connections 2025-04-28 01:51:07,106 - INFO - Waiting for VM ctest-TestBasicPolicy-92306154-74682067 to be up.. 2025-04-28 01:51:07,245 - DEBUG - VM is in ACTIVE state now 2025-04-28 01:51:07,245 - INFO - VM name : ctest-TestBasicPolicy-92306154-74682067 2025-04-28 01:51:07,393 - DEBUG - VM ctest-TestBasicPolicy-92306154-74682067 ID is 9cd9d998-7f1c-4321-a4d5-49a6e4a8cdab 2025-04-28 01:51:07,393 - DEBUG - VM ctest-TestBasicPolicy-92306154-74682067 launched on Node cn-jenkins-deploy-platform-juju-os-532-1 2025-04-28 01:51:07,530 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/9cd9d998-7f1c-4321-a4d5-49a6e4a8cdab 2025-04-28 01:51:07,590 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/f8d6f083-b97c-44f6-9b35-77b6e02503ae 2025-04-28 01:51:09,055 - 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=5.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.099/3.241/5.383/2.142 ms') 2025-04-28 01:51:09,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92306154-74682067 passed 2025-04-28 01:51:09,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 01:51:09,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92306154-74682067, IP 213.227.250.3, Port 22 2025-04-28 01:51:09,435 - DEBUG - VM ctest-TestBasicPolicy-92306154-74682067 is ready for SSH connections 2025-04-28 01:51:09,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 01:51:09,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.250.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-28 01:51:09,435 - DEBUG - ping -s 56 -c 3 -W 1 213.227.250.3 2025-04-28 01:51:13,622 - DEBUG - PING 213.227.250.3 (213.227.250.3): 56 data bytes 64 bytes from 213.227.250.3: seq=0 ttl=63 time=3.873 ms 64 bytes from 213.227.250.3: seq=1 ttl=63 time=0.809 ms 64 bytes from 213.227.250.3: seq=2 ttl=63 time=0.851 ms --- 213.227.250.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.844/3.873 ms 2025-04-28 01:51:13,622 - INFO - Ping to IP 213.227.250.3 from VM ctest-TestBasicPolicy-92306154-64968845 passed 2025-04-28 01:51:13,804 - DEBUG - Policy Update Response {"network-policy": {"uuid": "443f54e0-1ed9-49ea-b79a-5bb0a1e0f565", "href": "https://10.0.0.241:8082/network-policy/443f54e0-1ed9-49ea-b79a-5bb0a1e0f565"}} 2025-04-28 01:51:13,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 01:51:13,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.250.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-28 01:51:13,804 - DEBUG - ping -s 56 -c 3 -W 1 213.227.250.3 2025-04-28 01:51:17,047 - DEBUG - PING 213.227.250.3 (213.227.250.3): 56 data bytes --- 213.227.250.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 01:51:17,047 - WARNING - Ping to IP 213.227.250.3 from VM ctest-TestBasicPolicy-92306154-64968845 failed 2025-04-28 01:51:17,048 - INFO - Deleting VM ctest-TestBasicPolicy-92306154-74682067 2025-04-28 01:51:17,207 - INFO - Deleting VM ctest-TestBasicPolicy-92306154-64968845 2025-04-28 01:51:17,943 - INFO - Deleted policy ctest-policy-allow-all-14584849 2025-04-28 01:51:17,943 - INFO - Deleting VN ctest-vn-36093338 2025-04-28 01:51:18,080 - DEBUG - VN 3849bc19-9513-42ae-8376-bdbc19a9b5b6 still in use: Unable to complete operation on network 3849bc19-9513-42ae-8376-bdbc19a9b5b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2f25560-02ae-48aa-92c0-fad8ece9ba0d'] 2025-04-28 01:51:18,080 - WARNING - Deleting VN ctest-vn-36093338 failed..Will retry 2025-04-28 01:51:20,252 - DEBUG - Response for deleting network () 2025-04-28 01:51:20,252 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/31a7a494-e899-4895-816f-03b3cbbbb488 2025-04-28 01:51:20,308 - DEBUG - Response Code: 404 2025-04-28 01:51:20,308 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:51:20,361 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:51:20,418 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:51:20,498 - INFO - Validated that VN ctest-vn-36093338 is not found in API Server 2025-04-28 01:51:20,601 - DEBUG - VN ctest-vn-36093338 is not present in Agent 10.0.0.241 2025-04-28 01:51:20,601 - INFO - Validated that VN ctest-vn-36093338 is not in any agent 2025-04-28 01:51:20,757 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36093338 info 2025-04-28 01:51:20,757 - INFO - Deleting VN ctest-vn-58403124 2025-04-28 01:51:20,947 - DEBUG - Response for deleting network () 2025-04-28 01:51:20,947 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/89591cb9-3e25-45f6-8769-6052f61eb447 2025-04-28 01:51:21,012 - DEBUG - Response Code: 404 2025-04-28 01:51:21,012 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2025-04-28 01:51:21,066 - DEBUG - Requesting: https://10.0.0.241:8082/domain/603e603f-8372-4ebb-8595-56d5f17fcd53 2025-04-28 01:51:21,126 - DEBUG - Requesting: https://10.0.0.241:8082/project/c53a4e6e-7f55-466b-a0a7-c712382e4e60 2025-04-28 01:51:21,210 - INFO - Validated that VN ctest-vn-58403124 is not found in API Server 2025-04-28 01:51:21,313 - DEBUG - VN ctest-vn-58403124 is not present in Agent 10.0.0.241 2025-04-28 01:51:21,313 - INFO - Validated that VN ctest-vn-58403124 is not in any agent 2025-04-28 01:51:21,466 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58403124 info 2025-04-28 01:51:21,862 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 01:51:21,862 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-04-28 01:51:21,863 - INFO - -------------------------------------------------------------------------------- 2025-04-28 01:51:22,628 - INFO - Deleted project: ctest-TestBasicPolicy-92306154, ID : c53a4e6e-7f55-466b-a0a7-c712382e4e60