2025-08-14 02:04:30,033 - INFO - Domain Default found not creating
2025-08-14 02:04:30,176 - INFO - Project ctest-TestRoutersBasic-29859970 not found, creating it
2025-08-14 02:04:30,644 - INFO - Created Project:ctest-TestRoutersBasic-29859970, ID : bc42a27f-3696-4d25-81c6-9cf86d54710b
2025-08-14 02:04:32,054 - INFO - ================================================================================
2025-08-14 02:04:32,054 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-14 02:04:32,054 - 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-08-14 02:04:32,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-08-14 02:04:32,305 - INFO - Initial checks done. Running the testcase now
2025-08-14 02:04:32,305 - INFO -
2025-08-14 02:04:32,988 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29859970
2025-08-14 02:04:33,088 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29859970
2025-08-14 02:04:33,403 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29859970', 'default']}
2025-08-14 02:04:33,686 - DEBUG - Response for create_network : {'network': {'id': '9f1144b5-a44e-49d2-9bd9-84ca8a609ed7', 'name': 'ctest-vn-91849478', 'tenant_id': 'bc42a27f36964d2581c69cf86d54710b', 'project_id': 'bc42a27f36964d2581c69cf86d54710b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29859970', 'ctest-vn-91849478'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 02:04:33,846 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c515595d-8316-4ea4-aca1-56287a26951e', 'name': '', 'tenant_id': 'bc42a27f36964d2581c69cf86d54710b', 'network_id': '9f1144b5-a44e-49d2-9bd9-84ca8a609ed7', 'ip_version': 4, 'cidr': '183.234.173.0/26', 'allocation_pools': [{'start': '183.234.173.2', 'end': '183.234.173.62'}], 'gateway_ip': '183.234.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.234.173.2', 'tags': [], 'project_id': 'bc42a27f36964d2581c69cf86d54710b'}}
2025-08-14 02:04:33,865 - INFO - Created VN ctest-vn-91849478
2025-08-14 02:04:33,916 - DEBUG - VN ctest-vn-91849478 UUID is 9f1144b5-a44e-49d2-9bd9-84ca8a609ed7
2025-08-14 02:04:34,236 - DEBUG - Response for create_network : {'network': {'id': 'f6e3d81c-fb71-4ecc-b672-68d6794b5547', 'name': 'ctest-ext_vn-14149021', 'tenant_id': 'bc42a27f36964d2581c69cf86d54710b', 'project_id': 'bc42a27f36964d2581c69cf86d54710b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29859970', 'ctest-ext_vn-14149021'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 02:04:34,406 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b541fc8b-c330-4e50-8a3f-005ae538dcbf', 'name': '', 'tenant_id': 'bc42a27f36964d2581c69cf86d54710b', 'network_id': 'f6e3d81c-fb71-4ecc-b672-68d6794b5547', 'ip_version': 4, 'cidr': '179.70.49.64/26', 'allocation_pools': [{'start': '179.70.49.66', 'end': '179.70.49.126'}], 'gateway_ip': '179.70.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.70.49.66', 'tags': [], 'project_id': 'bc42a27f36964d2581c69cf86d54710b'}}
2025-08-14 02:04:34,425 - INFO - Created VN ctest-ext_vn-14149021
2025-08-14 02:04:34,476 - DEBUG - VN ctest-ext_vn-14149021 UUID is f6e3d81c-fb71-4ecc-b672-68d6794b5547
2025-08-14 02:04:34,687 - DEBUG - Services list from nova: [, , ]
2025-08-14 02:04:35,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1)
2025-08-14 02:04:36,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1)
2025-08-14 02:04:36,864 - INFO - Setting gateway for router 975a80b5-3be4-451f-b5b0-bc4a1e3102b7 to network f6e3d81c-fb71-4ecc-b672-68d6794b5547
2025-08-14 02:04:36,932 - INFO - Adding interface with subnet_id c515595d-8316-4ea4-aca1-56287a26951e, port_id None to router 975a80b5-3be4-451f-b5b0-bc4a1e3102b7
2025-08-14 02:04:37,269 - INFO - Waiting for VM ctest-TestRoutersBasic-29859970-50202374 to be up..
2025-08-14 02:04:37,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 02:04:42,484 - DEBUG - VM is in ACTIVE state now
2025-08-14 02:04:42,484 - INFO - VM name : ctest-TestRoutersBasic-29859970-50202374
2025-08-14 02:04:42,562 - DEBUG - VM ctest-TestRoutersBasic-29859970-50202374 ID is ca64c662-5637-4e4b-a844-572fe6e85f71
2025-08-14 02:04:42,584 - DEBUG - VM ctest-TestRoutersBasic-29859970-50202374 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1
2025-08-14 02:04:42,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca64c662-5637-4e4b-a844-572fe6e85f71
2025-08-14 02:04:42,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca64c662-5637-4e4b-a844-572fe6e85f71
2025-08-14 02:04:42,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e4aeead2-c6c3-4a12-a44d-21ba79048440
2025-08-14 02:04:46,232 - 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 1009ms')
2025-08-14 02:04:46,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29859970-50202374 failed!
2025-08-14 02:04:46,292 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29859970:ctest-vn-91849478 is 183.234.173.1 and allocation pool is NOT set
2025-08-14 02:04:48,351 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/3.464/6.508/3.044 ms')
2025-08-14 02:04:48,351 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29859970-50202374 passed
2025-08-14 02:04:48,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 02:04:48,500 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29859970-50202374, IP 183.234.173.3, Port 22
2025-08-14 02:04:48,655 - DEBUG - VM ctest-TestRoutersBasic-29859970-50202374 is ready for SSH connections
2025-08-14 02:04:48,655 - INFO - Waiting for VM ctest-TestRoutersBasic-29859970-22422993 to be up..
2025-08-14 02:04:48,726 - DEBUG - VM is in ACTIVE state now
2025-08-14 02:04:48,726 - INFO - VM name : ctest-TestRoutersBasic-29859970-22422993
2025-08-14 02:04:48,798 - DEBUG - VM ctest-TestRoutersBasic-29859970-22422993 ID is 63c97d31-f755-420f-a873-a438f2f85e1e
2025-08-14 02:04:48,798 - DEBUG - VM ctest-TestRoutersBasic-29859970-22422993 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1
2025-08-14 02:04:48,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63c97d31-f755-420f-a873-a438f2f85e1e
2025-08-14 02:04:48,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70983444-ee49-4d6f-a759-fb74e7704b90
2025-08-14 02:04:50,116 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.713/3.012/1.298 ms')
2025-08-14 02:04:50,116 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29859970-22422993 passed
2025-08-14 02:04:50,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 02:04:50,272 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29859970-22422993, IP 179.70.49.67, Port 22
2025-08-14 02:04:50,443 - DEBUG - VM ctest-TestRoutersBasic-29859970-22422993 is ready for SSH connections
2025-08-14 02:04:50,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 02:04:50,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.70.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-14 02:04:50,443 - DEBUG - ping -s 56 -c 3 -W 1 179.70.49.67
2025-08-14 02:04:54,118 - DEBUG - PING 179.70.49.67 (179.70.49.67): 56 data bytes
64 bytes from 179.70.49.67: seq=0 ttl=62 time=6.765 ms
64 bytes from 179.70.49.67: seq=1 ttl=62 time=1.008 ms
64 bytes from 179.70.49.67: seq=2 ttl=62 time=0.752 ms
--- 179.70.49.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.752/2.841/6.765 ms
2025-08-14 02:04:54,118 - INFO - Ping to IP 179.70.49.67 from VM ctest-TestRoutersBasic-29859970-50202374 passed
2025-08-14 02:04:54,118 - INFO - Deleting interface with subnet_id c515595d-8316-4ea4-aca1-56287a26951e, port_id None from router 975a80b5-3be4-451f-b5b0-bc4a1e3102b7
2025-08-14 02:04:54,303 - INFO - Deleting VM ctest-TestRoutersBasic-29859970-22422993
2025-08-14 02:04:54,370 - INFO - Deleting VM ctest-TestRoutersBasic-29859970-50202374
2025-08-14 02:04:54,439 - INFO - Deleting VN ctest-ext_vn-14149021
2025-08-14 02:04:54,498 - DEBUG - VN f6e3d81c-fb71-4ecc-b672-68d6794b5547 still in use: Unable to complete operation on network f6e3d81c-fb71-4ecc-b672-68d6794b5547. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-30041511-1f77-4efa-a62c-670abdc46835']
2025-08-14 02:04:54,498 - WARNING - Deleting VN ctest-ext_vn-14149021 failed..Will retry
2025-08-14 02:04:56,593 - DEBUG - Response for deleting network ()
2025-08-14 02:04:56,593 - INFO - Deleting VN ctest-vn-91849478
2025-08-14 02:04:56,712 - DEBUG - Response for deleting network ()
2025-08-14 02:04:56,968 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 02:04:56,969 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-14 02:04:56,969 - INFO - --------------------------------------------------------------------------------
2025-08-14 02:04:57,616 - INFO - Deleted project: ctest-TestRoutersBasic-29859970, ID : bc42a27f-3696-4d25-81c6-9cf86d54710b