2025-04-26 13:19:23,219 - INFO - Domain Default found not creating 2025-04-26 13:19:23,343 - INFO - Project ctest-TestRoutersBasic-79294029 not found, creating it 2025-04-26 13:19:23,767 - INFO - Created Project:ctest-TestRoutersBasic-79294029, ID : 2b722840-9656-4140-acc7-1de3f584732c 2025-04-26 13:19:25,078 - INFO - ================================================================================ 2025-04-26 13:19:25,078 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-26 13:19:25,078 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-04-26 13:19:25,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-26 13:19:25,330 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:19:25,330 - INFO - 2025-04-26 13:19:26,002 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79294029 2025-04-26 13:19:26,097 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79294029 2025-04-26 13:19:26,413 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79294029', 'default']} 2025-04-26 13:19:26,688 - DEBUG - Response for create_network : {'network': {'id': 'ac2524ed-8a54-4c2c-8680-edb866261f8d', 'name': 'ctest-vn-25955140', 'tenant_id': '2b72284096564140acc71de3f584732c', 'project_id': '2b72284096564140acc71de3f584732c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79294029', 'ctest-vn-25955140'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:19:26,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '416e7a99-5903-43d3-a7f5-9bc539dae046', 'name': '', 'tenant_id': '2b72284096564140acc71de3f584732c', 'network_id': 'ac2524ed-8a54-4c2c-8680-edb866261f8d', 'ip_version': 4, 'cidr': '162.39.253.128/26', 'allocation_pools': [{'start': '162.39.253.130', 'end': '162.39.253.190'}], 'gateway_ip': '162.39.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.39.253.130', 'tags': [], 'project_id': '2b72284096564140acc71de3f584732c'}} 2025-04-26 13:19:26,902 - INFO - Created VN ctest-vn-25955140 2025-04-26 13:19:26,953 - DEBUG - VN ctest-vn-25955140 UUID is ac2524ed-8a54-4c2c-8680-edb866261f8d 2025-04-26 13:19:27,299 - DEBUG - Response for create_network : {'network': {'id': '5f6b9991-73f3-406d-8ff4-97e670b78e06', 'name': 'ctest-ext_vn-96293878', 'tenant_id': '2b72284096564140acc71de3f584732c', 'project_id': '2b72284096564140acc71de3f584732c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79294029', 'ctest-ext_vn-96293878'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:19:27,486 - DEBUG - Response for create_subnet : {'subnet': {'id': '9afdc173-4a8c-4374-899b-a4335c94f524', 'name': '', 'tenant_id': '2b72284096564140acc71de3f584732c', 'network_id': '5f6b9991-73f3-406d-8ff4-97e670b78e06', 'ip_version': 4, 'cidr': '132.253.144.192/26', 'allocation_pools': [{'start': '132.253.144.194', 'end': '132.253.144.254'}], 'gateway_ip': '132.253.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.253.144.194', 'tags': [], 'project_id': '2b72284096564140acc71de3f584732c'}} 2025-04-26 13:19:27,502 - INFO - Created VN ctest-ext_vn-96293878 2025-04-26 13:19:27,557 - DEBUG - VN ctest-ext_vn-96293878 UUID is 5f6b9991-73f3-406d-8ff4-97e670b78e06 2025-04-26 13:19:27,752 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:19:28,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:19:29,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:19:29,826 - INFO - Setting gateway for router da39ce65-c2af-48cb-8c89-9d741dd2066e to network 5f6b9991-73f3-406d-8ff4-97e670b78e06 2025-04-26 13:19:29,875 - INFO - Adding interface with subnet_id 416e7a99-5903-43d3-a7f5-9bc539dae046, port_id None to router da39ce65-c2af-48cb-8c89-9d741dd2066e 2025-04-26 13:19:30,344 - INFO - Waiting for VM ctest-TestRoutersBasic-79294029-36543718 to be up.. 2025-04-26 13:19:30,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:19:35,626 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:19:35,626 - INFO - VM name : ctest-TestRoutersBasic-79294029-36543718 2025-04-26 13:19:35,696 - DEBUG - VM ctest-TestRoutersBasic-79294029-36543718 ID is 942a6601-789b-449c-b44c-9a1ea5b4bc36 2025-04-26 13:19:35,713 - DEBUG - VM ctest-TestRoutersBasic-79294029-36543718 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:19:35,778 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/942a6601-789b-449c-b44c-9a1ea5b4bc36 2025-04-26 13:19:36,067 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/942a6601-789b-449c-b44c-9a1ea5b4bc36 2025-04-26 13:19:36,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/88e7b2c1-f438-478b-be85-49ffe44bb69a 2025-04-26 13:19:39,348 - 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=2 ttl=63 time=7.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 7.968/7.968/7.968/0.000 ms') 2025-04-26 13:19:39,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79294029-36543718 passed 2025-04-26 13:19:39,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:19:39,501 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79294029-36543718, IP 162.39.253.131, Port 22 2025-04-26 13:19:39,656 - DEBUG - VM ctest-TestRoutersBasic-79294029-36543718 is ready for SSH connections 2025-04-26 13:19:39,656 - INFO - Waiting for VM ctest-TestRoutersBasic-79294029-46657065 to be up.. 2025-04-26 13:19:39,728 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:19:39,729 - INFO - VM name : ctest-TestRoutersBasic-79294029-46657065 2025-04-26 13:19:39,797 - DEBUG - VM ctest-TestRoutersBasic-79294029-46657065 ID is f2d82da1-2478-432f-a3ee-7ee5afe75424 2025-04-26 13:19:39,798 - DEBUG - VM ctest-TestRoutersBasic-79294029-46657065 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:19:39,866 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f2d82da1-2478-432f-a3ee-7ee5afe75424 2025-04-26 13:19:39,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca525e23-480e-41ab-9e7a-9446cbaca947 2025-04-26 13:19:41,113 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.775 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.775/1.934/3.094/1.159 ms') 2025-04-26 13:19:41,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79294029-46657065 passed 2025-04-26 13:19:41,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:19:41,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79294029-46657065, IP 132.253.144.195, Port 22 2025-04-26 13:19:41,416 - DEBUG - VM ctest-TestRoutersBasic-79294029-46657065 is ready for SSH connections 2025-04-26 13:19:41,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:19:41,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.253.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-26 13:19:41,416 - DEBUG - ping -s 56 -c 3 -W 1 132.253.144.195 2025-04-26 13:19:45,508 - DEBUG - PING 132.253.144.195 (132.253.144.195): 56 data bytes 64 bytes from 132.253.144.195: seq=0 ttl=62 time=4.511 ms 64 bytes from 132.253.144.195: seq=1 ttl=62 time=0.783 ms 64 bytes from 132.253.144.195: seq=2 ttl=62 time=0.859 ms --- 132.253.144.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/2.051/4.511 ms 2025-04-26 13:19:45,508 - INFO - Ping to IP 132.253.144.195 from VM ctest-TestRoutersBasic-79294029-36543718 passed 2025-04-26 13:19:45,508 - INFO - Deleting interface with subnet_id 416e7a99-5903-43d3-a7f5-9bc539dae046, port_id None from router da39ce65-c2af-48cb-8c89-9d741dd2066e 2025-04-26 13:19:45,690 - INFO - Deleting VM ctest-TestRoutersBasic-79294029-46657065 2025-04-26 13:19:45,751 - INFO - Deleting VM ctest-TestRoutersBasic-79294029-36543718 2025-04-26 13:19:45,819 - INFO - Deleting VN ctest-ext_vn-96293878 2025-04-26 13:19:45,873 - DEBUG - VN 5f6b9991-73f3-406d-8ff4-97e670b78e06 still in use: Unable to complete operation on network 5f6b9991-73f3-406d-8ff4-97e670b78e06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c7dd65a8-677a-428e-923d-09e97b7ef36a'] 2025-04-26 13:19:45,873 - WARNING - Deleting VN ctest-ext_vn-96293878 failed..Will retry 2025-04-26 13:19:47,961 - DEBUG - Response for deleting network () 2025-04-26 13:19:47,961 - INFO - Deleting VN ctest-vn-25955140 2025-04-26 13:19:48,056 - DEBUG - Response for deleting network () 2025-04-26 13:19:48,314 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 13:19:48,314 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-26 13:19:48,314 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:19:48,954 - INFO - Deleted project: ctest-TestRoutersBasic-79294029, ID : 2b722840-9656-4140-acc7-1de3f584732c