2025-04-26 08:40:29,990 - INFO - Domain Default found not creating
2025-04-26 08:40:30,126 - INFO - Project ctest-TestRoutersBasic-80550562 not found, creating it
2025-04-26 08:40:30,568 - INFO - Created Project:ctest-TestRoutersBasic-80550562, ID : fdc7b589-e762-4b73-8552-77417688ed25
2025-04-26 08:40:31,946 - INFO - ================================================================================
2025-04-26 08:40:31,946 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-26 08:40:31,946 - 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-04-26 08:40:32,201 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-04-26 08:40:32,201 - INFO - Initial checks done. Running the testcase now
2025-04-26 08:40:32,201 - INFO -
2025-04-26 08:40:32,890 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80550562
2025-04-26 08:40:32,983 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80550562
2025-04-26 08:40:33,307 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80550562', 'default']}
2025-04-26 08:40:33,596 - DEBUG - Response for create_network : {'network': {'id': '0fb4a362-a41a-456a-8613-97d0ad8e7be3', 'name': 'ctest-vn-64974451', 'tenant_id': 'fdc7b589e7624b73855277417688ed25', 'project_id': 'fdc7b589e7624b73855277417688ed25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80550562', 'ctest-vn-64974451'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 08:40:33,813 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd955c621-9175-4af8-acf8-bbeca643faad', 'name': '', 'tenant_id': 'fdc7b589e7624b73855277417688ed25', 'network_id': '0fb4a362-a41a-456a-8613-97d0ad8e7be3', 'ip_version': 4, 'cidr': '173.208.118.64/26', 'allocation_pools': [{'start': '173.208.118.66', 'end': '173.208.118.126'}], 'gateway_ip': '173.208.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.208.118.66', 'tags': [], 'project_id': 'fdc7b589e7624b73855277417688ed25'}}
2025-04-26 08:40:33,830 - INFO - Created VN ctest-vn-64974451
2025-04-26 08:40:33,883 - DEBUG - VN ctest-vn-64974451 UUID is 0fb4a362-a41a-456a-8613-97d0ad8e7be3
2025-04-26 08:40:34,237 - DEBUG - Response for create_network : {'network': {'id': 'f77b4699-a076-4c5c-ba37-95a9a385ef5c', 'name': 'ctest-ext_vn-34905351', 'tenant_id': 'fdc7b589e7624b73855277417688ed25', 'project_id': 'fdc7b589e7624b73855277417688ed25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80550562', 'ctest-ext_vn-34905351'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 08:40:34,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5e0bd90-ac30-46d9-949a-9a688061fadb', 'name': '', 'tenant_id': 'fdc7b589e7624b73855277417688ed25', 'network_id': 'f77b4699-a076-4c5c-ba37-95a9a385ef5c', 'ip_version': 4, 'cidr': '1.127.60.64/26', 'allocation_pools': [{'start': '1.127.60.66', 'end': '1.127.60.126'}], 'gateway_ip': '1.127.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.127.60.66', 'tags': [], 'project_id': 'fdc7b589e7624b73855277417688ed25'}}
2025-04-26 08:40:34,436 - INFO - Created VN ctest-ext_vn-34905351
2025-04-26 08:40:34,487 - DEBUG - VN ctest-ext_vn-34905351 UUID is f77b4699-a076-4c5c-ba37-95a9a385ef5c
2025-04-26 08:40:34,691 - DEBUG - Services list from nova: [, , ]
2025-04-26 08:40:35,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3219-1)
2025-04-26 08:40:36,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3219-1)
2025-04-26 08:40:36,937 - INFO - Setting gateway for router 6497b97c-e9e4-432a-b85f-7b24bcb48253 to network f77b4699-a076-4c5c-ba37-95a9a385ef5c
2025-04-26 08:40:37,023 - INFO - Adding interface with subnet_id d955c621-9175-4af8-acf8-bbeca643faad, port_id None to router 6497b97c-e9e4-432a-b85f-7b24bcb48253
2025-04-26 08:40:37,520 - INFO - Waiting for VM ctest-TestRoutersBasic-80550562-43937486 to be up..
2025-04-26 08:40:37,739 - DEBUG - VM is in ACTIVE state now
2025-04-26 08:40:37,739 - INFO - VM name : ctest-TestRoutersBasic-80550562-43937486
2025-04-26 08:40:37,849 - DEBUG - VM ctest-TestRoutersBasic-80550562-43937486 ID is 279392f6-c82c-4230-95ce-23a612f8b15d
2025-04-26 08:40:37,874 - DEBUG - VM ctest-TestRoutersBasic-80550562-43937486 launched on Node cn-jenkins-deploy-platform-ansible-os-3219-1
2025-04-26 08:40:37,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/279392f6-c82c-4230-95ce-23a612f8b15d
2025-04-26 08:40:38,286 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/279392f6-c82c-4230-95ce-23a612f8b15d
2025-04-26 08:40:38,323 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f9b5566c-7cd5-4174-b6f1-f201fcbcfd1f
2025-04-26 08:40:41,594 - 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 1025ms')
2025-04-26 08:40:41,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80550562-43937486 failed!
2025-04-26 08:40:41,651 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80550562:ctest-vn-64974451 is 173.208.118.65 and allocation pool is NOT set
2025-04-26 08:40:45,721 - 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 1012ms')
2025-04-26 08:40:45,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80550562-43937486 failed!
2025-04-26 08:40:45,775 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80550562:ctest-vn-64974451 is 173.208.118.65 and allocation pool is NOT set
2025-04-26 08:40:47,847 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.632/2.867/1.234 ms')
2025-04-26 08:40:47,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80550562-43937486 passed
2025-04-26 08:40:48,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 08:40:48,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80550562-43937486, IP 173.208.118.67, Port 22
2025-04-26 08:40:48,158 - DEBUG - VM ctest-TestRoutersBasic-80550562-43937486 is ready for SSH connections
2025-04-26 08:40:48,158 - INFO - Waiting for VM ctest-TestRoutersBasic-80550562-81484530 to be up..
2025-04-26 08:40:48,234 - DEBUG - VM is in ACTIVE state now
2025-04-26 08:40:48,235 - INFO - VM name : ctest-TestRoutersBasic-80550562-81484530
2025-04-26 08:40:48,311 - DEBUG - VM ctest-TestRoutersBasic-80550562-81484530 ID is c41aba39-b708-4d07-8256-7ef8087f1391
2025-04-26 08:40:48,311 - DEBUG - VM ctest-TestRoutersBasic-80550562-81484530 launched on Node cn-jenkins-deploy-platform-ansible-os-3219-1
2025-04-26 08:40:48,387 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c41aba39-b708-4d07-8256-7ef8087f1391
2025-04-26 08:40:48,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/852ca42d-a9b9-474c-a4fe-92177a3b11af
2025-04-26 08:40:49,660 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.494/2.618/1.123 ms')
2025-04-26 08:40:49,660 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80550562-81484530 passed
2025-04-26 08:40:49,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 08:40:49,816 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80550562-81484530, IP 1.127.60.67, Port 22
2025-04-26 08:40:49,971 - DEBUG - VM ctest-TestRoutersBasic-80550562-81484530 is ready for SSH connections
2025-04-26 08:40:49,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 08:40:49,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.127.60.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-26 08:40:49,972 - DEBUG - ping -s 56 -c 3 -W 1 1.127.60.67
2025-04-26 08:40:53,615 - DEBUG - PING 1.127.60.67 (1.127.60.67): 56 data bytes
64 bytes from 1.127.60.67: seq=0 ttl=62 time=7.410 ms
64 bytes from 1.127.60.67: seq=1 ttl=62 time=0.936 ms
64 bytes from 1.127.60.67: seq=2 ttl=62 time=0.786 ms
--- 1.127.60.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.786/3.044/7.410 ms
2025-04-26 08:40:53,615 - INFO - Ping to IP 1.127.60.67 from VM ctest-TestRoutersBasic-80550562-43937486 passed
2025-04-26 08:40:53,615 - INFO - Deleting interface with subnet_id d955c621-9175-4af8-acf8-bbeca643faad, port_id None from router 6497b97c-e9e4-432a-b85f-7b24bcb48253
2025-04-26 08:40:53,811 - INFO - Deleting VM ctest-TestRoutersBasic-80550562-81484530
2025-04-26 08:40:53,873 - INFO - Deleting VM ctest-TestRoutersBasic-80550562-43937486
2025-04-26 08:40:53,942 - INFO - Deleting VN ctest-ext_vn-34905351
2025-04-26 08:40:54,013 - DEBUG - VN f77b4699-a076-4c5c-ba37-95a9a385ef5c still in use: Unable to complete operation on network f77b4699-a076-4c5c-ba37-95a9a385ef5c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7419bd3a-c8e5-4f0d-b856-e5006ceb378d']
2025-04-26 08:40:54,013 - WARNING - Deleting VN ctest-ext_vn-34905351 failed..Will retry
2025-04-26 08:40:56,128 - DEBUG - Response for deleting network ()
2025-04-26 08:40:56,128 - INFO - Deleting VN ctest-vn-64974451
2025-04-26 08:40:56,237 - DEBUG - Response for deleting network ()
2025-04-26 08:40:56,493 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 08:40:56,493 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-26 08:40:56,493 - INFO - --------------------------------------------------------------------------------
2025-04-26 08:40:57,225 - INFO - Deleted project: ctest-TestRoutersBasic-80550562, ID : fdc7b589-e762-4b73-8552-77417688ed25