2025-04-24 20:18:43,888 - INFO - Domain Default found not creating
2025-04-24 20:18:44,004 - INFO - Project ctest-TestBasicPolicy-39723700 not found, creating it
2025-04-24 20:18:44,510 - INFO - Created Project:ctest-TestBasicPolicy-39723700, ID : 630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9 
2025-04-24 20:18:45,847 - INFO - ================================================================================
2025-04-24 20:18:45,847 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-04-24 20:18:45,847 - INFO - TEST DESCRIPTION : 
        Create 2 Vns and allow icmp traffic between them and validate with pings
        Update the policy to deny the same traffic
        Check that pings fail
        
2025-04-24 20:18:46,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-24 20:18:46,099 - INFO - Initial checks done. Running the testcase now
2025-04-24 20:18:46,099 - INFO - 
2025-04-24 20:18:46,618 - DEBUG - Response for create_network : {'network': {'id': 'af3c1b41-a398-439e-aebe-51ee4ee1bdf8', 'name': 'ctest-vn-32751760', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-vn-32751760'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 20:18:46,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '6177a43b-0ee4-45f1-aaa9-53b07963415e', 'name': '', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'network_id': 'af3c1b41-a398-439e-aebe-51ee4ee1bdf8', 'ip_version': 4, 'cidr': '155.116.155.64/26', 'allocation_pools': [{'start': '155.116.155.66', 'end': '155.116.155.126'}], 'gateway_ip': '155.116.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.116.155.66', 'tags': [], 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9'}}
2025-04-24 20:18:46,794 - INFO - Created VN ctest-vn-32751760
2025-04-24 20:18:46,850 - DEBUG - VN ctest-vn-32751760 UUID is af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:47,434 - DEBUG - Response for create_network : {'network': {'id': '8aff20ea-2bbf-45ba-bfec-8a7adfa6465d', 'name': 'ctest-vn-37678242', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-vn-37678242'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 20:18:47,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '0274c9a4-c800-4f6e-aeeb-2eb4ec6ba145', 'name': '', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'network_id': '8aff20ea-2bbf-45ba-bfec-8a7adfa6465d', 'ip_version': 4, 'cidr': '174.166.85.0/26', 'allocation_pools': [{'start': '174.166.85.2', 'end': '174.166.85.62'}], 'gateway_ip': '174.166.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.166.85.2', 'tags': [], 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9'}}
2025-04-24 20:18:47,837 - INFO - Created VN ctest-vn-37678242
2025-04-24 20:18:47,890 - DEBUG - VN ctest-vn-37678242 UUID is 8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:48,046 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760, 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-39723700:ctest-vn-37678242, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2025-04-24 20:18:48,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af3c1b41-a398-439e-aebe-51ee4ee1bdf8', 'name': 'ctest-vn-32751760', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6177a43b-0ee4-45f1-aaa9-53b07963415e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-vn-32751760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-policy-allow-all-00976486']], 'subnet_ipam': [{'subnet_cidr': '155.116.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-04-24 20:18:48,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8aff20ea-2bbf-45ba-bfec-8a7adfa6465d', 'name': 'ctest-vn-37678242', 'tenant_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'project_id': '630ec0b33b2e4229a4f90c1f2b8e85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0274c9a4-c800-4f6e-aeeb-2eb4ec6ba145'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-vn-37678242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-policy-allow-all-00976486']], 'subnet_ipam': [{'subnet_cidr': '174.166.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-04-24 20:18:48,702 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:18:48,992 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:18:49,016 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:18:49,028 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:18:49,099 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,120 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:18:49,126 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:18:49,132 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/77d5af84-9f64-473a-a4fb-1f9d70b3935c
2025-04-24 20:18:49,138 - DEBUG - Route Targets: ['target:64512:8000005']
2025-04-24 20:18:49,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,146 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:18:49,160 - INFO - Verified VN network id 9 for VN af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,160 - INFO - Verifications in API Server for VN ctest-vn-32751760 passed
2025-04-24 20:18:49,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,173 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:18:49,181 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:18:49,189 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/77d5af84-9f64-473a-a4fb-1f9d70b3935c
2025-04-24 20:18:49,203 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39723700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12626997423971517342', 'uuid-lslong': '12591591692141968888'}, 'enable': 'true', 'created': '2025-04-24T20:18:46', 'last-modified': '2025-04-24T20:18:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893292'}
2025-04-24 20:18:49,211 - DEBUG - Route Targets: ['target:64512:8000005']
2025-04-24 20:18:49,211 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32751760 passed
2025-04-24 20:18:49,211 - DEBUG - ====Verifying policy data for ctest-vn-32751760 in API_Server ======
2025-04-24 20:18:49,212 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:18:49,217 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:18:49,230 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:18:49,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/af3c1b41-a398-439e-aebe-51ee4ee1bdf8
2025-04-24 20:18:49,314 - DEBUG - ==>Verifying data for policy with id: 202400c0-1449-4e5a-a278-553cb6a7ed5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-policy-allow-all-00976486']
2025-04-24 20:18:49,314 - INFO - VN ctest-vn-32751760 Policy verification: verify_vn_policy_in_api_server, status: True
2025-04-24 20:18:49,314 - DEBUG - Verifying the vn in opserver
2025-04-24 20:18:49,314 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760 virtual network link  through opserver 10.0.0.254
2025-04-24 20:18:49,314 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-04-24 20:18:49,600 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-04-24 20:18:49,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760?flat'}
2025-04-24 20:18:49,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760 is found in opserver
2025-04-24 20:18:49,657 - DEBUG - Do not have enough data to verify VN in agent
2025-04-24 20:18:49,662 - DEBUG - VRF ids for VN ctest-vn-32751760: {}
2025-04-24 20:18:49,662 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:18:49,667 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:18:49,678 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:18:49,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,771 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:18:49,778 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:18:49,784 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fb39e850-8ba1-44fe-ac54-d55892f2a4bc
2025-04-24 20:18:49,789 - DEBUG - Route Targets: ['target:64512:8000006']
2025-04-24 20:18:49,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,797 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:18:49,809 - INFO - Verified VN network id 10 for VN 8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,809 - INFO - Verifications in API Server for VN ctest-vn-37678242 passed
2025-04-24 20:18:49,809 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,817 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:18:49,823 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:18:49,828 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fb39e850-8ba1-44fe-ac54-d55892f2a4bc
2025-04-24 20:18:49,839 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-37678242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39723700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10015760286423664058', 'uuid-lslong': '13829580816090809949'}, 'enable': 'true', 'created': '2025-04-24T20:18:47', 'last-modified': '2025-04-24T20:18:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308133'}
2025-04-24 20:18:49,844 - DEBUG - Route Targets: ['target:64512:8000006']
2025-04-24 20:18:49,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37678242 passed
2025-04-24 20:18:49,844 - DEBUG - ====Verifying policy data for ctest-vn-37678242 in API_Server ======
2025-04-24 20:18:49,845 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:18:49,849 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:18:49,859 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:18:49,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8aff20ea-2bbf-45ba-bfec-8a7adfa6465d
2025-04-24 20:18:49,942 - DEBUG - ==>Verifying data for policy with id: 202400c0-1449-4e5a-a278-553cb6a7ed5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-39723700', 'ctest-policy-allow-all-00976486']
2025-04-24 20:18:49,942 - INFO - VN ctest-vn-37678242 Policy verification: verify_vn_policy_in_api_server, status: True
2025-04-24 20:18:49,942 - DEBUG - Verifying the vn in opserver
2025-04-24 20:18:49,942 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-37678242 virtual network link  through opserver 10.0.0.254
2025-04-24 20:18:49,942 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-04-24 20:18:49,952 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-37678242', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-37678242?flat'}
2025-04-24 20:18:49,952 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-37678242 is found in opserver
2025-04-24 20:18:49,965 - DEBUG - Do not have enough data to verify VN in agent
2025-04-24 20:18:49,970 - DEBUG - VRF ids for VN ctest-vn-37678242: {}
2025-04-24 20:18:50,018 - DEBUG - Services list from nova: [<Service: 1>, <Service: 1>, <Service: 2>]
2025-04-24 20:18:50,954 - INFO - VM ([<Server: ctest-TestBasicPolicy-39723700-51620612>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1)
2025-04-24 20:18:52,325 - INFO - VM ([<Server: ctest-TestBasicPolicy-39723700-01062079>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1)
2025-04-24 20:18:52,325 - INFO - Waiting for VM ctest-TestBasicPolicy-39723700-51620612 to be up..
2025-04-24 20:18:52,405 - DEBUG - VM <Server: ctest-TestBasicPolicy-39723700-51620612> is still in BUILD state, Expected: ACTIVE
2025-04-24 20:18:57,487 - DEBUG - VM <Server: ctest-TestBasicPolicy-39723700-51620612> is in ACTIVE state now
2025-04-24 20:18:57,487 - INFO - VM name : ctest-TestBasicPolicy-39723700-51620612
2025-04-24 20:18:57,575 - DEBUG - VM ctest-TestBasicPolicy-39723700-51620612 ID is 586e6d66-e860-4748-86ca-3a35bf746d18
2025-04-24 20:18:57,596 - DEBUG - VM ctest-TestBasicPolicy-39723700-51620612 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1
2025-04-24 20:18:57,687 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/586e6d66-e860-4748-86ca-3a35bf746d18
2025-04-24 20:18:57,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4ba7e99-b202-40d4-85d3-ad9ec7451678
2025-04-24 20:19:00,974 - 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 1024ms')
2025-04-24 20:19:00,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39723700-51620612 failed!
2025-04-24 20:19:01,026 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39723700:ctest-vn-32751760 is 155.116.155.65 and allocation pool is NOT set
2025-04-24 20:19:03,088 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.308 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.308/1.448/2.588/1.140 ms')
2025-04-24 20:19:03,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39723700-51620612 passed
2025-04-24 20:19:03,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 20:19:03,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39723700-51620612, IP 155.116.155.67, Port 22
2025-04-24 20:19:03,397 - DEBUG - VM ctest-TestBasicPolicy-39723700-51620612 is ready for SSH connections
2025-04-24 20:19:03,397 - INFO - Waiting for VM ctest-TestBasicPolicy-39723700-01062079 to be up..
2025-04-24 20:19:03,464 - DEBUG - VM <Server: ctest-TestBasicPolicy-39723700-01062079> is in ACTIVE state now
2025-04-24 20:19:03,464 - INFO - VM name : ctest-TestBasicPolicy-39723700-01062079
2025-04-24 20:19:03,526 - DEBUG - VM ctest-TestBasicPolicy-39723700-01062079 ID is 15e4a91a-7cb3-48d2-b577-63d129f86ac4
2025-04-24 20:19:03,526 - DEBUG - VM ctest-TestBasicPolicy-39723700-01062079 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1
2025-04-24 20:19:03,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/15e4a91a-7cb3-48d2-b577-63d129f86ac4
2025-04-24 20:19:03,598 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1f21f2fe-50fd-4e1d-a7ad-86355714d270
2025-04-24 20:19:04,821 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.478/2.566/1.087 ms')
2025-04-24 20:19:04,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39723700-01062079 passed
2025-04-24 20:19:04,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 20:19:04,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39723700-01062079, IP 174.166.85.3, Port 22
2025-04-24 20:19:05,126 - DEBUG - VM ctest-TestBasicPolicy-39723700-01062079 is ready for SSH connections
2025-04-24 20:19:05,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 20:19:05,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  174.166.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 20:19:05,126 - DEBUG - ping -s 56 -c 3 -W 1  174.166.85.3
2025-04-24 20:19:09,045 - DEBUG - PING 174.166.85.3 (174.166.85.3): 56 data bytes
64 bytes from 174.166.85.3: seq=0 ttl=63 time=2.997 ms
64 bytes from 174.166.85.3: seq=1 ttl=63 time=0.731 ms
64 bytes from 174.166.85.3: seq=2 ttl=63 time=0.726 ms

--- 174.166.85.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.726/1.484/2.997 ms
2025-04-24 20:19:09,045 - INFO - Ping to IP 174.166.85.3 from VM ctest-TestBasicPolicy-39723700-51620612 passed
2025-04-24 20:19:09,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "202400c0-1449-4e5a-a278-553cb6a7ed5e", "href": "http://10.0.0.254:8082/network-policy/202400c0-1449-4e5a-a278-553cb6a7ed5e"}}
2025-04-24 20:19:09,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 20:19:09,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  174.166.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 20:19:09,214 - DEBUG - ping -s 56 -c 3 -W 1  174.166.85.3
2025-04-24 20:19:12,408 - DEBUG - PING 174.166.85.3 (174.166.85.3): 56 data bytes

--- 174.166.85.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-04-24 20:19:12,409 - WARNING - Ping to IP 174.166.85.3 from VM ctest-TestBasicPolicy-39723700-51620612 failed
2025-04-24 20:19:12,409 - INFO - Deleting VM ctest-TestBasicPolicy-39723700-01062079
2025-04-24 20:19:12,465 - INFO - Deleting VM ctest-TestBasicPolicy-39723700-51620612
2025-04-24 20:19:12,803 - INFO - Deleted policy ctest-policy-allow-all-00976486
2025-04-24 20:19:12,803 - INFO - Deleting VN ctest-vn-37678242 
2025-04-24 20:19:12,835 - DEBUG - VN 8aff20ea-2bbf-45ba-bfec-8a7adfa6465d still in use: Unable to complete operation on network 8aff20ea-2bbf-45ba-bfec-8a7adfa6465d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-58ad2009-401b-457e-bbb9-f2c2d786334b']
2025-04-24 20:19:12,835 - WARNING - Deleting VN ctest-vn-37678242 failed..Will retry
2025-04-24 20:19:14,933 - DEBUG - Response for deleting network ()
2025-04-24 20:19:14,933 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf3fe54-f435-4a01-946c-da14538ce76b
2025-04-24 20:19:14,938 - DEBUG - Response Code: 404
2025-04-24 20:19:14,939 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:19:14,944 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:19:14,998 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:19:15,071 - INFO - Validated that VN ctest-vn-37678242 is not found in API Server
2025-04-24 20:19:15,081 - DEBUG - VN ctest-vn-37678242 is not present in Agent 10.0.0.254 
2025-04-24 20:19:15,081 - INFO - Validated that VN ctest-vn-37678242 is not in any agent
2025-04-24 20:19:15,095 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37678242 info
2025-04-24 20:19:15,095 - INFO - Deleting VN ctest-vn-32751760 
2025-04-24 20:19:15,191 - DEBUG - Response for deleting network ()
2025-04-24 20:19:15,191 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d9c530b1-18ba-4fb0-8de3-52358a5c8a00
2025-04-24 20:19:15,196 - DEBUG - Response Code: 404
2025-04-24 20:19:15,196 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 20:19:15,201 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a6ff38ab-ea39-4be4-9fd2-f7a3f8c1ba7f
2025-04-24 20:19:15,255 - DEBUG - Requesting: http://10.0.0.254:8082/project/630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9
2025-04-24 20:19:15,320 - INFO - Validated that VN ctest-vn-32751760 is not found in API Server
2025-04-24 20:19:15,331 - DEBUG - VN ctest-vn-32751760 is not present in Agent 10.0.0.254 
2025-04-24 20:19:15,331 - INFO - Validated that VN ctest-vn-32751760 is not in any agent
2025-04-24 20:19:15,346 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32751760 info
2025-04-24 20:19:15,594 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 20:19:15,595 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-24 20:19:15,595 - INFO - --------------------------------------------------------------------------------
2025-04-24 20:19:16,244 - INFO - Deleted project: ctest-TestBasicPolicy-39723700, ID : 630ec0b3-3b2e-4229-a4f9-0c1f2b8e85d9