2025-01-08 19:54:47,798 - INFO - Domain Default found not creating
2025-01-08 19:54:47,956 - INFO - Project ctest-TestRoutersBasic-59833742 not found, creating it
2025-01-08 19:54:48,447 - INFO - Created Project:ctest-TestRoutersBasic-59833742, ID : c82fbd87-f0e7-41d8-b5d7-8121f68a352e
2025-01-08 19:54:50,060 - INFO - ================================================================================
2025-01-08 19:54:50,060 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-08 19:54:50,060 - 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-01-08 19:54:50,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with
2025-01-08 19:54:50,319 - INFO - Initial checks done. Running the testcase now
2025-01-08 19:54:50,319 - INFO -
2025-01-08 19:54:51,064 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59833742
2025-01-08 19:54:51,177 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59833742
2025-01-08 19:54:51,504 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59833742', 'default']}
2025-01-08 19:54:51,848 - DEBUG - Response for create_network : {'network': {'id': '38807d98-ccd8-42a0-8c03-689b9f694805', 'name': 'ctest-vn-82907330', 'tenant_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'project_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59833742', 'ctest-vn-82907330'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 19:54:52,013 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9ccd832-9c9f-4023-92fa-4a18e6e67a7f', 'name': '', 'tenant_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'network_id': '38807d98-ccd8-42a0-8c03-689b9f694805', 'ip_version': 4, 'cidr': '103.179.80.0/26', 'allocation_pools': [{'start': '103.179.80.2', 'end': '103.179.80.62'}], 'gateway_ip': '103.179.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.179.80.2', 'tags': [], 'project_id': 'c82fbd87f0e741d8b5d78121f68a352e'}}
2025-01-08 19:54:52,033 - INFO - Created VN ctest-vn-82907330
2025-01-08 19:54:52,089 - DEBUG - VN ctest-vn-82907330 UUID is 38807d98-ccd8-42a0-8c03-689b9f694805
2025-01-08 19:54:52,427 - DEBUG - Response for create_network : {'network': {'id': 'd513b9df-2b53-4d3b-bfba-2c3734301ac2', 'name': 'ctest-ext_vn-40733081', 'tenant_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'project_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59833742', 'ctest-ext_vn-40733081'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 19:54:52,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f336a8b-c881-40b8-a42a-83549b539359', 'name': '', 'tenant_id': 'c82fbd87f0e741d8b5d78121f68a352e', 'network_id': 'd513b9df-2b53-4d3b-bfba-2c3734301ac2', 'ip_version': 4, 'cidr': '189.44.18.192/26', 'allocation_pools': [{'start': '189.44.18.194', 'end': '189.44.18.254'}], 'gateway_ip': '189.44.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.44.18.194', 'tags': [], 'project_id': 'c82fbd87f0e741d8b5d78121f68a352e'}}
2025-01-08 19:54:52,634 - INFO - Created VN ctest-ext_vn-40733081
2025-01-08 19:54:52,689 - DEBUG - VN ctest-ext_vn-40733081 UUID is d513b9df-2b53-4d3b-bfba-2c3734301ac2
2025-01-08 19:54:52,871 - DEBUG - Services list from nova: [, , ]
2025-01-08 19:54:53,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1)
2025-01-08 19:54:55,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1)
2025-01-08 19:54:55,208 - INFO - Setting gateway for router eadbc802-9d16-45b7-bea3-944e9cf88d23 to network d513b9df-2b53-4d3b-bfba-2c3734301ac2
2025-01-08 19:54:55,304 - INFO - Adding interface with subnet_id f9ccd832-9c9f-4023-92fa-4a18e6e67a7f, port_id None to router eadbc802-9d16-45b7-bea3-944e9cf88d23
2025-01-08 19:54:55,784 - INFO - Waiting for VM ctest-TestRoutersBasic-59833742-68087996 to be up..
2025-01-08 19:54:55,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 19:55:01,047 - DEBUG - VM is in ACTIVE state now
2025-01-08 19:55:01,047 - INFO - VM name : ctest-TestRoutersBasic-59833742-68087996
2025-01-08 19:55:01,134 - DEBUG - VM ctest-TestRoutersBasic-59833742-68087996 ID is bf396fa4-50aa-4844-ab14-1f77a1ace275
2025-01-08 19:55:01,155 - DEBUG - VM ctest-TestRoutersBasic-59833742-68087996 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1
2025-01-08 19:55:01,234 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/bf396fa4-50aa-4844-ab14-1f77a1ace275
2025-01-08 19:55:01,544 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/bf396fa4-50aa-4844-ab14-1f77a1ace275
2025-01-08 19:55:01,581 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/3b6f5599-0b1d-4bdb-912e-ad563277fa26
2025-01-08 19:55:04,855 - 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 1011ms')
2025-01-08 19:55:04,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59833742-68087996 failed!
2025-01-08 19:55:04,923 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59833742:ctest-vn-82907330 is 103.179.80.1 and allocation pool is NOT set
2025-01-08 19:55:06,986 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/2.521/4.546/2.025 ms')
2025-01-08 19:55:06,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59833742-68087996 passed
2025-01-08 19:55:07,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 19:55:07,145 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59833742-68087996, IP 103.179.80.3, Port 22
2025-01-08 19:55:07,312 - DEBUG - VM ctest-TestRoutersBasic-59833742-68087996 is ready for SSH connections
2025-01-08 19:55:07,312 - INFO - Waiting for VM ctest-TestRoutersBasic-59833742-78776388 to be up..
2025-01-08 19:55:07,415 - DEBUG - VM is in ACTIVE state now
2025-01-08 19:55:07,415 - INFO - VM name : ctest-TestRoutersBasic-59833742-78776388
2025-01-08 19:55:07,504 - DEBUG - VM ctest-TestRoutersBasic-59833742-78776388 ID is 738247d0-9c84-40a2-8d93-5ac8b546c099
2025-01-08 19:55:07,504 - DEBUG - VM ctest-TestRoutersBasic-59833742-78776388 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1
2025-01-08 19:55:07,607 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/738247d0-9c84-40a2-8d93-5ac8b546c099
2025-01-08 19:55:07,618 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/5dce7262-7f12-4b9a-a16f-abc3a2b62d76
2025-01-08 19:55:08,882 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/1.831/3.104/1.272 ms')
2025-01-08 19:55:08,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59833742-78776388 passed
2025-01-08 19:55:09,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 19:55:09,045 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59833742-78776388, IP 189.44.18.195, Port 22
2025-01-08 19:55:09,211 - DEBUG - VM ctest-TestRoutersBasic-59833742-78776388 is ready for SSH connections
2025-01-08 19:55:09,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 19:55:09,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.44.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2025-01-08 19:55:09,212 - DEBUG - ping -s 56 -c 3 -W 1 189.44.18.195
2025-01-08 19:55:12,894 - DEBUG - PING 189.44.18.195 (189.44.18.195): 56 data bytes
64 bytes from 189.44.18.195: seq=0 ttl=62 time=9.000 ms
64 bytes from 189.44.18.195: seq=1 ttl=62 time=1.102 ms
64 bytes from 189.44.18.195: seq=2 ttl=62 time=1.234 ms
--- 189.44.18.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.102/3.778/9.000 ms
2025-01-08 19:55:12,894 - INFO - Ping to IP 189.44.18.195 from VM ctest-TestRoutersBasic-59833742-68087996 passed
2025-01-08 19:55:12,894 - INFO - Deleting interface with subnet_id f9ccd832-9c9f-4023-92fa-4a18e6e67a7f, port_id None from router eadbc802-9d16-45b7-bea3-944e9cf88d23
2025-01-08 19:55:13,138 - INFO - Deleting VM ctest-TestRoutersBasic-59833742-78776388
2025-01-08 19:55:13,217 - INFO - Deleting VM ctest-TestRoutersBasic-59833742-68087996
2025-01-08 19:55:13,314 - INFO - Deleting VN ctest-ext_vn-40733081
2025-01-08 19:55:13,382 - DEBUG - VN d513b9df-2b53-4d3b-bfba-2c3734301ac2 still in use: Unable to complete operation on network d513b9df-2b53-4d3b-bfba-2c3734301ac2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1245dff2-d9af-40aa-93af-515fa628c25d']
2025-01-08 19:55:13,382 - WARNING - Deleting VN ctest-ext_vn-40733081 failed..Will retry
2025-01-08 19:55:15,513 - DEBUG - Response for deleting network ()
2025-01-08 19:55:15,514 - INFO - Deleting VN ctest-vn-82907330
2025-01-08 19:55:15,635 - DEBUG - Response for deleting network ()
2025-01-08 19:55:15,896 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 19:55:15,896 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-08 19:55:15,897 - INFO - --------------------------------------------------------------------------------
2025-01-08 19:55:16,611 - INFO - Deleted project: ctest-TestRoutersBasic-59833742, ID : c82fbd87-f0e7-41d8-b5d7-8121f68a352e