2025-05-19 01:59:46,888 - INFO - Reading existing Domain with UUID 4533365a-478b-4553-a889-03e442e66f00 2025-05-19 01:59:46,900 - INFO - Using existing domain ['admin_domain'](4533365a-478b-4553-a889-03e442e66f00) 2025-05-19 01:59:47,107 - INFO - Project ctest-TestRoutersBasic-35232030 not found, creating it 2025-05-19 01:59:47,645 - INFO - Created Project:ctest-TestRoutersBasic-35232030, ID : cf5cfe57-a961-4f51-84ca-8d7dbc0d2ab3 2025-05-19 01:59:49,314 - INFO - ================================================================================ 2025-05-19 01:59:49,315 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-19 01:59:49,315 - 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-05-19 01:59:49,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.0.0.56': '0'}} with 2025-05-19 01:59:49,705 - INFO - Initial checks done. Running the testcase now 2025-05-19 01:59:49,705 - INFO - 2025-05-19 01:59:50,500 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35232030 2025-05-19 01:59:50,596 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35232030 2025-05-19 01:59:50,932 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-35232030', 'default']} 2025-05-19 01:59:51,409 - DEBUG - Response for create_network : {'network': {'id': '2c36d4b1-8f17-451d-8fdb-c2b1f578ae8a', 'name': 'ctest-vn-02681765', 'tenant_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'project_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-35232030', 'ctest-vn-02681765'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-05-19 01:59:51,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c39c7a6-0da7-4212-abd9-50857239b750', 'name': '', 'tenant_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'network_id': '2c36d4b1-8f17-451d-8fdb-c2b1f578ae8a', 'ip_version': 4, 'cidr': '204.122.45.64/26', 'allocation_pools': [{'start': '204.122.45.66', 'end': '204.122.45.126'}], 'gateway_ip': '204.122.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-19T01:59:51.564787', 'updated_at': '2025-05-19T01:59:51.564787', 'dns_server_address': '204.122.45.66', 'tags': [], 'project_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3'}} 2025-05-19 01:59:51,723 - INFO - Created VN ctest-vn-02681765 2025-05-19 01:59:51,776 - DEBUG - VN ctest-vn-02681765 UUID is 2c36d4b1-8f17-451d-8fdb-c2b1f578ae8a 2025-05-19 01:59:52,301 - DEBUG - Response for create_network : {'network': {'id': 'cdd3e27c-a9c8-46e1-8615-67a39d6237d9', 'name': 'ctest-ext_vn-80147365', 'tenant_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'project_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-35232030', 'ctest-ext_vn-80147365'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-05-19 01:59:52,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d569d31-db8a-4975-9203-4112bca9ee53', 'name': '', 'tenant_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3', 'network_id': 'cdd3e27c-a9c8-46e1-8615-67a39d6237d9', 'ip_version': 4, 'cidr': '41.29.232.192/26', 'allocation_pools': [{'start': '41.29.232.194', 'end': '41.29.232.254'}], 'gateway_ip': '41.29.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-19T01:59:52.468479', 'updated_at': '2025-05-19T01:59:52.468479', 'dns_server_address': '41.29.232.194', 'tags': [], 'project_id': 'cf5cfe57a9614f5184ca8d7dbc0d2ab3'}} 2025-05-19 01:59:52,630 - INFO - Created VN ctest-ext_vn-80147365 2025-05-19 01:59:52,684 - DEBUG - VN ctest-ext_vn-80147365 UUID is cdd3e27c-a9c8-46e1-8615-67a39d6237d9 2025-05-19 01:59:52,953 - DEBUG - Services list from nova: [, , ] 2025-05-19 01:59:54,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-538-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-538-1) 2025-05-19 01:59:55,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-538-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-538-1) 2025-05-19 01:59:55,941 - INFO - Setting gateway for router 0b91882a-8537-40ef-9fd0-b76f5df3366a to network cdd3e27c-a9c8-46e1-8615-67a39d6237d9 2025-05-19 01:59:56,109 - INFO - Adding interface with subnet_id 5c39c7a6-0da7-4212-abd9-50857239b750, port_id None to router 0b91882a-8537-40ef-9fd0-b76f5df3366a 2025-05-19 01:59:56,814 - INFO - Waiting for VM ctest-TestRoutersBasic-35232030-55376233 to be up.. 2025-05-19 01:59:56,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-19 02:00:02,137 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:00:02,138 - INFO - VM name : ctest-TestRoutersBasic-35232030-55376233 2025-05-19 02:00:02,279 - DEBUG - VM ctest-TestRoutersBasic-35232030-55376233 ID is 1585e299-8aaf-4b90-862e-3536c58f7840 2025-05-19 02:00:02,317 - DEBUG - VM ctest-TestRoutersBasic-35232030-55376233 launched on Node cn-jenkins-deploy-platform-juju-os-538-1 2025-05-19 02:00:02,472 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/1585e299-8aaf-4b90-862e-3536c58f7840 2025-05-19 02:00:02,826 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/1585e299-8aaf-4b90-862e-3536c58f7840 2025-05-19 02:00:02,917 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/138127f3-a5a6-4ee5-9d8f-8fadedddf4f5 2025-05-19 02:00:06,390 - 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 1003ms') 2025-05-19 02:00:06,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35232030-55376233 failed! 2025-05-19 02:00:06,444 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-35232030:ctest-vn-02681765 is 204.122.45.65 and allocation pool is NOT set 2025-05-19 02:00:08,537 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 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.591/2.855/4.120/1.264 ms') 2025-05-19 02:00:08,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35232030-55376233 passed 2025-05-19 02:00:08,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:00:08,748 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35232030-55376233, IP 204.122.45.67, Port 22 2025-05-19 02:00:08,962 - DEBUG - VM ctest-TestRoutersBasic-35232030-55376233 is ready for SSH connections 2025-05-19 02:00:08,962 - INFO - Waiting for VM ctest-TestRoutersBasic-35232030-38331652 to be up.. 2025-05-19 02:00:09,097 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:00:09,097 - INFO - VM name : ctest-TestRoutersBasic-35232030-38331652 2025-05-19 02:00:09,236 - DEBUG - VM ctest-TestRoutersBasic-35232030-38331652 ID is fb42003c-3dcb-4341-9512-4ff7ecf14338 2025-05-19 02:00:09,236 - DEBUG - VM ctest-TestRoutersBasic-35232030-38331652 launched on Node cn-jenkins-deploy-platform-juju-os-538-1 2025-05-19 02:00:09,373 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/fb42003c-3dcb-4341-9512-4ff7ecf14338 2025-05-19 02:00:09,429 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/0c722829-fe77-4bce-8cce-9a19684d5d82 2025-05-19 02:00:10,886 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.830/2.969/4.109/1.139 ms') 2025-05-19 02:00:10,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35232030-38331652 passed 2025-05-19 02:00:11,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:00:11,044 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35232030-38331652, IP 41.29.232.195, Port 22 2025-05-19 02:00:11,258 - DEBUG - VM ctest-TestRoutersBasic-35232030-38331652 is ready for SSH connections 2025-05-19 02:00:11,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:00:11,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.29.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-19 02:00:11,258 - DEBUG - ping -s 56 -c 3 -W 1 41.29.232.195 2025-05-19 02:00:14,962 - DEBUG - PING 41.29.232.195 (41.29.232.195): 56 data bytes 64 bytes from 41.29.232.195: seq=0 ttl=62 time=7.735 ms 64 bytes from 41.29.232.195: seq=1 ttl=62 time=1.080 ms 64 bytes from 41.29.232.195: seq=2 ttl=62 time=0.868 ms --- 41.29.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/3.227/7.735 ms 2025-05-19 02:00:14,963 - INFO - Ping to IP 41.29.232.195 from VM ctest-TestRoutersBasic-35232030-55376233 passed 2025-05-19 02:00:14,963 - INFO - Deleting interface with subnet_id 5c39c7a6-0da7-4212-abd9-50857239b750, port_id None from router 0b91882a-8537-40ef-9fd0-b76f5df3366a 2025-05-19 02:00:15,374 - INFO - Deleting VM ctest-TestRoutersBasic-35232030-38331652 2025-05-19 02:00:15,529 - INFO - Deleting VM ctest-TestRoutersBasic-35232030-55376233 2025-05-19 02:00:15,641 - INFO - Deleting VN ctest-ext_vn-80147365 2025-05-19 02:00:15,843 - DEBUG - VN cdd3e27c-a9c8-46e1-8615-67a39d6237d9 still in use: Unable to complete operation on network cdd3e27c-a9c8-46e1-8615-67a39d6237d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04ce0dcc-a708-4228-8f2d-d654cea68e7d'] 2025-05-19 02:00:15,844 - WARNING - Deleting VN ctest-ext_vn-80147365 failed..Will retry 2025-05-19 02:00:18,024 - DEBUG - Response for deleting network () 2025-05-19 02:00:18,024 - INFO - Deleting VN ctest-vn-02681765 2025-05-19 02:00:18,190 - DEBUG - Response for deleting network () 2025-05-19 02:00:18,589 - DEBUG - No XMPP flaps were noticed during the test
2025-05-19 02:00:18,589 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-05-19 02:00:18,590 - INFO - -------------------------------------------------------------------------------- 2025-05-19 02:00:20,478 - INFO - Deleted project: ctest-TestRoutersBasic-35232030, ID : cf5cfe57-a961-4f51-84ca-8d7dbc0d2ab3