2025-08-13 17:02:33,640 - INFO - Domain Default found not creating
2025-08-13 17:02:33,763 - INFO - Project ctest-TestRoutersBasic-37310601 not found, creating it
2025-08-13 17:02:34,191 - INFO - Created Project:ctest-TestRoutersBasic-37310601, ID : 34193f75-f098-4d7a-bb1b-92eae9b3aa7b
2025-08-13 17:02:35,547 - INFO - ================================================================================
2025-08-13 17:02:35,547 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-13 17:02:35,547 - 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-13 17:02:35,797 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-08-13 17:02:35,797 - INFO - Initial checks done. Running the testcase now
2025-08-13 17:02:35,797 - INFO -
2025-08-13 17:02:36,488 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37310601
2025-08-13 17:02:36,584 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37310601
2025-08-13 17:02:36,899 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37310601', 'default']}
2025-08-13 17:02:37,209 - DEBUG - Response for create_network : {'network': {'id': '4cbae2f8-20bc-42ec-b422-f9e876920634', 'name': 'ctest-vn-12523422', 'tenant_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'project_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37310601', 'ctest-vn-12523422'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 17:02:37,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '71479254-98cc-4be7-a817-f1a73b184855', 'name': '', 'tenant_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'network_id': '4cbae2f8-20bc-42ec-b422-f9e876920634', 'ip_version': 4, 'cidr': '160.112.236.64/26', 'allocation_pools': [{'start': '160.112.236.66', 'end': '160.112.236.126'}], 'gateway_ip': '160.112.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.112.236.66', 'tags': [], 'project_id': '34193f75f0984d7abb1b92eae9b3aa7b'}}
2025-08-13 17:02:37,401 - INFO - Created VN ctest-vn-12523422
2025-08-13 17:02:37,452 - DEBUG - VN ctest-vn-12523422 UUID is 4cbae2f8-20bc-42ec-b422-f9e876920634
2025-08-13 17:02:37,817 - DEBUG - Response for create_network : {'network': {'id': '4d622085-dd26-4c69-9864-a1e94933795d', 'name': 'ctest-ext_vn-92859096', 'tenant_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'project_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37310601', 'ctest-ext_vn-92859096'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 17:02:37,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ca27680-aa77-4ba5-a94e-fe2e897962c0', 'name': '', 'tenant_id': '34193f75f0984d7abb1b92eae9b3aa7b', 'network_id': '4d622085-dd26-4c69-9864-a1e94933795d', 'ip_version': 4, 'cidr': '153.131.209.64/26', 'allocation_pools': [{'start': '153.131.209.66', 'end': '153.131.209.126'}], 'gateway_ip': '153.131.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.131.209.66', 'tags': [], 'project_id': '34193f75f0984d7abb1b92eae9b3aa7b'}}
2025-08-13 17:02:38,015 - INFO - Created VN ctest-ext_vn-92859096
2025-08-13 17:02:38,067 - DEBUG - VN ctest-ext_vn-92859096 UUID is 4d622085-dd26-4c69-9864-a1e94933795d
2025-08-13 17:02:38,264 - DEBUG - Services list from nova: [, , ]
2025-08-13 17:02:39,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1)
2025-08-13 17:02:40,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1)
2025-08-13 17:02:40,470 - INFO - Setting gateway for router 15b0ad61-b6e8-4184-b310-7020485c98f1 to network 4d622085-dd26-4c69-9864-a1e94933795d
2025-08-13 17:02:40,543 - INFO - Adding interface with subnet_id 71479254-98cc-4be7-a817-f1a73b184855, port_id None to router 15b0ad61-b6e8-4184-b310-7020485c98f1
2025-08-13 17:02:40,975 - INFO - Waiting for VM ctest-TestRoutersBasic-37310601-35691107 to be up..
2025-08-13 17:02:41,093 - DEBUG - VM is in ACTIVE state now
2025-08-13 17:02:41,093 - INFO - VM name : ctest-TestRoutersBasic-37310601-35691107
2025-08-13 17:02:41,232 - DEBUG - VM ctest-TestRoutersBasic-37310601-35691107 ID is 23e455cb-c23c-4aef-93c1-0f384b473562
2025-08-13 17:02:41,257 - DEBUG - VM ctest-TestRoutersBasic-37310601-35691107 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1
2025-08-13 17:02:41,376 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/23e455cb-c23c-4aef-93c1-0f384b473562
2025-08-13 17:02:41,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/23e455cb-c23c-4aef-93c1-0f384b473562
2025-08-13 17:02:41,732 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5c63e18a-7b49-41f1-903b-d270918fd450
2025-08-13 17:02:45,047 - 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 1016ms')
2025-08-13 17:02:45,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37310601-35691107 failed!
2025-08-13 17:02:45,100 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37310601:ctest-vn-12523422 is 160.112.236.65 and allocation pool is NOT set
2025-08-13 17:02:49,166 - 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-08-13 17:02:49,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37310601-35691107 failed!
2025-08-13 17:02:49,179 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37310601:ctest-vn-12523422 is 160.112.236.65 and allocation pool is NOT set
2025-08-13 17:02:51,243 - 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=5.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/3.147/5.842/2.694 ms')
2025-08-13 17:02:51,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37310601-35691107 passed
2025-08-13 17:02:51,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 17:02:51,396 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37310601-35691107, IP 160.112.236.67, Port 22
2025-08-13 17:02:51,547 - DEBUG - VM ctest-TestRoutersBasic-37310601-35691107 is ready for SSH connections
2025-08-13 17:02:51,547 - INFO - Waiting for VM ctest-TestRoutersBasic-37310601-97909989 to be up..
2025-08-13 17:02:51,610 - DEBUG - VM is in ACTIVE state now
2025-08-13 17:02:51,611 - INFO - VM name : ctest-TestRoutersBasic-37310601-97909989
2025-08-13 17:02:51,676 - DEBUG - VM ctest-TestRoutersBasic-37310601-97909989 ID is 9464ca9f-c026-43ef-a124-602c7636f1a6
2025-08-13 17:02:51,676 - DEBUG - VM ctest-TestRoutersBasic-37310601-97909989 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1
2025-08-13 17:02:51,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9464ca9f-c026-43ef-a124-602c7636f1a6
2025-08-13 17:02:51,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/df8c3b6c-3839-4e54-97c6-793852b65267
2025-08-13 17:02:52,974 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.468/2.562/1.093 ms')
2025-08-13 17:02:52,974 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37310601-97909989 passed
2025-08-13 17:02:53,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 17:02:53,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37310601-97909989, IP 153.131.209.67, Port 22
2025-08-13 17:02:53,283 - DEBUG - VM ctest-TestRoutersBasic-37310601-97909989 is ready for SSH connections
2025-08-13 17:02:53,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 17:02:53,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.131.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-13 17:02:53,283 - DEBUG - ping -s 56 -c 3 -W 1 153.131.209.67
2025-08-13 17:02:56,936 - DEBUG - PING 153.131.209.67 (153.131.209.67): 56 data bytes
64 bytes from 153.131.209.67: seq=0 ttl=62 time=4.981 ms
64 bytes from 153.131.209.67: seq=1 ttl=62 time=0.805 ms
64 bytes from 153.131.209.67: seq=2 ttl=62 time=0.696 ms
--- 153.131.209.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.696/2.160/4.981 ms
2025-08-13 17:02:56,936 - INFO - Ping to IP 153.131.209.67 from VM ctest-TestRoutersBasic-37310601-35691107 passed
2025-08-13 17:02:56,936 - INFO - Deleting interface with subnet_id 71479254-98cc-4be7-a817-f1a73b184855, port_id None from router 15b0ad61-b6e8-4184-b310-7020485c98f1
2025-08-13 17:02:57,133 - INFO - Deleting VM ctest-TestRoutersBasic-37310601-97909989
2025-08-13 17:02:57,206 - INFO - Deleting VM ctest-TestRoutersBasic-37310601-35691107
2025-08-13 17:02:57,299 - INFO - Deleting VN ctest-ext_vn-92859096
2025-08-13 17:02:57,377 - DEBUG - VN 4d622085-dd26-4c69-9864-a1e94933795d still in use: Unable to complete operation on network 4d622085-dd26-4c69-9864-a1e94933795d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d56e2aec-cd3b-4c6c-818d-10ef54ee68da']
2025-08-13 17:02:57,378 - WARNING - Deleting VN ctest-ext_vn-92859096 failed..Will retry
2025-08-13 17:02:59,520 - DEBUG - Response for deleting network ()
2025-08-13 17:02:59,520 - INFO - Deleting VN ctest-vn-12523422
2025-08-13 17:02:59,616 - DEBUG - Response for deleting network ()
2025-08-13 17:02:59,872 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 17:02:59,872 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-13 17:02:59,872 - INFO - --------------------------------------------------------------------------------
2025-08-13 17:03:00,522 - INFO - Deleted project: ctest-TestRoutersBasic-37310601, ID : 34193f75-f098-4d7a-bb1b-92eae9b3aa7b