2025-08-20 13:23:59,689 - INFO - Domain Default found not creating 2025-08-20 13:23:59,830 - INFO - Project ctest-TestRouters-44091880 not found, creating it 2025-08-20 13:24:00,322 - INFO - Created Project:ctest-TestRouters-44091880, ID : 57cb7896-bcbc-46b4-9440-74b80fff9f16 2025-08-20 13:24:01,796 - INFO - ================================================================================ 2025-08-20 13:24:01,797 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 13:24:01,797 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-08-20 13:24:02,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 13:24:02,051 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:24:02,051 - INFO - 2025-08-20 13:24:02,581 - DEBUG - Response for create_network : {'network': {'id': '1dfd5905-aa07-4e02-af16-0f4d91b4235f', 'name': 'ctest-vn1-05404954', 'tenant_id': '57cb7896bcbc46b4944074b80fff9f16', 'project_id': '57cb7896bcbc46b4944074b80fff9f16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44091880', 'ctest-vn1-05404954'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:24:02,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '7455c19d-9ec2-4cfa-a303-fa7fd0655a4b', 'name': '', 'tenant_id': '57cb7896bcbc46b4944074b80fff9f16', 'network_id': '1dfd5905-aa07-4e02-af16-0f4d91b4235f', 'ip_version': 4, 'cidr': '36.119.247.0/26', 'allocation_pools': [{'start': '36.119.247.2', 'end': '36.119.247.62'}], 'gateway_ip': '36.119.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.119.247.2', 'tags': [], 'project_id': '57cb7896bcbc46b4944074b80fff9f16'}} 2025-08-20 13:24:02,837 - INFO - Created VN ctest-vn1-05404954 2025-08-20 13:24:02,894 - DEBUG - VN ctest-vn1-05404954 UUID is 1dfd5905-aa07-4e02-af16-0f4d91b4235f 2025-08-20 13:24:03,226 - DEBUG - Response for create_network : {'network': {'id': 'f9bf1b73-c425-4f9f-85ad-7217e0601b39', 'name': 'ctest-vn2-11262203', 'tenant_id': '57cb7896bcbc46b4944074b80fff9f16', 'project_id': '57cb7896bcbc46b4944074b80fff9f16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44091880', 'ctest-vn2-11262203'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:24:03,472 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec697e2-c028-4413-b7a7-542d5929fc17', 'name': '', 'tenant_id': '57cb7896bcbc46b4944074b80fff9f16', 'network_id': 'f9bf1b73-c425-4f9f-85ad-7217e0601b39', 'ip_version': 4, 'cidr': '204.2.236.64/26', 'allocation_pools': [{'start': '204.2.236.66', 'end': '204.2.236.126'}], 'gateway_ip': '204.2.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.2.236.66', 'tags': [], 'project_id': '57cb7896bcbc46b4944074b80fff9f16'}} 2025-08-20 13:24:03,490 - INFO - Created VN ctest-vn2-11262203 2025-08-20 13:24:03,541 - DEBUG - VN ctest-vn2-11262203 UUID is f9bf1b73-c425-4f9f-85ad-7217e0601b39 2025-08-20 13:24:03,787 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:24:04,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3895-1) 2025-08-20 13:24:06,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3895-1) 2025-08-20 13:24:06,097 - INFO - Adding interface with subnet_id 7455c19d-9ec2-4cfa-a303-fa7fd0655a4b, port_id None to router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:06,411 - INFO - Waiting for VM ctest-vn1-vm1-74733413 to be up.. 2025-08-20 13:24:06,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:24:11,622 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:24:11,622 - INFO - VM name : ctest-vn1-vm1-74733413 2025-08-20 13:24:11,691 - DEBUG - VM ctest-vn1-vm1-74733413 ID is 8b9cd387-fbb3-4f2e-bf04-d09b987f3f59 2025-08-20 13:24:11,709 - DEBUG - VM ctest-vn1-vm1-74733413 launched on Node cn-jenkins-deploy-platform-ansible-os-3895-1 2025-08-20 13:24:11,774 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8b9cd387-fbb3-4f2e-bf04-d09b987f3f59 2025-08-20 13:24:12,063 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8b9cd387-fbb3-4f2e-bf04-d09b987f3f59 2025-08-20 13:24:12,094 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ec69ca36-e4b2-4dcf-9a91-ea0b2621eb6e 2025-08-20 13:24:15,357 - 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 1023ms') 2025-08-20 13:24:15,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74733413 failed! 2025-08-20 13:24:15,413 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-44091880:ctest-vn1-05404954 is 36.119.247.1 and allocation pool is NOT set 2025-08-20 13:24:17,469 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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 = 0.405/1.736/3.068/1.331 ms') 2025-08-20 13:24:17,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74733413 passed 2025-08-20 13:24:17,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:17,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74733413, IP 36.119.247.3, Port 22 2025-08-20 13:24:17,785 - DEBUG - VM ctest-vn1-vm1-74733413 is ready for SSH connections 2025-08-20 13:24:17,785 - INFO - Waiting for VM ctest-vn2-vm1-87355604 to be up.. 2025-08-20 13:24:17,853 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:24:17,853 - INFO - VM name : ctest-vn2-vm1-87355604 2025-08-20 13:24:17,927 - DEBUG - VM ctest-vn2-vm1-87355604 ID is c1e818f3-c48b-4e2a-8d58-49b4bfe1513d 2025-08-20 13:24:17,928 - DEBUG - VM ctest-vn2-vm1-87355604 launched on Node cn-jenkins-deploy-platform-ansible-os-3895-1 2025-08-20 13:24:18,010 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c1e818f3-c48b-4e2a-8d58-49b4bfe1513d 2025-08-20 13:24:18,029 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/85540786-c31c-4551-959b-7c9272d0bbfc 2025-08-20 13:24:19,268 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.360/2.059/3.759/1.699 ms') 2025-08-20 13:24:19,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87355604 passed 2025-08-20 13:24:19,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:19,426 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87355604, IP 204.2.236.67, Port 22 2025-08-20 13:24:19,577 - DEBUG - VM ctest-vn2-vm1-87355604 is ready for SSH connections 2025-08-20 13:24:19,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:19,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.2.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:24:19,577 - DEBUG - ping -s 56 -c 3 -W 1 204.2.236.67 2025-08-20 13:24:24,476 - DEBUG - PING 204.2.236.67 (204.2.236.67): 56 data bytes --- 204.2.236.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:24:24,476 - WARNING - Ping to IP 204.2.236.67 from VM ctest-vn1-vm1-74733413 failed 2025-08-20 13:24:24,476 - INFO - Adding interface with subnet_id dec697e2-c028-4413-b7a7-542d5929fc17, port_id None to router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:24,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:24,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.2.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:24:24,767 - DEBUG - ping -s 56 -c 3 -W 1 204.2.236.67 2025-08-20 13:24:26,994 - DEBUG - PING 204.2.236.67 (204.2.236.67): 56 data bytes 64 bytes from 204.2.236.67: seq=0 ttl=63 time=3.180 ms 64 bytes from 204.2.236.67: seq=1 ttl=63 time=0.894 ms 64 bytes from 204.2.236.67: seq=2 ttl=63 time=0.838 ms --- 204.2.236.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.637/3.180 ms 2025-08-20 13:24:26,995 - INFO - Ping to IP 204.2.236.67 from VM ctest-vn1-vm1-74733413 passed 2025-08-20 13:24:26,995 - INFO - Deleting interface with subnet_id 7455c19d-9ec2-4cfa-a303-fa7fd0655a4b, port_id None from router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:27,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:27,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.2.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:24:27,119 - DEBUG - ping -s 56 -c 3 -W 1 204.2.236.67 2025-08-20 13:24:30,316 - DEBUG - PING 204.2.236.67 (204.2.236.67): 56 data bytes --- 204.2.236.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:24:30,316 - WARNING - Ping to IP 204.2.236.67 from VM ctest-vn1-vm1-74733413 failed 2025-08-20 13:24:30,316 - INFO - Adding interface with subnet_id 7455c19d-9ec2-4cfa-a303-fa7fd0655a4b, port_id None to router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:30,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:24:30,537 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.2.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:24:30,538 - DEBUG - ping -s 56 -c 3 -W 1 204.2.236.67 2025-08-20 13:24:33,744 - DEBUG - PING 204.2.236.67 (204.2.236.67): 56 data bytes 64 bytes from 204.2.236.67: seq=1 ttl=63 time=1.373 ms 64 bytes from 204.2.236.67: seq=2 ttl=63 time=0.673 ms --- 204.2.236.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.673/1.023/1.373 ms 2025-08-20 13:24:33,745 - WARNING - Ping to IP 204.2.236.67 from VM ctest-vn1-vm1-74733413 failed 2025-08-20 13:24:34,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.2.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:24:34,746 - DEBUG - ping -s 56 -c 3 -W 1 204.2.236.67 2025-08-20 13:24:36,949 - DEBUG - PING 204.2.236.67 (204.2.236.67): 56 data bytes 64 bytes from 204.2.236.67: seq=0 ttl=63 time=1.489 ms 64 bytes from 204.2.236.67: seq=1 ttl=63 time=0.685 ms 64 bytes from 204.2.236.67: seq=2 ttl=63 time=0.813 ms --- 204.2.236.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/0.995/1.489 ms 2025-08-20 13:24:36,949 - INFO - Ping to IP 204.2.236.67 from VM ctest-vn1-vm1-74733413 passed 2025-08-20 13:24:36,949 - INFO - Deleting interface with subnet_id dec697e2-c028-4413-b7a7-542d5929fc17, port_id None from router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:37,071 - INFO - Deleting interface with subnet_id 7455c19d-9ec2-4cfa-a303-fa7fd0655a4b, port_id None from router ca5e272b-681b-4e94-aabf-7d02990d4bd0 2025-08-20 13:24:37,273 - INFO - Deleting VM ctest-vn2-vm1-87355604 2025-08-20 13:24:37,357 - INFO - Deleting VM ctest-vn1-vm1-74733413 2025-08-20 13:24:37,440 - INFO - Deleting VN ctest-vn2-11262203 2025-08-20 13:24:37,474 - DEBUG - VN f9bf1b73-c425-4f9f-85ad-7217e0601b39 still in use: Unable to complete operation on network f9bf1b73-c425-4f9f-85ad-7217e0601b39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1719ad0d-b027-44d0-ba12-a71906d8ea62'] 2025-08-20 13:24:37,474 - WARNING - Deleting VN ctest-vn2-11262203 failed..Will retry 2025-08-20 13:24:39,579 - DEBUG - Response for deleting network () 2025-08-20 13:24:39,580 - INFO - Deleting VN ctest-vn1-05404954 2025-08-20 13:24:39,676 - DEBUG - Response for deleting network () 2025-08-20 13:24:39,935 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:24:39,935 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-20 13:24:39,935 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:24:40,595 - INFO - Deleted project: ctest-TestRouters-44091880, ID : 57cb7896-bcbc-46b4-9440-74b80fff9f16