2026-08-15 18:56:26,986 - INFO - Domain Default found not creating 2026-08-15 18:56:27,177 - INFO - Project ctest-TestBasicPolicy-77246738 not found, creating it 2026-08-15 18:56:27,676 - INFO - Created Project:ctest-TestBasicPolicy-77246738, ID : b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:56:29,455 - INFO - ================================================================================ 2026-08-15 18:56:29,455 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-15 18:56:29,455 - 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 2026-08-15 18:56:29,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-15 18:56:29,736 - INFO - Initial checks done. Running the testcase now 2026-08-15 18:56:29,736 - INFO - 2026-08-15 18:56:30,411 - DEBUG - Response for create_network : {'network': {'id': 'a76848a3-4f2d-461c-b3e6-135bfa14d948', 'name': 'ctest-vn-06723269', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'project_id': 'b3bae27092c14242a3813ee36eaed9a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-vn-06723269'], 'port_security_enabled': True, 'description': ''}} 2026-08-15 18:56:30,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecbd8a00-ecf2-487b-b241-803b5b353d63', 'name': '', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'network_id': 'a76848a3-4f2d-461c-b3e6-135bfa14d948', 'ip_version': 4, 'cidr': '78.113.113.128/26', 'allocation_pools': [{'start': '78.113.113.130', 'end': '78.113.113.190'}], 'gateway_ip': '78.113.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.113.113.130', 'tags': [], 'project_id': 'b3bae27092c14242a3813ee36eaed9a8'}} 2026-08-15 18:56:30,625 - INFO - Created VN ctest-vn-06723269 2026-08-15 18:56:30,678 - DEBUG - VN ctest-vn-06723269 UUID is a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:30,997 - DEBUG - Response for create_network : {'network': {'id': '33160a0f-329e-4986-aa5b-c7aa78478ae7', 'name': 'ctest-vn-08349409', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'project_id': 'b3bae27092c14242a3813ee36eaed9a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-vn-08349409'], 'port_security_enabled': True, 'description': ''}} 2026-08-15 18:56:31,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '21b0c53b-d84d-4929-8892-fc5135eb0504', 'name': '', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'network_id': '33160a0f-329e-4986-aa5b-c7aa78478ae7', 'ip_version': 4, 'cidr': '123.92.99.64/26', 'allocation_pools': [{'start': '123.92.99.66', 'end': '123.92.99.126'}], 'gateway_ip': '123.92.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.92.99.66', 'tags': [], 'project_id': 'b3bae27092c14242a3813ee36eaed9a8'}} 2026-08-15 18:56:31,275 - INFO - Created VN ctest-vn-08349409 2026-08-15 18:56:31,330 - DEBUG - VN ctest-vn-08349409 UUID is 33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:31,443 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269, 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-77246738:ctest-vn-08349409, 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] 2026-08-15 18:56:31,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a76848a3-4f2d-461c-b3e6-135bfa14d948', 'name': 'ctest-vn-06723269', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'project_id': 'b3bae27092c14242a3813ee36eaed9a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecbd8a00-ecf2-487b-b241-803b5b353d63'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-vn-06723269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-policy-allow-all-39463516']], 'subnet_ipam': [{'subnet_cidr': '78.113.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-15 18:56:32,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33160a0f-329e-4986-aa5b-c7aa78478ae7', 'name': 'ctest-vn-08349409', 'tenant_id': 'b3bae27092c14242a3813ee36eaed9a8', 'project_id': 'b3bae27092c14242a3813ee36eaed9a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21b0c53b-d84d-4929-8892-fc5135eb0504'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-vn-08349409'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-policy-allow-all-39463516']], 'subnet_ipam': [{'subnet_cidr': '123.92.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-15 18:56:32,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:56:32,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:56:32,622 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:56:32,638 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:56:32,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:56:32,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:56:32,772 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e7af11c-b15a-47a1-be9b-cea9c9c29a00 2026-08-15 18:56:32,783 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-15 18:56:32,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,794 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:56:32,813 - INFO - Verified VN network id 11 for VN a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,813 - INFO - Verifications in API Server for VN ctest-vn-06723269 passed 2026-08-15 18:56:32,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:56:32,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:56:32,839 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e7af11c-b15a-47a1-be9b-cea9c9c29a00 2026-08-15 18:56:32,855 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77246738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12062971468157109788', 'uuid-lslong': '12963069863191173448'}, 'enable': 'true', 'created': '2026-08-15T18:56:30', 'last-modified': '2026-08-15T18:56:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.097221'} 2026-08-15 18:56:32,863 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-15 18:56:32,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06723269 passed 2026-08-15 18:56:32,863 - DEBUG - ====Verifying policy data for ctest-vn-06723269 in API_Server ====== 2026-08-15 18:56:32,863 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:56:32,870 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:56:32,882 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:56:32,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a76848a3-4f2d-461c-b3e6-135bfa14d948 2026-08-15 18:56:32,968 - DEBUG - ==>Verifying data for policy with id: e77a50be-34ee-4c12-960d-8e55dcccab0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-policy-allow-all-39463516'] 2026-08-15 18:56:32,968 - INFO - VN ctest-vn-06723269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-15 18:56:32,968 - DEBUG - Verifying the vn in opserver 2026-08-15 18:56:32,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269 virtual network link through opserver 10.0.0.38 2026-08-15 18:56:32,969 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-15 18:56:33,341 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-15 18:56:33,403 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269?flat'} 2026-08-15 18:56:33,403 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269 is found in opserver 2026-08-15 18:56:33,416 - DEBUG - Do not have enough data to verify VN in agent 2026-08-15 18:56:33,423 - DEBUG - VRF ids for VN ctest-vn-06723269: {} 2026-08-15 18:56:33,423 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:56:33,430 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:56:33,447 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:56:33,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:56:33,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:56:33,572 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f71182ac-da5b-476a-aaef-f2c8ca1c5a14 2026-08-15 18:56:33,579 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-15 18:56:33,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,589 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:56:33,606 - INFO - Verified VN network id 12 for VN 33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,606 - INFO - Verifications in API Server for VN ctest-vn-08349409 passed 2026-08-15 18:56:33,606 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,616 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:56:33,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:56:33,636 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f71182ac-da5b-476a-aaef-f2c8ca1c5a14 2026-08-15 18:56:33,650 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-08349409', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77246738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3681140805811980678', 'uuid-lslong': '12275624744304741095'}, 'enable': 'true', 'created': '2026-08-15T18:56:30', 'last-modified': '2026-08-15T18:56:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.639818'} 2026-08-15 18:56:33,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-15 18:56:33,659 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08349409 passed 2026-08-15 18:56:33,659 - DEBUG - ====Verifying policy data for ctest-vn-08349409 in API_Server ====== 2026-08-15 18:56:33,659 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:56:33,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:56:33,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:56:33,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33160a0f-329e-4986-aa5b-c7aa78478ae7 2026-08-15 18:56:33,772 - DEBUG - ==>Verifying data for policy with id: e77a50be-34ee-4c12-960d-8e55dcccab0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-77246738', 'ctest-policy-allow-all-39463516'] 2026-08-15 18:56:33,772 - INFO - VN ctest-vn-08349409 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-15 18:56:33,772 - DEBUG - Verifying the vn in opserver 2026-08-15 18:56:33,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-08349409 virtual network link through opserver 10.0.0.38 2026-08-15 18:56:33,772 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-15 18:56:33,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-08349409', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-08349409?flat'} 2026-08-15 18:56:33,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-08349409 is found in opserver 2026-08-15 18:56:33,796 - DEBUG - Do not have enough data to verify VN in agent 2026-08-15 18:56:33,801 - DEBUG - VRF ids for VN ctest-vn-08349409: {} 2026-08-15 18:56:33,865 - DEBUG - Services list from nova: [, , ] 2026-08-15 18:56:34,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6166-1) 2026-08-15 18:56:34,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6166-1) 2026-08-15 18:56:34,758 - INFO - Waiting for VM ctest-TestBasicPolicy-77246738-44784060 to be up.. 2026-08-15 18:56:34,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:56:39,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:56:44,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:56:50,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:56:55,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:57:00,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:57:05,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:57:10,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 18:57:15,506 - DEBUG - VM is in ACTIVE state now 2026-08-15 18:57:15,506 - INFO - VM name : ctest-TestBasicPolicy-77246738-44784060 2026-08-15 18:57:15,600 - DEBUG - VM ctest-TestBasicPolicy-77246738-44784060 ID is 0bd4063e-3d8c-4931-8b82-87dd44646261 2026-08-15 18:57:15,628 - DEBUG - VM ctest-TestBasicPolicy-77246738-44784060 launched on Node cn-jenkins-deploy-platform-ansible-os-6166-1 2026-08-15 18:57:15,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0bd4063e-3d8c-4931-8b82-87dd44646261 2026-08-15 18:57:15,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/66c98578-4e70-44e0-a5d1-5e2f24d0a8a0 2026-08-15 18:57:19,027 - 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') 2026-08-15 18:57:19,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77246738-44784060 failed! 2026-08-15 18:57:19,082 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77246738:ctest-vn-06723269 is 78.113.113.129 and allocation pool is NOT set 2026-08-15 18:57:21,148 - 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=3.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 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.516/2.081/3.646/1.565 ms') 2026-08-15 18:57:21,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77246738-44784060 passed 2026-08-15 18:57:21,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 18:57:21,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77246738-44784060, IP 78.113.113.131, Port 22 2026-08-15 18:57:21,469 - DEBUG - VM ctest-TestBasicPolicy-77246738-44784060 is ready for SSH connections 2026-08-15 18:57:21,469 - INFO - Waiting for VM ctest-TestBasicPolicy-77246738-68858665 to be up.. 2026-08-15 18:57:21,555 - DEBUG - VM is in ACTIVE state now 2026-08-15 18:57:21,556 - INFO - VM name : ctest-TestBasicPolicy-77246738-68858665 2026-08-15 18:57:21,642 - DEBUG - VM ctest-TestBasicPolicy-77246738-68858665 ID is 26796ac2-695c-4dc1-92e1-95d34f92222b 2026-08-15 18:57:21,642 - DEBUG - VM ctest-TestBasicPolicy-77246738-68858665 launched on Node cn-jenkins-deploy-platform-ansible-os-6166-1 2026-08-15 18:57:21,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/26796ac2-695c-4dc1-92e1-95d34f92222b 2026-08-15 18:57:21,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c19201e8-d358-40a5-bce6-9541364b794d 2026-08-15 18:57:23,002 - 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=14.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.39 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.390/7.798/14.207/6.408 ms') 2026-08-15 18:57:23,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77246738-68858665 passed 2026-08-15 18:57:23,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 18:57:23,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77246738-68858665, IP 123.92.99.67, Port 22 2026-08-15 18:57:23,224 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-15 18:57:23,304 - DEBUG - VM ctest-TestBasicPolicy-77246738-68858665 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-15 18:57:28,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 18:57:28,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77246738-68858665, IP 123.92.99.67, Port 22 2026-08-15 18:57:28,472 - DEBUG - VM ctest-TestBasicPolicy-77246738-68858665 is ready for SSH connections 2026-08-15 18:57:28,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 18:57:28,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.92.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-15 18:57:28,473 - DEBUG - ping -s 56 -c 3 -W 1 123.92.99.67 2026-08-15 18:57:32,519 - DEBUG - PING 123.92.99.67 (123.92.99.67): 56 data bytes 64 bytes from 123.92.99.67: seq=0 ttl=63 time=4.549 ms 64 bytes from 123.92.99.67: seq=1 ttl=63 time=1.244 ms 64 bytes from 123.92.99.67: seq=2 ttl=63 time=1.274 ms --- 123.92.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.244/2.355/4.549 ms 2026-08-15 18:57:32,519 - INFO - Ping to IP 123.92.99.67 from VM ctest-TestBasicPolicy-77246738-44784060 passed 2026-08-15 18:57:32,702 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e77a50be-34ee-4c12-960d-8e55dcccab0c", "href": "http://10.0.0.38:8082/network-policy/e77a50be-34ee-4c12-960d-8e55dcccab0c"}} 2026-08-15 18:57:32,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 18:57:32,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.92.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-15 18:57:32,703 - DEBUG - ping -s 56 -c 3 -W 1 123.92.99.67 2026-08-15 18:57:35,838 - DEBUG - PING 123.92.99.67 (123.92.99.67): 56 data bytes 64 bytes from 123.92.99.67: seq=0 ttl=63 time=1.779 ms --- 123.92.99.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.779/1.779/1.779 ms 2026-08-15 18:57:35,838 - WARNING - Ping to IP 123.92.99.67 from VM ctest-TestBasicPolicy-77246738-44784060 failed 2026-08-15 18:57:35,839 - INFO - Deleting VM ctest-TestBasicPolicy-77246738-68858665 2026-08-15 18:57:35,922 - INFO - Deleting VM ctest-TestBasicPolicy-77246738-44784060 2026-08-15 18:57:36,330 - INFO - Deleted policy ctest-policy-allow-all-39463516 2026-08-15 18:57:36,330 - INFO - Deleting VN ctest-vn-08349409 2026-08-15 18:57:36,367 - DEBUG - VN 33160a0f-329e-4986-aa5b-c7aa78478ae7 still in use: Unable to complete operation on network 33160a0f-329e-4986-aa5b-c7aa78478ae7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc3967de-dd6e-4f4f-b635-5bdd96755f9a'] 2026-08-15 18:57:36,368 - WARNING - Deleting VN ctest-vn-08349409 failed..Will retry 2026-08-15 18:57:38,482 - DEBUG - Response for deleting network () 2026-08-15 18:57:38,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dccd0cbb-91ca-4f95-b6dd-6f135f05e7aa 2026-08-15 18:57:38,492 - DEBUG - Response Code: 404 2026-08-15 18:57:38,492 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:57:38,498 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:57:38,554 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:57:38,631 - INFO - Validated that VN ctest-vn-08349409 is not found in API Server 2026-08-15 18:57:38,644 - DEBUG - VN ctest-vn-08349409 is not present in Agent 10.0.0.38 2026-08-15 18:57:38,644 - INFO - Validated that VN ctest-vn-08349409 is not in any agent 2026-08-15 18:57:38,662 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08349409 info 2026-08-15 18:57:38,662 - INFO - Deleting VN ctest-vn-06723269 2026-08-15 18:57:38,772 - DEBUG - Response for deleting network () 2026-08-15 18:57:38,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7157e18e-59b4-4b14-8502-3920ec1a4d55 2026-08-15 18:57:38,777 - DEBUG - Response Code: 404 2026-08-15 18:57:38,778 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-15 18:57:38,791 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fa38431f-7b93-4bdd-9e30-dca925d43c77 2026-08-15 18:57:38,844 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3bae270-92c1-4242-a381-3ee36eaed9a8 2026-08-15 18:57:38,924 - INFO - Validated that VN ctest-vn-06723269 is not found in API Server 2026-08-15 18:57:38,936 - DEBUG - VN ctest-vn-06723269 is not present in Agent 10.0.0.38 2026-08-15 18:57:38,936 - INFO - Validated that VN ctest-vn-06723269 is not in any agent 2026-08-15 18:57:38,956 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06723269 info 2026-08-15 18:57:39,227 - DEBUG - No XMPP flaps were noticed during the test 2026-08-15 18:57:39,227 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-08-15 18:57:39,227 - INFO - -------------------------------------------------------------------------------- 2026-08-15 18:57:40,032 - INFO - Deleted project: ctest-TestBasicPolicy-77246738, ID : b3bae270-92c1-4242-a381-3ee36eaed9a8