2025-05-05 02:07:33,237 - INFO - Domain Default found not creating
2025-05-05 02:07:33,374 - INFO - Project ctest-TestRoutersBasic-10109468 not found, creating it
2025-05-05 02:07:33,862 - INFO - Created Project:ctest-TestRoutersBasic-10109468, ID : 75d4d149-4571-471d-a8d9-34d5d4068cad
2025-05-05 02:07:35,387 - INFO - ================================================================================
2025-05-05 02:07:35,387 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-05 02:07:35,387 - 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-05-05 02:07:35,645 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with
2025-05-05 02:07:35,645 - INFO - Initial checks done. Running the testcase now
2025-05-05 02:07:35,646 - INFO -
2025-05-05 02:07:36,427 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10109468
2025-05-05 02:07:36,528 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10109468
2025-05-05 02:07:36,856 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109468', 'default']}
2025-05-05 02:07:37,187 - DEBUG - Response for create_network : {'network': {'id': 'ce796eef-6077-4511-b723-aa7a7ada40c8', 'name': 'ctest-vn-07820627', 'tenant_id': '75d4d1494571471da8d934d5d4068cad', 'project_id': '75d4d1494571471da8d934d5d4068cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109468', 'ctest-vn-07820627'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:07:37,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b93a81e-d80a-4ca1-b7ba-d19afee1ef71', 'name': '', 'tenant_id': '75d4d1494571471da8d934d5d4068cad', 'network_id': 'ce796eef-6077-4511-b723-aa7a7ada40c8', 'ip_version': 4, 'cidr': '57.147.168.0/26', 'allocation_pools': [{'start': '57.147.168.2', 'end': '57.147.168.62'}], 'gateway_ip': '57.147.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.147.168.2', 'tags': [], 'project_id': '75d4d1494571471da8d934d5d4068cad'}}
2025-05-05 02:07:37,501 - INFO - Created VN ctest-vn-07820627
2025-05-05 02:07:37,560 - DEBUG - VN ctest-vn-07820627 UUID is ce796eef-6077-4511-b723-aa7a7ada40c8
2025-05-05 02:07:37,877 - DEBUG - Response for create_network : {'network': {'id': 'd4d0b439-b8b1-4145-a94f-eeb514ac6531', 'name': 'ctest-ext_vn-36555532', 'tenant_id': '75d4d1494571471da8d934d5d4068cad', 'project_id': '75d4d1494571471da8d934d5d4068cad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109468', 'ctest-ext_vn-36555532'], 'port_security_enabled': True, 'description': ''}}
2025-05-05 02:07:38,096 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9dab938-e80b-44e5-9866-51dbed68153d', 'name': '', 'tenant_id': '75d4d1494571471da8d934d5d4068cad', 'network_id': 'd4d0b439-b8b1-4145-a94f-eeb514ac6531', 'ip_version': 4, 'cidr': '216.4.70.64/26', 'allocation_pools': [{'start': '216.4.70.66', 'end': '216.4.70.126'}], 'gateway_ip': '216.4.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.4.70.66', 'tags': [], 'project_id': '75d4d1494571471da8d934d5d4068cad'}}
2025-05-05 02:07:38,114 - INFO - Created VN ctest-ext_vn-36555532
2025-05-05 02:07:38,168 - DEBUG - VN ctest-ext_vn-36555532 UUID is d4d0b439-b8b1-4145-a94f-eeb514ac6531
2025-05-05 02:07:38,371 - DEBUG - Services list from nova: [, , ]
2025-05-05 02:07:39,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3265-1)
2025-05-05 02:07:40,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3265-1)
2025-05-05 02:07:40,756 - INFO - Setting gateway for router c6a3a267-4463-4147-a530-48324ec4a4f5 to network d4d0b439-b8b1-4145-a94f-eeb514ac6531
2025-05-05 02:07:40,829 - INFO - Adding interface with subnet_id 7b93a81e-d80a-4ca1-b7ba-d19afee1ef71, port_id None to router c6a3a267-4463-4147-a530-48324ec4a4f5
2025-05-05 02:07:41,321 - INFO - Waiting for VM ctest-TestRoutersBasic-10109468-43529122 to be up..
2025-05-05 02:07:41,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-05 02:07:46,588 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:07:46,588 - INFO - VM name : ctest-TestRoutersBasic-10109468-43529122
2025-05-05 02:07:46,666 - DEBUG - VM ctest-TestRoutersBasic-10109468-43529122 ID is 79eb09b0-00e0-4fcd-b3c2-71b586996c6b
2025-05-05 02:07:46,686 - DEBUG - VM ctest-TestRoutersBasic-10109468-43529122 launched on Node cn-jenkins-deploy-platform-ansible-os-3265-1
2025-05-05 02:07:46,772 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/79eb09b0-00e0-4fcd-b3c2-71b586996c6b
2025-05-05 02:07:47,109 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/79eb09b0-00e0-4fcd-b3c2-71b586996c6b
2025-05-05 02:07:47,143 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ef68d6b6-01e5-4c49-81d2-3b630d15476a
2025-05-05 02:07:50,414 - 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 1014ms')
2025-05-05 02:07:50,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10109468-43529122 failed!
2025-05-05 02:07:50,468 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10109468:ctest-vn-07820627 is 57.147.168.1 and allocation pool is NOT set
2025-05-05 02:07:52,531 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/5.848/11.282/5.433 ms')
2025-05-05 02:07:52,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10109468-43529122 passed
2025-05-05 02:07:52,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:07:52,684 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10109468-43529122, IP 57.147.168.3, Port 22
2025-05-05 02:07:52,847 - DEBUG - VM ctest-TestRoutersBasic-10109468-43529122 is ready for SSH connections
2025-05-05 02:07:52,847 - INFO - Waiting for VM ctest-TestRoutersBasic-10109468-88760648 to be up..
2025-05-05 02:07:52,921 - DEBUG - VM is in ACTIVE state now
2025-05-05 02:07:52,921 - INFO - VM name : ctest-TestRoutersBasic-10109468-88760648
2025-05-05 02:07:52,992 - DEBUG - VM ctest-TestRoutersBasic-10109468-88760648 ID is fc45bc65-6153-476b-912c-bbcdad47c43e
2025-05-05 02:07:52,993 - DEBUG - VM ctest-TestRoutersBasic-10109468-88760648 launched on Node cn-jenkins-deploy-platform-ansible-os-3265-1
2025-05-05 02:07:53,065 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/fc45bc65-6153-476b-912c-bbcdad47c43e
2025-05-05 02:07:53,074 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/26db657d-db2b-4c6c-9452-206814f1a10c
2025-05-05 02:07:54,312 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.691/2.999/1.308 ms')
2025-05-05 02:07:54,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10109468-88760648 passed
2025-05-05 02:07:54,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:07:54,468 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10109468-88760648, IP 216.4.70.67, Port 22
2025-05-05 02:07:54,623 - DEBUG - VM ctest-TestRoutersBasic-10109468-88760648 is ready for SSH connections
2025-05-05 02:07:54,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-05 02:07:54,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.4.70.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-05-05 02:07:54,623 - DEBUG - ping -s 56 -c 3 -W 1 216.4.70.67
2025-05-05 02:07:58,322 - DEBUG - PING 216.4.70.67 (216.4.70.67): 56 data bytes
64 bytes from 216.4.70.67: seq=0 ttl=62 time=5.938 ms
64 bytes from 216.4.70.67: seq=1 ttl=62 time=1.012 ms
64 bytes from 216.4.70.67: seq=2 ttl=62 time=0.954 ms
--- 216.4.70.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.954/2.634/5.938 ms
2025-05-05 02:07:58,322 - INFO - Ping to IP 216.4.70.67 from VM ctest-TestRoutersBasic-10109468-43529122 passed
2025-05-05 02:07:58,322 - INFO - Deleting interface with subnet_id 7b93a81e-d80a-4ca1-b7ba-d19afee1ef71, port_id None from router c6a3a267-4463-4147-a530-48324ec4a4f5
2025-05-05 02:07:58,533 - INFO - Deleting VM ctest-TestRoutersBasic-10109468-88760648
2025-05-05 02:07:58,604 - INFO - Deleting VM ctest-TestRoutersBasic-10109468-43529122
2025-05-05 02:07:58,699 - INFO - Deleting VN ctest-ext_vn-36555532
2025-05-05 02:07:58,781 - DEBUG - VN d4d0b439-b8b1-4145-a94f-eeb514ac6531 still in use: Unable to complete operation on network d4d0b439-b8b1-4145-a94f-eeb514ac6531. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ccf8a1a9-ee8a-4b39-9a90-4763808717a2']
2025-05-05 02:07:58,781 - WARNING - Deleting VN ctest-ext_vn-36555532 failed..Will retry
2025-05-05 02:08:00,881 - DEBUG - Response for deleting network ()
2025-05-05 02:08:00,881 - INFO - Deleting VN ctest-vn-07820627
2025-05-05 02:08:00,985 - DEBUG - Response for deleting network ()
2025-05-05 02:08:01,242 - DEBUG - No XMPP flaps were noticed during the test
2025-05-05 02:08:01,242 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-05 02:08:01,242 - INFO - --------------------------------------------------------------------------------
2025-05-05 02:08:01,973 - INFO - Deleted project: ctest-TestRoutersBasic-10109468, ID : 75d4d149-4571-471d-a8d9-34d5d4068cad