2025-11-05 15:54:59,356 - INFO - Domain Default found not creating
2025-11-05 15:54:59,519 - INFO - Project ctest-TestRoutersBasic-23078586 not found, creating it
2025-11-05 15:54:59,999 - INFO - Created Project:ctest-TestRoutersBasic-23078586, ID : 33c322e9-108d-4177-b1ce-778abcfc9367
2025-11-05 15:55:01,622 - INFO - ================================================================================
2025-11-05 15:55:01,622 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-05 15:55:01,622 - 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-11-05 15:55:01,875 - WARNING - Test is running with cores: {'10.0.0.40': ['core.isc-loop-0003.72957.cn-jenkins-deploy-platform-ansible-os-4646-1.1762357600']}
2025-11-05 15:55:01,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.200': '0'}} with
2025-11-05 15:55:01,881 - INFO - Initial checks done. Running the testcase now
2025-11-05 15:55:01,881 - INFO -
2025-11-05 15:55:02,695 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23078586
2025-11-05 15:55:02,796 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23078586
2025-11-05 15:55:03,115 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23078586', 'default']}
2025-11-05 15:55:03,404 - DEBUG - Response for create_network : {'network': {'id': '32e22347-5ae2-4c15-887d-7d379b3fae00', 'name': 'ctest-vn-79445247', 'tenant_id': '33c322e9108d4177b1ce778abcfc9367', 'project_id': '33c322e9108d4177b1ce778abcfc9367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23078586', 'ctest-vn-79445247'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 15:55:03,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '90d39180-48c8-4c7f-95a7-23139e1224f7', 'name': '', 'tenant_id': '33c322e9108d4177b1ce778abcfc9367', 'network_id': '32e22347-5ae2-4c15-887d-7d379b3fae00', 'ip_version': 4, 'cidr': '49.202.139.128/26', 'allocation_pools': [{'start': '49.202.139.130', 'end': '49.202.139.190'}], 'gateway_ip': '49.202.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.202.139.130', 'tags': [], 'project_id': '33c322e9108d4177b1ce778abcfc9367'}}
2025-11-05 15:55:03,610 - INFO - Created VN ctest-vn-79445247
2025-11-05 15:55:03,663 - DEBUG - VN ctest-vn-79445247 UUID is 32e22347-5ae2-4c15-887d-7d379b3fae00
2025-11-05 15:55:03,986 - DEBUG - Response for create_network : {'network': {'id': 'a9f76e35-a230-4467-b7ae-d961d8bec4e8', 'name': 'ctest-ext_vn-80804563', 'tenant_id': '33c322e9108d4177b1ce778abcfc9367', 'project_id': '33c322e9108d4177b1ce778abcfc9367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23078586', 'ctest-ext_vn-80804563'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 15:55:04,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f3c158b-d23b-463e-b396-7248bcd3a95d', 'name': '', 'tenant_id': '33c322e9108d4177b1ce778abcfc9367', 'network_id': 'a9f76e35-a230-4467-b7ae-d961d8bec4e8', 'ip_version': 4, 'cidr': '91.55.45.128/26', 'allocation_pools': [{'start': '91.55.45.130', 'end': '91.55.45.190'}], 'gateway_ip': '91.55.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.55.45.130', 'tags': [], 'project_id': '33c322e9108d4177b1ce778abcfc9367'}}
2025-11-05 15:55:04,245 - INFO - Created VN ctest-ext_vn-80804563
2025-11-05 15:55:04,299 - DEBUG - VN ctest-ext_vn-80804563 UUID is a9f76e35-a230-4467-b7ae-d961d8bec4e8
2025-11-05 15:55:04,478 - DEBUG - Services list from nova: [, , ]
2025-11-05 15:55:05,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1)
2025-11-05 15:55:06,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1)
2025-11-05 15:55:06,943 - INFO - Setting gateway for router 5a59ae79-ef88-435e-bf50-67cac26a534f to network a9f76e35-a230-4467-b7ae-d961d8bec4e8
2025-11-05 15:55:07,026 - INFO - Adding interface with subnet_id 90d39180-48c8-4c7f-95a7-23139e1224f7, port_id None to router 5a59ae79-ef88-435e-bf50-67cac26a534f
2025-11-05 15:55:07,368 - INFO - Waiting for VM ctest-TestRoutersBasic-23078586-20617018 to be up..
2025-11-05 15:55:07,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 15:55:12,586 - DEBUG - VM is in ACTIVE state now
2025-11-05 15:55:12,586 - INFO - VM name : ctest-TestRoutersBasic-23078586-20617018
2025-11-05 15:55:12,676 - DEBUG - VM ctest-TestRoutersBasic-23078586-20617018 ID is 098e4ec2-988a-4fce-90ae-99622ca724a1
2025-11-05 15:55:12,697 - DEBUG - VM ctest-TestRoutersBasic-23078586-20617018 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1
2025-11-05 15:55:12,791 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/098e4ec2-988a-4fce-90ae-99622ca724a1
2025-11-05 15:55:13,138 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/098e4ec2-988a-4fce-90ae-99622ca724a1
2025-11-05 15:55:13,182 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/078a93bd-f536-4d18-ae6a-5b5a6dfa86cf
2025-11-05 15:55:16,442 - 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 1005ms')
2025-11-05 15:55:16,442 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23078586-20617018 failed!
2025-11-05 15:55:16,499 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23078586:ctest-vn-79445247 is 49.202.139.129 and allocation pool is NOT set
2025-11-05 15:55:18,557 - 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=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.988 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.988/2.940/4.892/1.952 ms')
2025-11-05 15:55:18,557 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23078586-20617018 passed
2025-11-05 15:55:18,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 15:55:18,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23078586-20617018, IP 49.202.139.131, Port 22
2025-11-05 15:55:18,877 - DEBUG - VM ctest-TestRoutersBasic-23078586-20617018 is ready for SSH connections
2025-11-05 15:55:18,877 - INFO - Waiting for VM ctest-TestRoutersBasic-23078586-01429559 to be up..
2025-11-05 15:55:18,967 - DEBUG - VM is in ACTIVE state now
2025-11-05 15:55:18,967 - INFO - VM name : ctest-TestRoutersBasic-23078586-01429559
2025-11-05 15:55:19,053 - DEBUG - VM ctest-TestRoutersBasic-23078586-01429559 ID is fef12c3d-dd66-4dd4-a7be-647778d45feb
2025-11-05 15:55:19,053 - DEBUG - VM ctest-TestRoutersBasic-23078586-01429559 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1
2025-11-05 15:55:19,134 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/fef12c3d-dd66-4dd4-a7be-647778d45feb
2025-11-05 15:55:19,143 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/932df491-b4f4-4469-b0b4-943944a15636
2025-11-05 15:55:20,386 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.727 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.727/2.291/3.855/1.564 ms')
2025-11-05 15:55:20,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23078586-01429559 passed
2025-11-05 15:55:20,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 15:55:20,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23078586-01429559, IP 91.55.45.131, Port 22
2025-11-05 15:55:20,707 - DEBUG - VM ctest-TestRoutersBasic-23078586-01429559 is ready for SSH connections
2025-11-05 15:55:20,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 15:55:20,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.55.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2025-11-05 15:55:20,708 - DEBUG - ping -s 56 -c 3 -W 1 91.55.45.131
2025-11-05 15:55:24,495 - DEBUG - PING 91.55.45.131 (91.55.45.131): 56 data bytes
64 bytes from 91.55.45.131: seq=0 ttl=62 time=4.701 ms
64 bytes from 91.55.45.131: seq=1 ttl=62 time=1.454 ms
64 bytes from 91.55.45.131: seq=2 ttl=62 time=0.937 ms
--- 91.55.45.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.937/2.364/4.701 ms
2025-11-05 15:55:24,495 - INFO - Ping to IP 91.55.45.131 from VM ctest-TestRoutersBasic-23078586-20617018 passed
2025-11-05 15:55:24,495 - INFO - Deleting interface with subnet_id 90d39180-48c8-4c7f-95a7-23139e1224f7, port_id None from router 5a59ae79-ef88-435e-bf50-67cac26a534f
2025-11-05 15:55:24,678 - INFO - Deleting VM ctest-TestRoutersBasic-23078586-01429559
2025-11-05 15:55:24,745 - INFO - Deleting VM ctest-TestRoutersBasic-23078586-20617018
2025-11-05 15:55:24,838 - INFO - Deleting VN ctest-ext_vn-80804563
2025-11-05 15:55:24,921 - DEBUG - VN a9f76e35-a230-4467-b7ae-d961d8bec4e8 still in use: Unable to complete operation on network a9f76e35-a230-4467-b7ae-d961d8bec4e8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0622926b-9293-483f-bf09-a60f407b1304']
2025-11-05 15:55:24,922 - WARNING - Deleting VN ctest-ext_vn-80804563 failed..Will retry
2025-11-05 15:55:27,022 - DEBUG - Response for deleting network ()
2025-11-05 15:55:27,022 - INFO - Deleting VN ctest-vn-79445247
2025-11-05 15:55:27,128 - DEBUG - Response for deleting network ()
2025-11-05 15:55:27,386 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:55:27,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-05 15:55:27,386 - INFO - --------------------------------------------------------------------------------
2025-11-05 15:55:28,135 - INFO - Deleted project: ctest-TestRoutersBasic-23078586, ID : 33c322e9-108d-4177-b1ce-778abcfc9367