2025-09-11 15:38:47,923 - INFO - Domain Default found not creating
2025-09-11 15:38:48,077 - INFO - Project ctest-TestRP-05248195 not found, creating it
2025-09-11 15:38:48,520 - INFO - Created Project:ctest-TestRP-05248195, ID : c6380cfe-f5c4-4531-9354-b3044c3cff88
2025-09-11 15:38:49,995 - DEBUG - Services list from nova: [, , ]
2025-09-11 15:38:49,995 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4094-1']}
2025-09-11 15:38:49,998 - INFO - ================================================================================
2025-09-11 15:38:49,998 - INFO - STARTING TEST : test_rp_interface
2025-09-11 15:38:49,998 - INFO - TEST DESCRIPTION :
1. Create a routing policy with interface match.
2. Launch VMs.
3. Attach policy to VN and confirm if policy takes hold.
2025-09-11 15:38:50,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-11 15:38:50,252 - INFO - Initial checks done. Running the testcase now
2025-09-11 15:38:50,252 - INFO -
2025-09-11 15:38:50,840 - DEBUG - Response for create_network : {'network': {'id': 'e0697421-09fb-4b69-93d1-fa9d3d5f9e8e', 'name': 'ctest-bgpaas_vn-50613001', 'tenant_id': 'c6380cfef5c445319354b3044c3cff88', 'project_id': 'c6380cfef5c445319354b3044c3cff88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-05248195', 'ctest-bgpaas_vn-50613001'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 15:38:51,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '60db824a-afe9-405b-9bad-7053866ae3db', 'name': '', 'tenant_id': 'c6380cfef5c445319354b3044c3cff88', 'network_id': 'e0697421-09fb-4b69-93d1-fa9d3d5f9e8e', 'ip_version': 4, 'cidr': '171.50.235.64/26', 'allocation_pools': [{'start': '171.50.235.66', 'end': '171.50.235.126'}], 'gateway_ip': '171.50.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.50.235.66', 'tags': [], 'project_id': 'c6380cfef5c445319354b3044c3cff88'}}
2025-09-11 15:38:51,037 - INFO - Created VN ctest-bgpaas_vn-50613001
2025-09-11 15:38:51,090 - DEBUG - VN ctest-bgpaas_vn-50613001 UUID is e0697421-09fb-4b69-93d1-fa9d3d5f9e8e
2025-09-11 15:38:51,549 - DEBUG - Response for create_network : {'network': {'id': '4c1322c3-0966-4ef0-8022-24e612377c5e', 'name': 'ctest-bgpaas_vn-17229166', 'tenant_id': 'c6380cfef5c445319354b3044c3cff88', 'project_id': 'c6380cfef5c445319354b3044c3cff88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-05248195', 'ctest-bgpaas_vn-17229166'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 15:38:51,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b8439e6-3d12-4e4e-814a-2d33010ea2f6', 'name': '', 'tenant_id': 'c6380cfef5c445319354b3044c3cff88', 'network_id': '4c1322c3-0966-4ef0-8022-24e612377c5e', 'ip_version': 4, 'cidr': '165.125.155.64/26', 'allocation_pools': [{'start': '165.125.155.66', 'end': '165.125.155.126'}], 'gateway_ip': '165.125.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.125.155.66', 'tags': [], 'project_id': 'c6380cfef5c445319354b3044c3cff88'}}
2025-09-11 15:38:51,777 - INFO - Created VN ctest-bgpaas_vn-17229166
2025-09-11 15:38:51,830 - DEBUG - VN ctest-bgpaas_vn-17229166 UUID is 4c1322c3-0966-4ef0-8022-24e612377c5e
2025-09-11 15:38:53,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1)
2025-09-11 15:38:54,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1)
2025-09-11 15:38:54,363 - INFO - Waiting for VM test_vm to be up..
2025-09-11 15:38:54,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 15:38:59,520 - DEBUG - VM is in ACTIVE state now
2025-09-11 15:38:59,520 - INFO - VM name : test_vm
2025-09-11 15:38:59,608 - DEBUG - VM test_vm ID is 511e26c1-5f1c-4038-9745-a538fab15433
2025-09-11 15:38:59,627 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1
2025-09-11 15:38:59,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/511e26c1-5f1c-4038-9745-a538fab15433
2025-09-11 15:39:00,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/511e26c1-5f1c-4038-9745-a538fab15433
2025-09-11 15:39:00,041 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7a34f5c2-2fa3-44fd-a926-fc2d18acf4db
2025-09-11 15:39:03,296 - 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-09-11 15:39:03,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-09-11 15:39:03,354 - DEBUG - Gateway for vn default-domain:ctest-TestRP-05248195:ctest-bgpaas_vn-50613001 is 171.50.235.65 and allocation pool is NOT set
2025-09-11 15:39:05,423 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.086/3.195/5.304/2.109 ms')
2025-09-11 15:39:05,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-09-11 15:39:05,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 15:39:05,579 - DEBUG - Waiting to SSH to VM test_vm, IP 171.50.235.67, Port 22
2025-09-11 15:39:05,648 - 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-09-11 15:39:05,749 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 15:39:10,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 15:39:10,750 - DEBUG - Waiting to SSH to VM test_vm, IP 171.50.235.67, Port 22
2025-09-11 15:39:10,906 - DEBUG - VM test_vm is ready for SSH connections
2025-09-11 15:39:10,906 - INFO - Waiting for VM test2_vm to be up..
2025-09-11 15:39:11,002 - DEBUG - VM is in ACTIVE state now
2025-09-11 15:39:11,003 - INFO - VM name : test2_vm
2025-09-11 15:39:11,074 - DEBUG - VM test2_vm ID is c7dc9aa1-b7e6-4bc3-bd6b-640c38cb1c87
2025-09-11 15:39:11,074 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1
2025-09-11 15:39:11,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7dc9aa1-b7e6-4bc3-bd6b-640c38cb1c87
2025-09-11 15:39:11,157 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fb5a22a4-d105-4cbb-9939-8c84df30cdbd
2025-09-11 15:39:12,400 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.880/3.360/1.479 ms')
2025-09-11 15:39:12,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed
2025-09-11 15:39:12,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 15:39:12,547 - DEBUG - Waiting to SSH to VM test2_vm, IP 165.125.155.67, Port 22
2025-09-11 15:39:12,702 - DEBUG - VM test2_vm is ready for SSH connections
2025-09-11 15:39:12,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 15:39:12,870 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-05248195:ctest-bgpaas_vn-50613001:ctest-bgpaas_vn-50613001.inet.0
2025-09-11 15:39:12,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 15:39:12,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.125.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-11 15:39:12,880 - DEBUG - ping -s 56 -c 3 -W 1 165.125.155.67
2025-09-11 15:39:16,671 - DEBUG - PING 165.125.155.67 (165.125.155.67): 56 data bytes
64 bytes from 165.125.155.67: seq=0 ttl=63 time=3.430 ms
64 bytes from 165.125.155.67: seq=1 ttl=63 time=0.975 ms
64 bytes from 165.125.155.67: seq=2 ttl=63 time=0.911 ms
--- 165.125.155.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.911/1.772/3.430 ms
2025-09-11 15:39:16,672 - INFO - Ping to IP 165.125.155.67 from VM test_vm passed
2025-09-11 15:39:16,745 - INFO - Deleting VM test2_vm
2025-09-11 15:39:16,830 - INFO - Deleting VM test_vm
2025-09-11 15:39:16,910 - INFO - Deleting VN ctest-bgpaas_vn-17229166
2025-09-11 15:39:16,950 - DEBUG - VN 4c1322c3-0966-4ef0-8022-24e612377c5e still in use: Unable to complete operation on network 4c1322c3-0966-4ef0-8022-24e612377c5e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-36502809-d0a3-4baa-9292-5c91d359b4e4']
2025-09-11 15:39:16,950 - WARNING - Deleting VN ctest-bgpaas_vn-17229166 failed..Will retry
2025-09-11 15:39:19,059 - DEBUG - Response for deleting network ()
2025-09-11 15:39:19,059 - INFO - Deleting VN ctest-bgpaas_vn-50613001
2025-09-11 15:39:19,163 - DEBUG - Response for deleting network ()
2025-09-11 15:39:19,420 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 15:39:19,420 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-09-11 15:39:19,420 - INFO - --------------------------------------------------------------------------------
2025-09-11 15:39:20,149 - INFO - Deleted project: ctest-TestRP-05248195, ID : c6380cfe-f5c4-4531-9354-b3044c3cff88