2025-01-08 14:27:41,305 - INFO - Domain Default found not creating
2025-01-08 14:27:41,487 - INFO - Project ctest-TestRoutersBasic-63758326 not found, creating it
2025-01-08 14:27:41,978 - INFO - Created Project:ctest-TestRoutersBasic-63758326, ID : e29ba33e-1159-456e-8f87-1a27cd1dfcbc
2025-01-08 14:27:43,452 - INFO - ================================================================================
2025-01-08 14:27:43,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-08 14:27:43,452 - 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 14:27:43,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.22': '0'}} with
2025-01-08 14:27:43,726 - INFO - Initial checks done. Running the testcase now
2025-01-08 14:27:43,727 - INFO -
2025-01-08 14:27:44,443 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63758326
2025-01-08 14:27:44,543 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63758326
2025-01-08 14:27:44,878 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63758326', 'default']}
2025-01-08 14:27:45,179 - DEBUG - Response for create_network : {'network': {'id': '9cd0b3a2-a9af-494c-94da-2d7629083edf', 'name': 'ctest-vn-57842750', 'tenant_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'project_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63758326', 'ctest-vn-57842750'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 14:27:45,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '05dbe4bb-65fe-4653-9204-b95066deadb8', 'name': '', 'tenant_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'network_id': '9cd0b3a2-a9af-494c-94da-2d7629083edf', 'ip_version': 4, 'cidr': '17.236.192.64/26', 'allocation_pools': [{'start': '17.236.192.66', 'end': '17.236.192.126'}], 'gateway_ip': '17.236.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.236.192.66', 'tags': [], 'project_id': 'e29ba33e1159456e8f871a27cd1dfcbc'}}
2025-01-08 14:27:45,429 - INFO - Created VN ctest-vn-57842750
2025-01-08 14:27:45,483 - DEBUG - VN ctest-vn-57842750 UUID is 9cd0b3a2-a9af-494c-94da-2d7629083edf
2025-01-08 14:27:45,834 - DEBUG - Response for create_network : {'network': {'id': '1ae4ddf2-8d23-4d11-bb85-ad301a97a120', 'name': 'ctest-ext_vn-85846166', 'tenant_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'project_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63758326', 'ctest-ext_vn-85846166'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 14:27:46,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '0926e99f-ccdd-48ed-94b5-9b91b4990857', 'name': '', 'tenant_id': 'e29ba33e1159456e8f871a27cd1dfcbc', 'network_id': '1ae4ddf2-8d23-4d11-bb85-ad301a97a120', 'ip_version': 4, 'cidr': '98.224.178.128/26', 'allocation_pools': [{'start': '98.224.178.130', 'end': '98.224.178.190'}], 'gateway_ip': '98.224.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.224.178.130', 'tags': [], 'project_id': 'e29ba33e1159456e8f871a27cd1dfcbc'}}
2025-01-08 14:27:46,025 - INFO - Created VN ctest-ext_vn-85846166
2025-01-08 14:27:46,079 - DEBUG - VN ctest-ext_vn-85846166 UUID is 1ae4ddf2-8d23-4d11-bb85-ad301a97a120
2025-01-08 14:27:46,250 - DEBUG - Services list from nova: [, , ]
2025-01-08 14:27:47,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1)
2025-01-08 14:27:48,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1)
2025-01-08 14:27:48,489 - INFO - Setting gateway for router 94c4ba39-c95b-46d7-8d19-30e65a479b9e to network 1ae4ddf2-8d23-4d11-bb85-ad301a97a120
2025-01-08 14:27:48,551 - INFO - Adding interface with subnet_id 05dbe4bb-65fe-4653-9204-b95066deadb8, port_id None to router 94c4ba39-c95b-46d7-8d19-30e65a479b9e
2025-01-08 14:27:48,959 - INFO - Waiting for VM ctest-TestRoutersBasic-63758326-67370216 to be up..
2025-01-08 14:27:49,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 14:27:54,200 - DEBUG - VM is in ACTIVE state now
2025-01-08 14:27:54,200 - INFO - VM name : ctest-TestRoutersBasic-63758326-67370216
2025-01-08 14:27:54,277 - DEBUG - VM ctest-TestRoutersBasic-63758326-67370216 ID is 4257f15a-0543-4a77-b755-b37b40a2c969
2025-01-08 14:27:54,302 - DEBUG - VM ctest-TestRoutersBasic-63758326-67370216 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1
2025-01-08 14:27:54,381 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/4257f15a-0543-4a77-b755-b37b40a2c969
2025-01-08 14:27:54,675 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/4257f15a-0543-4a77-b755-b37b40a2c969
2025-01-08 14:27:54,706 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/73b9b52b-1734-47ce-94d3-25c677661662
2025-01-08 14:27:57,942 - 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 1001ms')
2025-01-08 14:27:57,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63758326-67370216 failed!
2025-01-08 14:27:57,999 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63758326:ctest-vn-57842750 is 17.236.192.65 and allocation pool is NOT set
2025-01-08 14:28:00,061 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.426/1.694/2.962/1.268 ms')
2025-01-08 14:28:00,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63758326-67370216 passed
2025-01-08 14:28:00,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 14:28:00,175 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63758326-67370216, IP 17.236.192.67, Port 22
2025-01-08 14:28:00,345 - DEBUG - VM ctest-TestRoutersBasic-63758326-67370216 is ready for SSH connections
2025-01-08 14:28:00,345 - INFO - Waiting for VM ctest-TestRoutersBasic-63758326-54268156 to be up..
2025-01-08 14:28:00,437 - DEBUG - VM is in ACTIVE state now
2025-01-08 14:28:00,437 - INFO - VM name : ctest-TestRoutersBasic-63758326-54268156
2025-01-08 14:28:00,525 - DEBUG - VM ctest-TestRoutersBasic-63758326-54268156 ID is 3b30856b-8a4b-4eb3-93ef-0574cc3f5a53
2025-01-08 14:28:00,526 - DEBUG - VM ctest-TestRoutersBasic-63758326-54268156 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1
2025-01-08 14:28:00,614 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/3b30856b-8a4b-4eb3-93ef-0574cc3f5a53
2025-01-08 14:28:00,623 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/100932ba-cf1d-4f34-964f-48b807bf7890
2025-01-08 14:28:01,881 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/2.273/4.142/1.869 ms')
2025-01-08 14:28:01,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63758326-54268156 passed
2025-01-08 14:28:02,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 14:28:02,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63758326-54268156, IP 98.224.178.131, Port 22
2025-01-08 14:28:02,205 - DEBUG - VM ctest-TestRoutersBasic-63758326-54268156 is ready for SSH connections
2025-01-08 14:28:02,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 14:28:02,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.224.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123
2025-01-08 14:28:02,205 - DEBUG - ping -s 56 -c 3 -W 1 98.224.178.131
2025-01-08 14:28:06,179 - DEBUG - PING 98.224.178.131 (98.224.178.131): 56 data bytes
64 bytes from 98.224.178.131: seq=0 ttl=62 time=4.078 ms
64 bytes from 98.224.178.131: seq=1 ttl=62 time=1.058 ms
64 bytes from 98.224.178.131: seq=2 ttl=62 time=1.406 ms
--- 98.224.178.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.058/2.180/4.078 ms
2025-01-08 14:28:06,179 - INFO - Ping to IP 98.224.178.131 from VM ctest-TestRoutersBasic-63758326-67370216 passed
2025-01-08 14:28:06,179 - INFO - Deleting interface with subnet_id 05dbe4bb-65fe-4653-9204-b95066deadb8, port_id None from router 94c4ba39-c95b-46d7-8d19-30e65a479b9e
2025-01-08 14:28:06,399 - INFO - Deleting VM ctest-TestRoutersBasic-63758326-54268156
2025-01-08 14:28:06,469 - INFO - Deleting VM ctest-TestRoutersBasic-63758326-67370216
2025-01-08 14:28:06,549 - INFO - Deleting VN ctest-ext_vn-85846166
2025-01-08 14:28:06,632 - DEBUG - VN 1ae4ddf2-8d23-4d11-bb85-ad301a97a120 still in use: Unable to complete operation on network 1ae4ddf2-8d23-4d11-bb85-ad301a97a120. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cc2678ab-3560-4ce2-a3fd-dad8854ebb71']
2025-01-08 14:28:06,632 - WARNING - Deleting VN ctest-ext_vn-85846166 failed..Will retry
2025-01-08 14:28:08,750 - DEBUG - Response for deleting network ()
2025-01-08 14:28:08,750 - INFO - Deleting VN ctest-vn-57842750
2025-01-08 14:28:08,879 - DEBUG - Response for deleting network ()
2025-01-08 14:28:09,132 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 14:28:09,132 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-08 14:28:09,132 - INFO - --------------------------------------------------------------------------------
2025-01-08 14:28:09,803 - INFO - Deleted project: ctest-TestRoutersBasic-63758326, ID : e29ba33e-1159-456e-8f87-1a27cd1dfcbc