2025-08-20 11:28:58,232 - INFO - Domain Default found not creating
2025-08-20 11:28:58,356 - INFO - Project ctest-TestRoutersBasic-25064609 not found, creating it
2025-08-20 11:28:58,794 - INFO - Created Project:ctest-TestRoutersBasic-25064609, ID : d3c765ff-ae7b-4af9-bed4-2c56a224d8e3
2025-08-20 11:29:00,098 - INFO - ================================================================================
2025-08-20 11:29:00,098 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-20 11:29:00,099 - 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-20 11:29:00,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-08-20 11:29:00,349 - INFO - Initial checks done. Running the testcase now
2025-08-20 11:29:00,349 - INFO -
2025-08-20 11:29:01,018 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25064609
2025-08-20 11:29:01,116 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25064609
2025-08-20 11:29:01,448 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25064609', 'default']}
2025-08-20 11:29:01,729 - DEBUG - Response for create_network : {'network': {'id': '8cf9e0b2-ceb2-4dcf-9fe2-6868244239f1', 'name': 'ctest-vn-59432854', 'tenant_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'project_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25064609', 'ctest-vn-59432854'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 11:29:01,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e35a364-87e1-4f42-995d-ffd4ec8260e6', 'name': '', 'tenant_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'network_id': '8cf9e0b2-ceb2-4dcf-9fe2-6868244239f1', 'ip_version': 4, 'cidr': '4.172.207.128/26', 'allocation_pools': [{'start': '4.172.207.130', 'end': '4.172.207.190'}], 'gateway_ip': '4.172.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.172.207.130', 'tags': [], 'project_id': 'd3c765ffae7b4af9bed42c56a224d8e3'}}
2025-08-20 11:29:01,911 - INFO - Created VN ctest-vn-59432854
2025-08-20 11:29:01,964 - DEBUG - VN ctest-vn-59432854 UUID is 8cf9e0b2-ceb2-4dcf-9fe2-6868244239f1
2025-08-20 11:29:02,312 - DEBUG - Response for create_network : {'network': {'id': 'd110ba52-8e36-4b58-b610-3000d960ad7a', 'name': 'ctest-ext_vn-18673814', 'tenant_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'project_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25064609', 'ctest-ext_vn-18673814'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 11:29:02,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b15cdc36-c15f-4d14-a0b9-51c789f1567f', 'name': '', 'tenant_id': 'd3c765ffae7b4af9bed42c56a224d8e3', 'network_id': 'd110ba52-8e36-4b58-b610-3000d960ad7a', 'ip_version': 4, 'cidr': '85.65.217.128/26', 'allocation_pools': [{'start': '85.65.217.130', 'end': '85.65.217.190'}], 'gateway_ip': '85.65.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.65.217.130', 'tags': [], 'project_id': 'd3c765ffae7b4af9bed42c56a224d8e3'}}
2025-08-20 11:29:02,549 - INFO - Created VN ctest-ext_vn-18673814
2025-08-20 11:29:02,604 - DEBUG - VN ctest-ext_vn-18673814 UUID is d110ba52-8e36-4b58-b610-3000d960ad7a
2025-08-20 11:29:02,796 - DEBUG - Services list from nova: [, , ]
2025-08-20 11:29:03,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1)
2025-08-20 11:29:04,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1)
2025-08-20 11:29:04,990 - INFO - Setting gateway for router 3ece63dd-1eca-4621-a7a5-c2aae4c8d4e2 to network d110ba52-8e36-4b58-b610-3000d960ad7a
2025-08-20 11:29:05,071 - INFO - Adding interface with subnet_id 9e35a364-87e1-4f42-995d-ffd4ec8260e6, port_id None to router 3ece63dd-1eca-4621-a7a5-c2aae4c8d4e2
2025-08-20 11:29:05,505 - INFO - Waiting for VM ctest-TestRoutersBasic-25064609-86411707 to be up..
2025-08-20 11:29:05,616 - DEBUG - VM is in ACTIVE state now
2025-08-20 11:29:05,616 - INFO - VM name : ctest-TestRoutersBasic-25064609-86411707
2025-08-20 11:29:05,712 - DEBUG - VM ctest-TestRoutersBasic-25064609-86411707 ID is f7cbb1aa-860a-4cd9-b3c9-3d22919bbc7b
2025-08-20 11:29:05,734 - DEBUG - VM ctest-TestRoutersBasic-25064609-86411707 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1
2025-08-20 11:29:05,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f7cbb1aa-860a-4cd9-b3c9-3d22919bbc7b
2025-08-20 11:29:06,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f7cbb1aa-860a-4cd9-b3c9-3d22919bbc7b
2025-08-20 11:29:06,190 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/68f330da-a307-4607-ba81-736ee38b2c1d
2025-08-20 11:29:09,461 - 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 1019ms')
2025-08-20 11:29:09,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25064609-86411707 failed!
2025-08-20 11:29:09,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25064609:ctest-vn-59432854 is 4.172.207.129 and allocation pool is NOT set
2025-08-20 11:29:13,592 - 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 1010ms')
2025-08-20 11:29:13,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25064609-86411707 failed!
2025-08-20 11:29:13,648 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25064609:ctest-vn-59432854 is 4.172.207.129 and allocation pool is NOT set
2025-08-20 11:29:15,703 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/2.045/3.677/1.632 ms')
2025-08-20 11:29:15,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25064609-86411707 passed
2025-08-20 11:29:15,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 11:29:15,852 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25064609-86411707, IP 4.172.207.131, Port 22
2025-08-20 11:29:15,907 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-20 11:29:15,977 - DEBUG - VM ctest-TestRoutersBasic-25064609-86411707 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-20 11:29:20,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 11:29:20,978 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25064609-86411707, IP 4.172.207.131, Port 22
2025-08-20 11:29:21,136 - DEBUG - VM ctest-TestRoutersBasic-25064609-86411707 is ready for SSH connections
2025-08-20 11:29:21,136 - INFO - Waiting for VM ctest-TestRoutersBasic-25064609-56227010 to be up..
2025-08-20 11:29:21,201 - DEBUG - VM is in ACTIVE state now
2025-08-20 11:29:21,201 - INFO - VM name : ctest-TestRoutersBasic-25064609-56227010
2025-08-20 11:29:21,264 - DEBUG - VM ctest-TestRoutersBasic-25064609-56227010 ID is 6c0778df-a3ac-46ea-917d-9ce5cd2fd491
2025-08-20 11:29:21,264 - DEBUG - VM ctest-TestRoutersBasic-25064609-56227010 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1
2025-08-20 11:29:21,327 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c0778df-a3ac-46ea-917d-9ce5cd2fd491
2025-08-20 11:29:21,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/27dba7fc-f3b3-40b2-878c-db2a0984334d
2025-08-20 11:29:22,571 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 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.327/1.497/2.667/1.170 ms')
2025-08-20 11:29:22,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25064609-56227010 passed
2025-08-20 11:29:22,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 11:29:22,720 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25064609-56227010, IP 85.65.217.131, Port 22
2025-08-20 11:29:22,875 - DEBUG - VM ctest-TestRoutersBasic-25064609-56227010 is ready for SSH connections
2025-08-20 11:29:22,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 11:29:22,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.65.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-20 11:29:22,876 - DEBUG - ping -s 56 -c 3 -W 1 85.65.217.131
2025-08-20 11:29:26,913 - DEBUG - PING 85.65.217.131 (85.65.217.131): 56 data bytes
64 bytes from 85.65.217.131: seq=0 ttl=62 time=7.342 ms
64 bytes from 85.65.217.131: seq=1 ttl=62 time=0.748 ms
64 bytes from 85.65.217.131: seq=2 ttl=62 time=0.777 ms
--- 85.65.217.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.748/2.955/7.342 ms
2025-08-20 11:29:26,913 - INFO - Ping to IP 85.65.217.131 from VM ctest-TestRoutersBasic-25064609-86411707 passed
2025-08-20 11:29:26,913 - INFO - Deleting interface with subnet_id 9e35a364-87e1-4f42-995d-ffd4ec8260e6, port_id None from router 3ece63dd-1eca-4621-a7a5-c2aae4c8d4e2
2025-08-20 11:29:27,094 - INFO - Deleting VM ctest-TestRoutersBasic-25064609-56227010
2025-08-20 11:29:27,170 - INFO - Deleting VM ctest-TestRoutersBasic-25064609-86411707
2025-08-20 11:29:27,242 - INFO - Deleting VN ctest-ext_vn-18673814
2025-08-20 11:29:27,299 - DEBUG - VN d110ba52-8e36-4b58-b610-3000d960ad7a still in use: Unable to complete operation on network d110ba52-8e36-4b58-b610-3000d960ad7a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-aa7a5059-bff6-42eb-afe8-03707588c18a']
2025-08-20 11:29:27,299 - WARNING - Deleting VN ctest-ext_vn-18673814 failed..Will retry
2025-08-20 11:29:29,399 - DEBUG - Response for deleting network ()
2025-08-20 11:29:29,399 - INFO - Deleting VN ctest-vn-59432854
2025-08-20 11:29:29,490 - DEBUG - Response for deleting network ()
2025-08-20 11:29:29,745 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 11:29:29,745 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-08-20 11:29:29,745 - INFO - --------------------------------------------------------------------------------
2025-08-20 11:29:30,393 - INFO - Deleted project: ctest-TestRoutersBasic-25064609, ID : d3c765ff-ae7b-4af9-bed4-2c56a224d8e3