2025-10-09 13:44:52,407 - INFO - Reading existing Domain with UUID 8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:44:52,422 - INFO - Using existing domain ['admin_domain'](8ad80d2d-2369-4ab9-896f-7a17fd6c7f55) 2025-10-09 13:44:52,644 - INFO - Project ctest-TestBasicPolicy-98788352 not found, creating it 2025-10-09 13:44:53,280 - INFO - Created Project:ctest-TestBasicPolicy-98788352, ID : cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:44:57,313 - INFO - ================================================================================ 2025-10-09 13:44:57,314 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 13:44:57,314 - 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-10-09 13:44:57,829 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2025-10-09 13:44:57,829 - INFO - Initial checks done. Running the testcase now 2025-10-09 13:44:57,829 - INFO - 2025-10-09 13:45:00,073 - DEBUG - Response for create_network : {'network': {'id': 'af507168-6dd8-4c8f-9f52-7572cbfb0a6f', 'name': 'ctest-vn-31196518', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-vn-31196518'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:45:00,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e5d0dfe-0163-4b4e-a86a-c51cc69303a9', 'name': '', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'network_id': 'af507168-6dd8-4c8f-9f52-7572cbfb0a6f', 'ip_version': 4, 'cidr': '59.45.207.0/26', 'allocation_pools': [{'start': '59.45.207.2', 'end': '59.45.207.62'}], 'gateway_ip': '59.45.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:45:00.276820', 'updated_at': '2025-10-09T13:45:00.276820', 'dns_server_address': '59.45.207.2', 'tags': [], 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931'}} 2025-10-09 13:45:00,525 - INFO - Created VN ctest-vn-31196518 2025-10-09 13:45:00,610 - DEBUG - VN ctest-vn-31196518 UUID is af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:01,320 - DEBUG - Response for create_network : {'network': {'id': '18f5b267-e1ad-4508-a8f3-f4095883579e', 'name': 'ctest-vn-05796562', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-vn-05796562'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:45:01,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a713d129-ec0f-4100-a677-4d058faf3973', 'name': '', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'network_id': '18f5b267-e1ad-4508-a8f3-f4095883579e', 'ip_version': 4, 'cidr': '46.179.48.0/26', 'allocation_pools': [{'start': '46.179.48.2', 'end': '46.179.48.62'}], 'gateway_ip': '46.179.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:45:01.510939', 'updated_at': '2025-10-09T13:45:01.510939', 'dns_server_address': '46.179.48.2', 'tags': [], 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931'}} 2025-10-09 13:45:01,731 - INFO - Created VN ctest-vn-05796562 2025-10-09 13:45:01,791 - DEBUG - VN ctest-vn-05796562 UUID is 18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:02,070 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518, 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-98788352:ctest-vn-05796562, 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-10-09 13:45:02,607 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af507168-6dd8-4c8f-9f52-7572cbfb0a6f', 'name': 'ctest-vn-31196518', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e5d0dfe-0163-4b4e-a86a-c51cc69303a9'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-vn-31196518'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-policy-allow-all-08575227']], 'subnet_ipam': [{'subnet_cidr': '59.45.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T13:44:59.773575', 'updated_at': '2025-10-09T13:45:00.309037'}} 2025-10-09 13:45:03,094 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18f5b267-e1ad-4508-a8f3-f4095883579e', 'name': 'ctest-vn-05796562', 'tenant_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'project_id': 'cc678ceebbab4b05b9e9bef5b6c65931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a713d129-ec0f-4100-a677-4d058faf3973'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-vn-05796562'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-policy-allow-all-08575227']], 'subnet_ipam': [{'subnet_cidr': '46.179.48.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T13:45:01.187036', 'updated_at': '2025-10-09T13:45:01.528224'}} 2025-10-09 13:45:03,299 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:03,721 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:03,811 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:03,872 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:03,994 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:04,081 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:04,145 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:04,216 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:04,283 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/d393a381-818b-4b3e-86d4-7e4c08497ce5 2025-10-09 13:45:04,359 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 13:45:04,359 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:04,426 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:04,508 - INFO - Verified VN network id 11 for VN af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:04,508 - INFO - Verifications in API Server for VN ctest-vn-31196518 passed 2025-10-09 13:45:04,508 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:04,580 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:04,640 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:04,705 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/d393a381-818b-4b3e-86d4-7e4c08497ce5 2025-10-09 13:45:04,832 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98788352', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12632721648107670671', 'uuid-lslong': '11480367536029764207'}, 'enable': 'true', 'created': '2025-10-09T13:44:59', 'last-modified': '2025-10-09T13:45:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.264520'} 2025-10-09 13:45:04,894 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 13:45:04,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31196518 passed 2025-10-09 13:45:04,894 - DEBUG - ====Verifying policy data for ctest-vn-31196518 in API_Server ====== 2025-10-09 13:45:04,894 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:04,955 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:05,019 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:05,109 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/af507168-6dd8-4c8f-9f52-7572cbfb0a6f 2025-10-09 13:45:05,169 - DEBUG - ==>Verifying data for policy with id: 63f5c927-2a67-4c9d-bb6b-793239e8e15a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-policy-allow-all-08575227'] 2025-10-09 13:45:05,169 - INFO - VN ctest-vn-31196518 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 13:45:05,169 - DEBUG - Verifying the vn in opserver 2025-10-09 13:45:05,170 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518 virtual network link through opserver 10.0.0.41 2025-10-09 13:45:05,170 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 13:45:05,592 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 13:45:05,739 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518?flat'} 2025-10-09 13:45:05,739 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518 is found in opserver 2025-10-09 13:45:05,847 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 13:45:05,903 - DEBUG - VRF ids for VN ctest-vn-31196518: {} 2025-10-09 13:45:05,903 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:05,959 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:06,027 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:06,132 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:06,205 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:06,265 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:06,325 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:06,391 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/5a6c23e2-7a7c-48d7-beaf-93f14fdc9dde 2025-10-09 13:45:06,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 13:45:06,451 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:06,508 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:06,585 - INFO - Verified VN network id 12 for VN 18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:06,586 - INFO - Verifications in API Server for VN ctest-vn-05796562 passed 2025-10-09 13:45:06,586 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:06,652 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:06,708 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:06,767 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/5a6c23e2-7a7c-48d7-beaf-93f14fdc9dde 2025-10-09 13:45:06,880 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-05796562', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98788352', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1798539785441985800', 'uuid-lslong': '12174342538689468318'}, 'enable': 'true', 'created': '2025-10-09T13:45:01', 'last-modified': '2025-10-09T13:45:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.835134'} 2025-10-09 13:45:06,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 13:45:06,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05796562 passed 2025-10-09 13:45:06,941 - DEBUG - ====Verifying policy data for ctest-vn-05796562 in API_Server ====== 2025-10-09 13:45:06,942 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:06,995 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:07,064 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:07,160 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/18f5b267-e1ad-4508-a8f3-f4095883579e 2025-10-09 13:45:07,218 - DEBUG - ==>Verifying data for policy with id: 63f5c927-2a67-4c9d-bb6b-793239e8e15a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-98788352', 'ctest-policy-allow-all-08575227'] 2025-10-09 13:45:07,218 - INFO - VN ctest-vn-05796562 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 13:45:07,218 - DEBUG - Verifying the vn in opserver 2025-10-09 13:45:07,219 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-05796562 virtual network link through opserver 10.0.0.41 2025-10-09 13:45:07,219 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 13:45:07,288 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-05796562', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-05796562?flat'} 2025-10-09 13:45:07,288 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-05796562 is found in opserver 2025-10-09 13:45:07,395 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 13:45:07,447 - DEBUG - VRF ids for VN ctest-vn-05796562: {} 2025-10-09 13:45:07,517 - DEBUG - Services list from nova: [, , ] 2025-10-09 13:45:09,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:45:10,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:45:10,964 - INFO - Waiting for VM ctest-TestBasicPolicy-98788352-63184552 to be up.. 2025-10-09 13:45:11,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 13:45:16,296 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:45:16,296 - INFO - VM name : ctest-TestBasicPolicy-98788352-63184552 2025-10-09 13:45:16,443 - DEBUG - VM ctest-TestBasicPolicy-98788352-63184552 ID is 4d47930c-fa62-42e0-8c6d-bf5ab76ae1bb 2025-10-09 13:45:16,469 - DEBUG - VM ctest-TestBasicPolicy-98788352-63184552 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:45:16,637 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/4d47930c-fa62-42e0-8c6d-bf5ab76ae1bb 2025-10-09 13:45:16,691 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/993dc8bd-e9c0-47ee-9623-0e17ab440b4c 2025-10-09 13:45:20,177 - 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 1018ms') 2025-10-09 13:45:20,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98788352-63184552 failed! 2025-10-09 13:45:20,242 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-98788352:ctest-vn-31196518 is 59.45.207.1 and allocation pool is NOT set 2025-10-09 13:45:24,365 - 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=2 ttl=63 time=3.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 3.863/3.863/3.863/0.000 ms') 2025-10-09 13:45:24,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98788352-63184552 passed 2025-10-09 13:45:24,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:45:24,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98788352-63184552, IP 59.45.207.3, Port 22 2025-10-09 13:45:24,620 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-09 13:45:24,774 - DEBUG - VM ctest-TestBasicPolicy-98788352-63184552 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 13:45:29,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:45:29,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98788352-63184552, IP 59.45.207.3, Port 22 2025-10-09 13:45:30,007 - DEBUG - VM ctest-TestBasicPolicy-98788352-63184552 is ready for SSH connections 2025-10-09 13:45:30,007 - INFO - Waiting for VM ctest-TestBasicPolicy-98788352-13364869 to be up.. 2025-10-09 13:45:30,164 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:45:30,164 - INFO - VM name : ctest-TestBasicPolicy-98788352-13364869 2025-10-09 13:45:30,325 - DEBUG - VM ctest-TestBasicPolicy-98788352-13364869 ID is ee0f52a3-9753-45df-8fc8-611ab8c52b56 2025-10-09 13:45:30,325 - DEBUG - VM ctest-TestBasicPolicy-98788352-13364869 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:45:30,481 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/ee0f52a3-9753-45df-8fc8-611ab8c52b56 2025-10-09 13:45:30,539 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/1215b7d5-5fd7-4dfd-804c-786f83845344 2025-10-09 13:45:32,023 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.827/3.163/1.336 ms') 2025-10-09 13:45:32,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98788352-13364869 passed 2025-10-09 13:45:32,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:45:32,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98788352-13364869, IP 46.179.48.3, Port 22 2025-10-09 13:45:32,400 - DEBUG - VM ctest-TestBasicPolicy-98788352-13364869 is ready for SSH connections 2025-10-09 13:45:32,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:45:32,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.179.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:45:32,401 - DEBUG - ping -s 56 -c 3 -W 1 46.179.48.3 2025-10-09 13:45:36,188 - DEBUG - PING 46.179.48.3 (46.179.48.3): 56 data bytes 64 bytes from 46.179.48.3: seq=0 ttl=63 time=3.985 ms 64 bytes from 46.179.48.3: seq=1 ttl=63 time=1.108 ms 64 bytes from 46.179.48.3: seq=2 ttl=63 time=0.964 ms --- 46.179.48.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/2.019/3.985 ms 2025-10-09 13:45:36,188 - INFO - Ping to IP 46.179.48.3 from VM ctest-TestBasicPolicy-98788352-63184552 passed 2025-10-09 13:45:36,374 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63f5c927-2a67-4c9d-bb6b-793239e8e15a", "href": "https://10.0.0.41:8082/network-policy/63f5c927-2a67-4c9d-bb6b-793239e8e15a"}} 2025-10-09 13:45:36,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:45:36,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.179.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:45:36,374 - DEBUG - ping -s 56 -c 3 -W 1 46.179.48.3 2025-10-09 13:45:39,614 - DEBUG - PING 46.179.48.3 (46.179.48.3): 56 data bytes 64 bytes from 46.179.48.3: seq=0 ttl=63 time=1.813 ms --- 46.179.48.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.813/1.813/1.813 ms 2025-10-09 13:45:39,614 - WARNING - Ping to IP 46.179.48.3 from VM ctest-TestBasicPolicy-98788352-63184552 failed 2025-10-09 13:45:39,614 - INFO - Deleting VM ctest-TestBasicPolicy-98788352-13364869 2025-10-09 13:45:39,733 - INFO - Deleting VM ctest-TestBasicPolicy-98788352-63184552 2025-10-09 13:45:40,536 - INFO - Deleted policy ctest-policy-allow-all-08575227 2025-10-09 13:45:40,536 - INFO - Deleting VN ctest-vn-05796562 2025-10-09 13:45:40,694 - DEBUG - VN 18f5b267-e1ad-4508-a8f3-f4095883579e still in use: Unable to complete operation on network 18f5b267-e1ad-4508-a8f3-f4095883579e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00a9a211-b892-4f8f-97c0-945f9c3fe788'] 2025-10-09 13:45:40,694 - WARNING - Deleting VN ctest-vn-05796562 failed..Will retry 2025-10-09 13:45:42,905 - DEBUG - Response for deleting network () 2025-10-09 13:45:42,905 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/a23643f5-e729-42fa-a4b1-9dfa1d6d3663 2025-10-09 13:45:42,962 - DEBUG - Response Code: 404 2025-10-09 13:45:42,963 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:43,019 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:43,095 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:43,183 - INFO - Validated that VN ctest-vn-05796562 is not found in API Server 2025-10-09 13:45:43,283 - DEBUG - VN ctest-vn-05796562 is not present in Agent 10.0.0.41 2025-10-09 13:45:43,283 - INFO - Validated that VN ctest-vn-05796562 is not in any agent 2025-10-09 13:45:43,435 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05796562 info 2025-10-09 13:45:43,435 - INFO - Deleting VN ctest-vn-31196518 2025-10-09 13:45:43,615 - DEBUG - Response for deleting network () 2025-10-09 13:45:43,615 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/7b55474a-f511-4885-8584-6d6e71292ada 2025-10-09 13:45:43,666 - DEBUG - Response Code: 404 2025-10-09 13:45:43,666 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2025-10-09 13:45:43,719 - DEBUG - Requesting: https://10.0.0.41:8082/domain/8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:45:43,780 - DEBUG - Requesting: https://10.0.0.41:8082/project/cc678cee-bbab-4b05-b9e9-bef5b6c65931 2025-10-09 13:45:43,871 - INFO - Validated that VN ctest-vn-31196518 is not found in API Server 2025-10-09 13:45:43,971 - DEBUG - VN ctest-vn-31196518 is not present in Agent 10.0.0.41 2025-10-09 13:45:43,971 - INFO - Validated that VN ctest-vn-31196518 is not in any agent 2025-10-09 13:45:44,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31196518 info 2025-10-09 13:45:44,520 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 13:45:44,520 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:47] 2025-10-09 13:45:44,520 - INFO - -------------------------------------------------------------------------------- 2025-10-09 13:45:45,366 - INFO - Deleted project: ctest-TestBasicPolicy-98788352, ID : cc678cee-bbab-4b05-b9e9-bef5b6c65931