2025-12-01 17:34:27,714 - INFO - Domain Default found not creating 2025-12-01 17:34:27,930 - INFO - Project ctest-TestBasicPolicy-44660104 not found, creating it 2025-12-01 17:34:28,396 - INFO - Created Project:ctest-TestBasicPolicy-44660104, ID : 46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:34:30,164 - INFO - ================================================================================ 2025-12-01 17:34:30,165 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 17:34:30,165 - 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-12-01 17:34:30,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-01 17:34:30,426 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:34:30,427 - INFO - 2025-12-01 17:34:31,413 - DEBUG - Response for create_network : {'network': {'id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'name': 'ctest-vn-65926341', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-65926341'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:34:31,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '4953ba89-2a3d-4d24-9194-de9c876f712c', 'name': '', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'network_id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'ip_version': 4, 'cidr': '214.213.251.192/26', 'allocation_pools': [{'start': '214.213.251.194', 'end': '214.213.251.254'}], 'gateway_ip': '214.213.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.213.251.194', 'tags': [], 'project_id': '46bc691e85f94feab61bc65ee872a060'}} 2025-12-01 17:34:31,689 - INFO - Created VN ctest-vn-65926341 2025-12-01 17:34:31,743 - DEBUG - VN ctest-vn-65926341 UUID is daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:32,083 - DEBUG - Response for create_network : {'network': {'id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'name': 'ctest-vn-39596789', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-39596789'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:34:32,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f3e42f5-ea75-467e-8919-d83f7959ee22', 'name': '', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'network_id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'ip_version': 4, 'cidr': '3.110.99.0/26', 'allocation_pools': [{'start': '3.110.99.2', 'end': '3.110.99.62'}], 'gateway_ip': '3.110.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.110.99.2', 'tags': [], 'project_id': '46bc691e85f94feab61bc65ee872a060'}} 2025-12-01 17:34:32,303 - INFO - Created VN ctest-vn-39596789 2025-12-01 17:34:32,359 - DEBUG - VN ctest-vn-39596789 UUID is 8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:32,492 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341, 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-44660104:ctest-vn-39596789, 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-12-01 17:34:32,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'name': 'ctest-vn-65926341', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4953ba89-2a3d-4d24-9194-de9c876f712c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-65926341'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']], 'subnet_ipam': [{'subnet_cidr': '214.213.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:34:33,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'name': 'ctest-vn-39596789', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f3e42f5-ea75-467e-8919-d83f7959ee22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-39596789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']], 'subnet_ipam': [{'subnet_cidr': '3.110.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:34:33,263 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:34:33,620 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:34:33,660 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:34:33,674 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:34:33,753 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,778 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:34:33,787 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:34:33,795 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/619f15ef-9f1f-46e9-9785-55e1ab71791c 2025-12-01 17:34:33,803 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 17:34:33,804 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,815 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:34:33,832 - INFO - Verified VN network id 12 for VN daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,832 - INFO - Verifications in API Server for VN ctest-vn-65926341 passed 2025-12-01 17:34:33,832 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,842 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:34:33,851 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:34:33,858 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/619f15ef-9f1f-46e9-9785-55e1ab71791c 2025-12-01 17:34:33,873 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44660104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15756766362889833439', 'uuid-lslong': '13053791034047535426'}, 'enable': 'true', 'created': '2025-12-01T17:34:31', 'last-modified': '2025-12-01T17:34:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081481'} 2025-12-01 17:34:33,880 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 17:34:33,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65926341 passed 2025-12-01 17:34:33,881 - DEBUG - ====Verifying policy data for ctest-vn-65926341 in API_Server ====== 2025-12-01 17:34:33,881 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:34:33,887 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:34:33,904 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:34:33,983 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942 2025-12-01 17:34:33,994 - DEBUG - ==>Verifying data for policy with id: 5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946'] 2025-12-01 17:34:33,994 - INFO - VN ctest-vn-65926341 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 17:34:33,994 - DEBUG - Verifying the vn in opserver 2025-12-01 17:34:33,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341 virtual network link through opserver 10.0.0.129 2025-12-01 17:34:33,995 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-01 17:34:34,337 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-01 17:34:34,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341?flat'} 2025-12-01 17:34:34,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341 is found in opserver 2025-12-01 17:34:34,426 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 17:34:34,432 - DEBUG - VRF ids for VN ctest-vn-65926341: {} 2025-12-01 17:34:34,432 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:34:34,438 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:34:34,450 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:34:34,525 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,538 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,549 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:34:34,560 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:34:34,570 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6e9824d-24cb-42b1-9c99-57b77f2d6710 2025-12-01 17:34:34,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 17:34:34,578 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,588 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:34:34,605 - INFO - Verified VN network id 13 for VN 8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,606 - INFO - Verifications in API Server for VN ctest-vn-39596789 passed 2025-12-01 17:34:34,606 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,626 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:34:34,635 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:34:34,643 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6e9824d-24cb-42b1-9c99-57b77f2d6710 2025-12-01 17:34:34,658 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44660104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10314010783219599834', 'uuid-lslong': '10395354863404589075'}, 'enable': 'true', 'created': '2025-12-01T17:34:32', 'last-modified': '2025-12-01T17:34:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.634110'} 2025-12-01 17:34:34,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 17:34:34,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39596789 passed 2025-12-01 17:34:34,666 - DEBUG - ====Verifying policy data for ctest-vn-39596789 in API_Server ====== 2025-12-01 17:34:34,666 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:34:34,673 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:34:34,689 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:34:34,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013 2025-12-01 17:34:34,777 - DEBUG - ==>Verifying data for policy with id: 5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946'] 2025-12-01 17:34:34,777 - INFO - VN ctest-vn-39596789 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 17:34:34,778 - DEBUG - Verifying the vn in opserver 2025-12-01 17:34:34,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789 virtual network link through opserver 10.0.0.129 2025-12-01 17:34:34,778 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-01 17:34:34,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789?flat'} 2025-12-01 17:34:34,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789 is found in opserver 2025-12-01 17:34:34,800 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 17:34:34,807 - DEBUG - VRF ids for VN ctest-vn-39596789: {} 2025-12-01 17:34:34,876 - DEBUG - Services list from nova: [, , ] 2025-12-01 17:34:36,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:34:37,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:34:37,540 - INFO - Waiting for VM ctest-TestBasicPolicy-44660104-34394414 to be up.. 2025-12-01 17:34:37,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 17:34:42,734 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:34:42,734 - INFO - VM name : ctest-TestBasicPolicy-44660104-34394414 2025-12-01 17:34:42,825 - DEBUG - VM ctest-TestBasicPolicy-44660104-34394414 ID is 3ecd7590-f0c3-45db-98ca-fa23294b7415 2025-12-01 17:34:42,847 - DEBUG - VM ctest-TestBasicPolicy-44660104-34394414 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:34:42,946 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3ecd7590-f0c3-45db-98ca-fa23294b7415 2025-12-01 17:34:42,956 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3f43247d-6074-4186-805b-2acd0b2b5b05 2025-12-01 17:34:46,221 - 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 1019ms') 2025-12-01 17:34:46,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44660104-34394414 failed! 2025-12-01 17:34:46,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341 is 214.213.251.193 and allocation pool is NOT set 2025-12-01 17:34:48,340 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.36 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 = 3.360/7.461/11.563/4.101 ms') 2025-12-01 17:34:48,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44660104-34394414 passed 2025-12-01 17:34:48,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:34:48,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44660104-34394414, IP 214.213.251.195, Port 22 2025-12-01 17:34:48,570 - 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-12-01 17:34:48,668 - DEBUG - VM ctest-TestBasicPolicy-44660104-34394414 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-01 17:34:53,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:34:53,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44660104-34394414, IP 214.213.251.195, Port 22 2025-12-01 17:34:53,842 - DEBUG - VM ctest-TestBasicPolicy-44660104-34394414 is ready for SSH connections 2025-12-01 17:34:53,842 - INFO - Waiting for VM ctest-TestBasicPolicy-44660104-70739055 to be up.. 2025-12-01 17:34:53,932 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:34:53,932 - INFO - VM name : ctest-TestBasicPolicy-44660104-70739055 2025-12-01 17:34:54,022 - DEBUG - VM ctest-TestBasicPolicy-44660104-70739055 ID is 2bad543d-220e-4b20-ae77-7bad65f7e034 2025-12-01 17:34:54,022 - DEBUG - VM ctest-TestBasicPolicy-44660104-70739055 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:34:54,119 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/2bad543d-220e-4b20-ae77-7bad65f7e034 2025-12-01 17:34:54,129 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ada8e858-a729-45f7-900f-e26de922ff50 2025-12-01 17:34:55,373 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.995/3.493/1.497 ms') 2025-12-01 17:34:55,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44660104-70739055 passed 2025-12-01 17:34:55,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:34:55,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44660104-70739055, IP 3.110.99.3, Port 22 2025-12-01 17:34:55,702 - DEBUG - VM ctest-TestBasicPolicy-44660104-70739055 is ready for SSH connections 2025-12-01 17:34:55,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:34:55,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.110.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:34:55,702 - DEBUG - ping -s 56 -c 3 -W 1 3.110.99.3 2025-12-01 17:34:59,865 - DEBUG - PING 3.110.99.3 (3.110.99.3): 56 data bytes 64 bytes from 3.110.99.3: seq=0 ttl=63 time=4.222 ms 64 bytes from 3.110.99.3: seq=1 ttl=63 time=1.226 ms 64 bytes from 3.110.99.3: seq=2 ttl=63 time=1.252 ms --- 3.110.99.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.226/2.233/4.222 ms 2025-12-01 17:34:59,865 - INFO - Ping to IP 3.110.99.3 from VM ctest-TestBasicPolicy-44660104-34394414 passed 2025-12-01 17:35:00,055 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e", "href": "http://10.0.0.129:8082/network-policy/5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e"}} 2025-12-01 17:35:00,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:35:00,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.110.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:35:00,055 - DEBUG - ping -s 56 -c 3 -W 1 3.110.99.3 2025-12-01 17:35:03,304 - DEBUG - PING 3.110.99.3 (3.110.99.3): 56 data bytes --- 3.110.99.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 17:35:03,304 - WARNING - Ping to IP 3.110.99.3 from VM ctest-TestBasicPolicy-44660104-34394414 failed 2025-12-01 17:35:03,304 - INFO - Deleting VM ctest-TestBasicPolicy-44660104-70739055 2025-12-01 17:35:03,395 - INFO - Deleting VM ctest-TestBasicPolicy-44660104-34394414 2025-12-01 17:35:03,942 - INFO - Deleted policy ctest-policy-allow-all-93766946 2025-12-01 17:35:03,943 - INFO - Deleting VN ctest-vn-39596789 2025-12-01 17:35:04,013 - DEBUG - VN 8f22ba29-4f5a-49da-9043-b82bdb5c2013 still in use: Unable to complete operation on network 8f22ba29-4f5a-49da-9043-b82bdb5c2013. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6319c98f-cd91-4115-9c3d-3e85a5bed8c1'] 2025-12-01 17:35:04,014 - WARNING - Deleting VN ctest-vn-39596789 failed..Will retry 2025-12-01 17:35:06,144 - DEBUG - Response for deleting network () 2025-12-01 17:35:06,144 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b 2025-12-01 17:35:06,153 - DEBUG - Response Code: 404 2025-12-01 17:35:06,153 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:35:06,160 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:35:06,219 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:35:06,308 - INFO - Validated that VN ctest-vn-39596789 is not found in API Server 2025-12-01 17:35:06,319 - DEBUG - VN ctest-vn-39596789 is not present in Agent 10.0.0.129 2025-12-01 17:35:06,319 - INFO - Validated that VN ctest-vn-39596789 is not in any agent 2025-12-01 17:35:06,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39596789 info 2025-12-01 17:35:06,338 - INFO - Deleting VN ctest-vn-65926341 2025-12-01 17:35:06,460 - DEBUG - Response for deleting network () 2025-12-01 17:35:06,460 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4 2025-12-01 17:35:06,466 - DEBUG - Response Code: 404 2025-12-01 17:35:06,466 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-01 17:35:06,473 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78 2025-12-01 17:35:06,529 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060 2025-12-01 17:35:06,607 - INFO - Validated that VN ctest-vn-65926341 is not found in API Server 2025-12-01 17:35:06,618 - DEBUG - VN ctest-vn-65926341 is not present in Agent 10.0.0.129 2025-12-01 17:35:06,618 - INFO - Validated that VN ctest-vn-65926341 is not in any agent 2025-12-01 17:35:06,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65926341 info 2025-12-01 17:35:06,904 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 17:35:06,904 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-01 17:35:06,904 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:35:07,692 - INFO - Deleted project: ctest-TestBasicPolicy-44660104, ID : 46bc691e-85f9-4fea-b61b-c65ee872a060