2025-01-15 12:25:55,434 - INFO - Domain Default found not creating
2025-01-15 12:25:55,596 - INFO - Project ctest-TestRoutersBasic-88311218 not found, creating it
2025-01-15 12:25:56,089 - INFO - Created Project:ctest-TestRoutersBasic-88311218, ID : b32da51f-60e0-4fdc-b94a-6bd006048af4
2025-01-15 12:25:57,617 - INFO - ================================================================================
2025-01-15 12:25:57,617 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-15 12:25:57,617 - 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-15 12:25:57,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with
2025-01-15 12:25:57,877 - INFO - Initial checks done. Running the testcase now
2025-01-15 12:25:57,877 - INFO -
2025-01-15 12:25:58,619 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88311218
2025-01-15 12:25:58,723 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88311218
2025-01-15 12:25:59,051 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88311218', 'default']}
2025-01-15 12:25:59,378 - DEBUG - Response for create_network : {'network': {'id': '6ee5fc63-bdaf-4980-863c-598a38611d92', 'name': 'ctest-vn-29666512', 'tenant_id': 'b32da51f60e04fdcb94a6bd006048af4', 'project_id': 'b32da51f60e04fdcb94a6bd006048af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88311218', 'ctest-vn-29666512'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 12:25:59,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '21cf45a1-1549-42b3-914d-d5da4d9e25a9', 'name': '', 'tenant_id': 'b32da51f60e04fdcb94a6bd006048af4', 'network_id': '6ee5fc63-bdaf-4980-863c-598a38611d92', 'ip_version': 4, 'cidr': '23.250.82.192/26', 'allocation_pools': [{'start': '23.250.82.194', 'end': '23.250.82.254'}], 'gateway_ip': '23.250.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.250.82.194', 'tags': [], 'project_id': 'b32da51f60e04fdcb94a6bd006048af4'}}
2025-01-15 12:25:59,607 - INFO - Created VN ctest-vn-29666512
2025-01-15 12:25:59,664 - DEBUG - VN ctest-vn-29666512 UUID is 6ee5fc63-bdaf-4980-863c-598a38611d92
2025-01-15 12:26:00,019 - DEBUG - Response for create_network : {'network': {'id': 'e9976043-f906-4d4e-99fd-cc9f3cd7bc10', 'name': 'ctest-ext_vn-12614803', 'tenant_id': 'b32da51f60e04fdcb94a6bd006048af4', 'project_id': 'b32da51f60e04fdcb94a6bd006048af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88311218', 'ctest-ext_vn-12614803'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 12:26:00,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '946971ba-40e7-45cd-bf36-a386749b57b6', 'name': '', 'tenant_id': 'b32da51f60e04fdcb94a6bd006048af4', 'network_id': 'e9976043-f906-4d4e-99fd-cc9f3cd7bc10', 'ip_version': 4, 'cidr': '183.109.20.192/26', 'allocation_pools': [{'start': '183.109.20.194', 'end': '183.109.20.254'}], 'gateway_ip': '183.109.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.109.20.194', 'tags': [], 'project_id': 'b32da51f60e04fdcb94a6bd006048af4'}}
2025-01-15 12:26:00,238 - INFO - Created VN ctest-ext_vn-12614803
2025-01-15 12:26:00,295 - DEBUG - VN ctest-ext_vn-12614803 UUID is e9976043-f906-4d4e-99fd-cc9f3cd7bc10
2025-01-15 12:26:00,483 - DEBUG - Services list from nova: [, , ]
2025-01-15 12:26:01,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1)
2025-01-15 12:26:02,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1)
2025-01-15 12:26:02,865 - INFO - Setting gateway for router 65324844-8d0c-4428-9c5c-ebbb1016549e to network e9976043-f906-4d4e-99fd-cc9f3cd7bc10
2025-01-15 12:26:02,935 - INFO - Adding interface with subnet_id 21cf45a1-1549-42b3-914d-d5da4d9e25a9, port_id None to router 65324844-8d0c-4428-9c5c-ebbb1016549e
2025-01-15 12:26:03,447 - INFO - Waiting for VM ctest-TestRoutersBasic-88311218-71299359 to be up..
2025-01-15 12:26:03,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 12:26:08,734 - DEBUG - VM is in ACTIVE state now
2025-01-15 12:26:08,734 - INFO - VM name : ctest-TestRoutersBasic-88311218-71299359
2025-01-15 12:26:08,819 - DEBUG - VM ctest-TestRoutersBasic-88311218-71299359 ID is 39a8c098-e5f7-42f5-9721-bbbe2a551be7
2025-01-15 12:26:08,840 - DEBUG - VM ctest-TestRoutersBasic-88311218-71299359 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1
2025-01-15 12:26:08,924 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/39a8c098-e5f7-42f5-9721-bbbe2a551be7
2025-01-15 12:26:09,221 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/39a8c098-e5f7-42f5-9721-bbbe2a551be7
2025-01-15 12:26:09,262 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/25691291-f9b8-4ad9-829f-d06ffade4de1
2025-01-15 12:26:12,510 - 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 1007ms')
2025-01-15 12:26:12,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88311218-71299359 failed!
2025-01-15 12:26:12,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88311218:ctest-vn-29666512 is 23.250.82.193 and allocation pool is NOT set
2025-01-15 12:26:14,629 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.407/1.649/2.891/1.242 ms')
2025-01-15 12:26:14,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88311218-71299359 passed
2025-01-15 12:26:14,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 12:26:14,783 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88311218-71299359, IP 23.250.82.195, Port 22
2025-01-15 12:26:14,939 - DEBUG - VM ctest-TestRoutersBasic-88311218-71299359 is ready for SSH connections
2025-01-15 12:26:14,939 - INFO - Waiting for VM ctest-TestRoutersBasic-88311218-66535022 to be up..
2025-01-15 12:26:15,065 - DEBUG - VM is in ACTIVE state now
2025-01-15 12:26:15,065 - INFO - VM name : ctest-TestRoutersBasic-88311218-66535022
2025-01-15 12:26:15,159 - DEBUG - VM ctest-TestRoutersBasic-88311218-66535022 ID is 5d444189-ae54-4fb7-8c05-fcb562fb218c
2025-01-15 12:26:15,159 - DEBUG - VM ctest-TestRoutersBasic-88311218-66535022 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1
2025-01-15 12:26:15,247 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/5d444189-ae54-4fb7-8c05-fcb562fb218c
2025-01-15 12:26:15,257 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/20ca6d8c-dd37-43c2-ba93-091f41629f7e
2025-01-15 12:26:16,503 - 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=5.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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.128/3.286/5.444/2.158 ms')
2025-01-15 12:26:16,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88311218-66535022 passed
2025-01-15 12:26:16,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 12:26:16,655 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88311218-66535022, IP 183.109.20.195, Port 22
2025-01-15 12:26:16,811 - DEBUG - VM ctest-TestRoutersBasic-88311218-66535022 is ready for SSH connections
2025-01-15 12:26:16,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 12:26:16,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.109.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2025-01-15 12:26:16,811 - DEBUG - ping -s 56 -c 3 -W 1 183.109.20.195
2025-01-15 12:26:20,841 - DEBUG - PING 183.109.20.195 (183.109.20.195): 56 data bytes
64 bytes from 183.109.20.195: seq=0 ttl=62 time=7.269 ms
64 bytes from 183.109.20.195: seq=1 ttl=62 time=1.037 ms
64 bytes from 183.109.20.195: seq=2 ttl=62 time=1.607 ms
--- 183.109.20.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.037/3.304/7.269 ms
2025-01-15 12:26:20,841 - INFO - Ping to IP 183.109.20.195 from VM ctest-TestRoutersBasic-88311218-71299359 passed
2025-01-15 12:26:20,841 - INFO - Deleting interface with subnet_id 21cf45a1-1549-42b3-914d-d5da4d9e25a9, port_id None from router 65324844-8d0c-4428-9c5c-ebbb1016549e
2025-01-15 12:26:21,100 - INFO - Deleting VM ctest-TestRoutersBasic-88311218-66535022
2025-01-15 12:26:21,175 - INFO - Deleting VM ctest-TestRoutersBasic-88311218-71299359
2025-01-15 12:26:21,250 - INFO - Deleting VN ctest-ext_vn-12614803
2025-01-15 12:26:21,325 - DEBUG - VN e9976043-f906-4d4e-99fd-cc9f3cd7bc10 still in use: Unable to complete operation on network e9976043-f906-4d4e-99fd-cc9f3cd7bc10. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-98a6ec22-c200-4b7b-a697-1bd644b15841']
2025-01-15 12:26:21,325 - WARNING - Deleting VN ctest-ext_vn-12614803 failed..Will retry
2025-01-15 12:26:23,458 - DEBUG - Response for deleting network ()
2025-01-15 12:26:23,458 - INFO - Deleting VN ctest-vn-29666512
2025-01-15 12:26:23,582 - DEBUG - Response for deleting network ()
2025-01-15 12:26:23,850 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 12:26:23,850 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-15 12:26:23,850 - INFO - --------------------------------------------------------------------------------
2025-01-15 12:26:24,652 - INFO - Deleted project: ctest-TestRoutersBasic-88311218, ID : b32da51f-60e0-4fdc-b94a-6bd006048af4