2025-07-17 02:28:28,842 - INFO - Domain Default found not creating 2025-07-17 02:28:29,011 - INFO - Project ctest-TestBasicPolicy-56103874 not found, creating it 2025-07-17 02:28:29,512 - INFO - Created Project:ctest-TestBasicPolicy-56103874, ID : 5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:28:31,276 - INFO - ================================================================================ 2025-07-17 02:28:31,277 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 02:28:31,277 - 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-07-17 02:28:31,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-07-17 02:28:31,534 - INFO - Initial checks done. Running the testcase now 2025-07-17 02:28:31,534 - INFO - 2025-07-17 02:28:32,166 - DEBUG - Response for create_network : {'network': {'id': 'a63322d9-93c3-460c-aa60-86e2c104636c', 'name': 'ctest-vn-61808611', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'project_id': '5bbffa4f99ca47e195263fed81928bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-vn-61808611'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:28:32,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a36825-5d97-45ba-8d34-bdf532b0c848', 'name': '', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'network_id': 'a63322d9-93c3-460c-aa60-86e2c104636c', 'ip_version': 4, 'cidr': '141.46.125.192/26', 'allocation_pools': [{'start': '141.46.125.194', 'end': '141.46.125.254'}], 'gateway_ip': '141.46.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.46.125.194', 'tags': [], 'project_id': '5bbffa4f99ca47e195263fed81928bc4'}} 2025-07-17 02:28:32,426 - INFO - Created VN ctest-vn-61808611 2025-07-17 02:28:32,483 - DEBUG - VN ctest-vn-61808611 UUID is a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:32,811 - DEBUG - Response for create_network : {'network': {'id': '0f0a1553-27de-451d-8f2a-eb2a035a4f03', 'name': 'ctest-vn-60178779', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'project_id': '5bbffa4f99ca47e195263fed81928bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-vn-60178779'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:28:32,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab97e2a3-40ed-4f49-9f3a-2968c96247b9', 'name': '', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'network_id': '0f0a1553-27de-451d-8f2a-eb2a035a4f03', 'ip_version': 4, 'cidr': '14.217.60.0/26', 'allocation_pools': [{'start': '14.217.60.2', 'end': '14.217.60.62'}], 'gateway_ip': '14.217.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.217.60.2', 'tags': [], 'project_id': '5bbffa4f99ca47e195263fed81928bc4'}} 2025-07-17 02:28:33,012 - INFO - Created VN ctest-vn-60178779 2025-07-17 02:28:33,067 - DEBUG - VN ctest-vn-60178779 UUID is 0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:33,190 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611, 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-56103874:ctest-vn-60178779, 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-07-17 02:28:33,522 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a63322d9-93c3-460c-aa60-86e2c104636c', 'name': 'ctest-vn-61808611', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'project_id': '5bbffa4f99ca47e195263fed81928bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8a36825-5d97-45ba-8d34-bdf532b0c848'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-vn-61808611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-policy-allow-all-13472631']], 'subnet_ipam': [{'subnet_cidr': '141.46.125.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:28:33,768 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f0a1553-27de-451d-8f2a-eb2a035a4f03', 'name': 'ctest-vn-60178779', 'tenant_id': '5bbffa4f99ca47e195263fed81928bc4', 'project_id': '5bbffa4f99ca47e195263fed81928bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab97e2a3-40ed-4f49-9f3a-2968c96247b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-vn-60178779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-policy-allow-all-13472631']], 'subnet_ipam': [{'subnet_cidr': '14.217.60.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:28:33,946 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:28:34,287 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:28:34,318 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:28:34,334 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:28:34,409 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,426 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,438 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:28:34,446 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:28:34,454 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fea9de67-38fd-4e8c-ae71-8f5dcc628c6e 2025-07-17 02:28:34,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:28:34,462 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,475 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:28:34,491 - INFO - Verified VN network id 9 for VN a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,491 - INFO - Verifications in API Server for VN ctest-vn-61808611 passed 2025-07-17 02:28:34,491 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,503 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:28:34,512 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:28:34,520 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fea9de67-38fd-4e8c-ae71-8f5dcc628c6e 2025-07-17 02:28:34,534 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56103874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11975954151990576652', 'uuid-lslong': '12276960892670993260'}, 'enable': 'true', 'created': '2025-07-17T02:28:32', 'last-modified': '2025-07-17T02:28:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.051497'} 2025-07-17 02:28:34,541 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:28:34,541 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61808611 passed 2025-07-17 02:28:34,542 - DEBUG - ====Verifying policy data for ctest-vn-61808611 in API_Server ====== 2025-07-17 02:28:34,542 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:28:34,548 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:28:34,561 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:28:34,643 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a63322d9-93c3-460c-aa60-86e2c104636c 2025-07-17 02:28:34,655 - DEBUG - ==>Verifying data for policy with id: 5b9e93db-bcbf-4af4-9062-6c40d1314d0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-policy-allow-all-13472631'] 2025-07-17 02:28:34,655 - INFO - VN ctest-vn-61808611 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:28:34,655 - DEBUG - Verifying the vn in opserver 2025-07-17 02:28:34,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611 virtual network link through opserver 10.0.0.242 2025-07-17 02:28:34,655 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-17 02:28:34,993 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-17 02:28:35,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611?flat'} 2025-07-17 02:28:35,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611 is found in opserver 2025-07-17 02:28:35,074 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:28:35,080 - DEBUG - VRF ids for VN ctest-vn-61808611: {} 2025-07-17 02:28:35,080 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:28:35,088 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:28:35,103 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:28:35,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,201 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,213 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:28:35,223 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:28:35,232 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ceb2b824-7c9d-4e36-970b-8e0c2466da3c 2025-07-17 02:28:35,241 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:28:35,241 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,254 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:28:35,275 - INFO - Verified VN network id 10 for VN 0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,275 - INFO - Verifications in API Server for VN ctest-vn-60178779 passed 2025-07-17 02:28:35,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,288 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:28:35,297 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:28:35,307 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ceb2b824-7c9d-4e36-970b-8e0c2466da3c 2025-07-17 02:28:35,322 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-60178779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56103874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1083702107231372573', 'uuid-lslong': '10316316462122946307'}, 'enable': 'true', 'created': '2025-07-17T02:28:32', 'last-modified': '2025-07-17T02:28:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.578709'} 2025-07-17 02:28:35,330 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:28:35,330 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60178779 passed 2025-07-17 02:28:35,330 - DEBUG - ====Verifying policy data for ctest-vn-60178779 in API_Server ====== 2025-07-17 02:28:35,330 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:28:35,337 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:28:35,359 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:28:35,435 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0f0a1553-27de-451d-8f2a-eb2a035a4f03 2025-07-17 02:28:35,449 - DEBUG - ==>Verifying data for policy with id: 5b9e93db-bcbf-4af4-9062-6c40d1314d0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56103874', 'ctest-policy-allow-all-13472631'] 2025-07-17 02:28:35,449 - INFO - VN ctest-vn-60178779 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:28:35,449 - DEBUG - Verifying the vn in opserver 2025-07-17 02:28:35,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-60178779 virtual network link through opserver 10.0.0.242 2025-07-17 02:28:35,450 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-17 02:28:35,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-60178779', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-60178779?flat'} 2025-07-17 02:28:35,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-60178779 is found in opserver 2025-07-17 02:28:35,479 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:28:35,487 - DEBUG - VRF ids for VN ctest-vn-60178779: {} 2025-07-17 02:28:35,555 - DEBUG - Services list from nova: [, , ] 2025-07-17 02:28:36,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3648-1) 2025-07-17 02:28:38,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3648-1) 2025-07-17 02:28:38,104 - INFO - Waiting for VM ctest-TestBasicPolicy-56103874-87671532 to be up.. 2025-07-17 02:28:38,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 02:28:43,274 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:28:43,274 - INFO - VM name : ctest-TestBasicPolicy-56103874-87671532 2025-07-17 02:28:43,359 - DEBUG - VM ctest-TestBasicPolicy-56103874-87671532 ID is 79241bb3-cbb4-434d-a161-be766147f4d5 2025-07-17 02:28:43,379 - DEBUG - VM ctest-TestBasicPolicy-56103874-87671532 launched on Node cn-jenkins-deploy-platform-ansible-os-3648-1 2025-07-17 02:28:43,477 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/79241bb3-cbb4-434d-a161-be766147f4d5 2025-07-17 02:28:43,487 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fb5c04e4-579b-426a-b2b8-d2a39f391137 2025-07-17 02:28:46,765 - 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 1026ms') 2025-07-17 02:28:46,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56103874-87671532 failed! 2025-07-17 02:28:46,827 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56103874:ctest-vn-61808611 is 141.46.125.193 and allocation pool is NOT set 2025-07-17 02:28:48,891 - 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=7.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.486/4.415/7.345/2.929 ms') 2025-07-17 02:28:48,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56103874-87671532 passed 2025-07-17 02:28:49,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:28:49,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56103874-87671532, IP 141.46.125.195, Port 22 2025-07-17 02:28:49,112 - 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-07-17 02:28:49,197 - DEBUG - VM ctest-TestBasicPolicy-56103874-87671532 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-17 02:28:54,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:28:54,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56103874-87671532, IP 141.46.125.195, Port 22 2025-07-17 02:28:54,364 - DEBUG - VM ctest-TestBasicPolicy-56103874-87671532 is ready for SSH connections 2025-07-17 02:28:54,365 - INFO - Waiting for VM ctest-TestBasicPolicy-56103874-36445472 to be up.. 2025-07-17 02:28:54,463 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:28:54,463 - INFO - VM name : ctest-TestBasicPolicy-56103874-36445472 2025-07-17 02:28:54,550 - DEBUG - VM ctest-TestBasicPolicy-56103874-36445472 ID is 1a0b36a3-f751-4e43-8c7b-7b3f5afed770 2025-07-17 02:28:54,551 - DEBUG - VM ctest-TestBasicPolicy-56103874-36445472 launched on Node cn-jenkins-deploy-platform-ansible-os-3648-1 2025-07-17 02:28:54,634 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1a0b36a3-f751-4e43-8c7b-7b3f5afed770 2025-07-17 02:28:54,645 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fe620226-4847-45cd-85c7-506a758fe89d 2025-07-17 02:28:55,915 - 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=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/2.367/4.304/1.936 ms') 2025-07-17 02:28:55,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56103874-36445472 passed 2025-07-17 02:28:56,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:28:56,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56103874-36445472, IP 14.217.60.3, Port 22 2025-07-17 02:28:56,231 - DEBUG - VM ctest-TestBasicPolicy-56103874-36445472 is ready for SSH connections 2025-07-17 02:28:56,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:28:56,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.217.60.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-17 02:28:56,231 - DEBUG - ping -s 56 -c 3 -W 1 14.217.60.3 2025-07-17 02:29:00,001 - DEBUG - PING 14.217.60.3 (14.217.60.3): 56 data bytes 64 bytes from 14.217.60.3: seq=0 ttl=63 time=4.096 ms 64 bytes from 14.217.60.3: seq=1 ttl=63 time=1.090 ms 64 bytes from 14.217.60.3: seq=2 ttl=63 time=1.075 ms --- 14.217.60.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/2.087/4.096 ms 2025-07-17 02:29:00,001 - INFO - Ping to IP 14.217.60.3 from VM ctest-TestBasicPolicy-56103874-87671532 passed 2025-07-17 02:29:00,190 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b9e93db-bcbf-4af4-9062-6c40d1314d0e", "href": "http://10.0.0.242:8082/network-policy/5b9e93db-bcbf-4af4-9062-6c40d1314d0e"}} 2025-07-17 02:29:00,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:29:00,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.217.60.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-17 02:29:00,191 - DEBUG - ping -s 56 -c 3 -W 1 14.217.60.3 2025-07-17 02:29:03,434 - DEBUG - PING 14.217.60.3 (14.217.60.3): 56 data bytes 64 bytes from 14.217.60.3: seq=0 ttl=63 time=1.940 ms --- 14.217.60.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.940/1.940/1.940 ms 2025-07-17 02:29:03,434 - WARNING - Ping to IP 14.217.60.3 from VM ctest-TestBasicPolicy-56103874-87671532 failed 2025-07-17 02:29:03,435 - INFO - Deleting VM ctest-TestBasicPolicy-56103874-36445472 2025-07-17 02:29:03,509 - INFO - Deleting VM ctest-TestBasicPolicy-56103874-87671532 2025-07-17 02:29:03,971 - INFO - Deleted policy ctest-policy-allow-all-13472631 2025-07-17 02:29:03,971 - INFO - Deleting VN ctest-vn-60178779 2025-07-17 02:29:04,016 - DEBUG - VN 0f0a1553-27de-451d-8f2a-eb2a035a4f03 still in use: Unable to complete operation on network 0f0a1553-27de-451d-8f2a-eb2a035a4f03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24a6d9c6-6ef9-47f9-96db-70dc57ba9125'] 2025-07-17 02:29:04,016 - WARNING - Deleting VN ctest-vn-60178779 failed..Will retry 2025-07-17 02:29:06,144 - DEBUG - Response for deleting network () 2025-07-17 02:29:06,145 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5deeaeb0-50d2-4445-82b5-45b76e644dca 2025-07-17 02:29:06,154 - DEBUG - Response Code: 404 2025-07-17 02:29:06,155 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:29:06,163 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:29:06,223 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:29:06,304 - INFO - Validated that VN ctest-vn-60178779 is not found in API Server 2025-07-17 02:29:06,317 - DEBUG - VN ctest-vn-60178779 is not present in Agent 10.0.0.242 2025-07-17 02:29:06,317 - INFO - Validated that VN ctest-vn-60178779 is not in any agent 2025-07-17 02:29:06,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60178779 info 2025-07-17 02:29:06,336 - INFO - Deleting VN ctest-vn-61808611 2025-07-17 02:29:06,463 - DEBUG - Response for deleting network () 2025-07-17 02:29:06,464 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/35927dc9-8053-42e3-888f-a7d05d75b93c 2025-07-17 02:29:06,475 - DEBUG - Response Code: 404 2025-07-17 02:29:06,476 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-17 02:29:06,483 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fcda0849-3f4d-43fd-87d6-3619b1739bfa 2025-07-17 02:29:06,541 - DEBUG - Requesting: http://10.0.0.242:8082/project/5bbffa4f-99ca-47e1-9526-3fed81928bc4 2025-07-17 02:29:06,620 - INFO - Validated that VN ctest-vn-61808611 is not found in API Server 2025-07-17 02:29:06,634 - DEBUG - VN ctest-vn-61808611 is not present in Agent 10.0.0.242 2025-07-17 02:29:06,634 - INFO - Validated that VN ctest-vn-61808611 is not in any agent 2025-07-17 02:29:06,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61808611 info 2025-07-17 02:29:06,909 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 02:29:06,909 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-17 02:29:06,909 - INFO - -------------------------------------------------------------------------------- 2025-07-17 02:29:07,698 - INFO - Deleted project: ctest-TestBasicPolicy-56103874, ID : 5bbffa4f-99ca-47e1-9526-3fed81928bc4