2024-11-04 06:50:38,738 - INFO - Domain Default found not creating
2024-11-04 06:50:38,920 - INFO - Project ctest-TestRoutersBasic-17429141 not found, creating it
2024-11-04 06:50:39,488 - INFO - Created Project:ctest-TestRoutersBasic-17429141, ID : 12223dfb-474a-4083-8955-61558e3f52d9
2024-11-04 06:50:41,140 - INFO - ================================================================================
2024-11-04 06:50:41,140 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-04 06:50:41,140 - 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
2024-11-04 06:50:41,397 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with
2024-11-04 06:50:41,397 - INFO - Initial checks done. Running the testcase now
2024-11-04 06:50:41,397 - INFO -
2024-11-04 06:50:42,169 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17429141
2024-11-04 06:50:42,275 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17429141
2024-11-04 06:50:42,623 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17429141', 'default']}
2024-11-04 06:50:42,963 - DEBUG - Response for create_network : {'network': {'id': '31274dce-214f-471c-abe7-9fb804e7d737', 'name': 'ctest-vn-84703115', 'tenant_id': '12223dfb474a4083895561558e3f52d9', 'project_id': '12223dfb474a4083895561558e3f52d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17429141', 'ctest-vn-84703115'], 'port_security_enabled': True, 'description': ''}}
2024-11-04 06:50:43,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '986e494b-b9bd-46fa-bb12-9c4a9907cd9f', 'name': '', 'tenant_id': '12223dfb474a4083895561558e3f52d9', 'network_id': '31274dce-214f-471c-abe7-9fb804e7d737', 'ip_version': 4, 'cidr': '123.110.236.0/26', 'allocation_pools': [{'start': '123.110.236.2', 'end': '123.110.236.62'}], 'gateway_ip': '123.110.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.110.236.2', 'tags': [], 'project_id': '12223dfb474a4083895561558e3f52d9'}}
2024-11-04 06:50:43,210 - INFO - Created VN ctest-vn-84703115
2024-11-04 06:50:43,275 - DEBUG - VN ctest-vn-84703115 UUID is 31274dce-214f-471c-abe7-9fb804e7d737
2024-11-04 06:50:43,642 - DEBUG - Response for create_network : {'network': {'id': '0e5b3838-1c58-4576-9933-2f873d255368', 'name': 'ctest-ext_vn-91862698', 'tenant_id': '12223dfb474a4083895561558e3f52d9', 'project_id': '12223dfb474a4083895561558e3f52d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17429141', 'ctest-ext_vn-91862698'], 'port_security_enabled': True, 'description': ''}}
2024-11-04 06:50:43,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '58f8ed47-16ad-4730-afee-790a9d20f722', 'name': '', 'tenant_id': '12223dfb474a4083895561558e3f52d9', 'network_id': '0e5b3838-1c58-4576-9933-2f873d255368', 'ip_version': 4, 'cidr': '158.151.213.0/26', 'allocation_pools': [{'start': '158.151.213.2', 'end': '158.151.213.62'}], 'gateway_ip': '158.151.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.151.213.2', 'tags': [], 'project_id': '12223dfb474a4083895561558e3f52d9'}}
2024-11-04 06:50:43,906 - INFO - Created VN ctest-ext_vn-91862698
2024-11-04 06:50:43,967 - DEBUG - VN ctest-ext_vn-91862698 UUID is 0e5b3838-1c58-4576-9933-2f873d255368
2024-11-04 06:50:44,161 - DEBUG - Services list from nova: [, , ]
2024-11-04 06:50:45,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1)
2024-11-04 06:50:46,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1)
2024-11-04 06:50:46,833 - INFO - Setting gateway for router 86e35cb1-9d21-4603-a9af-fd4f2087f346 to network 0e5b3838-1c58-4576-9933-2f873d255368
2024-11-04 06:50:46,914 - INFO - Adding interface with subnet_id 986e494b-b9bd-46fa-bb12-9c4a9907cd9f, port_id None to router 86e35cb1-9d21-4603-a9af-fd4f2087f346
2024-11-04 06:50:47,486 - INFO - Waiting for VM ctest-TestRoutersBasic-17429141-73843610 to be up..
2024-11-04 06:50:47,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-04 06:50:52,750 - DEBUG - VM is in ACTIVE state now
2024-11-04 06:50:52,750 - INFO - VM name : ctest-TestRoutersBasic-17429141-73843610
2024-11-04 06:50:52,847 - DEBUG - VM ctest-TestRoutersBasic-17429141-73843610 ID is f7f7dcfa-673e-410a-8b1f-e3d244b9bf29
2024-11-04 06:50:52,881 - DEBUG - VM ctest-TestRoutersBasic-17429141-73843610 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1
2024-11-04 06:50:52,977 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f7f7dcfa-673e-410a-8b1f-e3d244b9bf29
2024-11-04 06:50:53,292 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f7f7dcfa-673e-410a-8b1f-e3d244b9bf29
2024-11-04 06:50:53,335 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/060499c9-b12e-443e-962e-6fbae6fe571b
2024-11-04 06:50:56,621 - 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')
2024-11-04 06:50:56,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17429141-73843610 failed!
2024-11-04 06:50:56,683 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17429141:ctest-vn-84703115 is 123.110.236.1 and allocation pool is NOT set
2024-11-04 06:50:58,754 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.794/3.134/1.340 ms')
2024-11-04 06:50:58,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17429141-73843610 passed
2024-11-04 06:50:58,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 06:50:58,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17429141-73843610, IP 123.110.236.3, Port 22
2024-11-04 06:50:59,071 - DEBUG - VM ctest-TestRoutersBasic-17429141-73843610 is ready for SSH connections
2024-11-04 06:50:59,071 - INFO - Waiting for VM ctest-TestRoutersBasic-17429141-92463497 to be up..
2024-11-04 06:50:59,163 - DEBUG - VM is in ACTIVE state now
2024-11-04 06:50:59,163 - INFO - VM name : ctest-TestRoutersBasic-17429141-92463497
2024-11-04 06:50:59,258 - DEBUG - VM ctest-TestRoutersBasic-17429141-92463497 ID is 92deca71-e380-4e60-aa67-92e20a9cc7fd
2024-11-04 06:50:59,258 - DEBUG - VM ctest-TestRoutersBasic-17429141-92463497 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1
2024-11-04 06:50:59,344 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/92deca71-e380-4e60-aa67-92e20a9cc7fd
2024-11-04 06:50:59,358 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/cd5a2b98-3a30-422b-aeab-85a906706a5b
2024-11-04 06:51:00,634 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.776/3.057/1.280 ms')
2024-11-04 06:51:00,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17429141-92463497 passed
2024-11-04 06:51:00,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 06:51:00,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17429141-92463497, IP 158.151.213.3, Port 22
2024-11-04 06:51:00,968 - DEBUG - VM ctest-TestRoutersBasic-17429141-92463497 is ready for SSH connections
2024-11-04 06:51:00,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 06:51:00,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.151.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2024-11-04 06:51:00,968 - DEBUG - ping -s 56 -c 3 -W 1 158.151.213.3
2024-11-04 06:51:04,677 - DEBUG - PING 158.151.213.3 (158.151.213.3): 56 data bytes
64 bytes from 158.151.213.3: seq=0 ttl=62 time=7.829 ms
64 bytes from 158.151.213.3: seq=1 ttl=62 time=1.735 ms
64 bytes from 158.151.213.3: seq=2 ttl=62 time=0.999 ms
--- 158.151.213.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.999/3.521/7.829 ms
2024-11-04 06:51:04,677 - INFO - Ping to IP 158.151.213.3 from VM ctest-TestRoutersBasic-17429141-73843610 passed
2024-11-04 06:51:04,677 - INFO - Deleting interface with subnet_id 986e494b-b9bd-46fa-bb12-9c4a9907cd9f, port_id None from router 86e35cb1-9d21-4603-a9af-fd4f2087f346
2024-11-04 06:51:04,944 - INFO - Deleting VM ctest-TestRoutersBasic-17429141-92463497
2024-11-04 06:51:05,030 - INFO - Deleting VM ctest-TestRoutersBasic-17429141-73843610
2024-11-04 06:51:05,125 - INFO - Deleting VN ctest-ext_vn-91862698
2024-11-04 06:51:05,231 - DEBUG - VN 0e5b3838-1c58-4576-9933-2f873d255368 still in use: Unable to complete operation on network 0e5b3838-1c58-4576-9933-2f873d255368. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6e13ad00-24be-4bc8-a134-4cb175bf5ed6']
2024-11-04 06:51:05,231 - WARNING - Deleting VN ctest-ext_vn-91862698 failed..Will retry
2024-11-04 06:51:07,376 - DEBUG - Response for deleting network ()
2024-11-04 06:51:07,377 - INFO - Deleting VN ctest-vn-84703115
2024-11-04 06:51:07,517 - DEBUG - Response for deleting network ()
2024-11-04 06:51:07,778 - DEBUG - No XMPP flaps were noticed during the test
2024-11-04 06:51:07,778 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-04 06:51:07,778 - INFO - --------------------------------------------------------------------------------
2024-11-04 06:51:08,554 - INFO - Deleted project: ctest-TestRoutersBasic-17429141, ID : 12223dfb-474a-4083-8955-61558e3f52d9