2025-10-02 02:04:24,027 - INFO - Domain Default found not creating
2025-10-02 02:04:24,161 - INFO - Project ctest-TestRoutersBasic-55946618 not found, creating it
2025-10-02 02:04:24,641 - INFO - Created Project:ctest-TestRoutersBasic-55946618, ID : f4daaa22-f9a6-4be9-a0bb-de3674ab7833
2025-10-02 02:04:26,164 - INFO - ================================================================================
2025-10-02 02:04:26,164 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-02 02:04:26,165 - 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-10-02 02:04:27,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-10-02 02:04:27,440 - INFO - Initial checks done. Running the testcase now
2025-10-02 02:04:27,440 - INFO -
2025-10-02 02:04:28,179 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55946618
2025-10-02 02:04:28,243 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55946618
2025-10-02 02:04:28,548 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55946618', 'default']}
2025-10-02 02:04:28,966 - DEBUG - Response for create_network : {'network': {'id': 'f0d17179-f895-4ed8-8ca4-cac0ae1b2c86', 'name': 'ctest-vn-49728899', 'tenant_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'project_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55946618', 'ctest-vn-49728899'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 02:04:29,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e12af76-fe2b-4971-9dd4-37d184f45168', 'name': '', 'tenant_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'network_id': 'f0d17179-f895-4ed8-8ca4-cac0ae1b2c86', 'ip_version': 4, 'cidr': '125.94.80.128/26', 'allocation_pools': [{'start': '125.94.80.130', 'end': '125.94.80.190'}], 'gateway_ip': '125.94.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.94.80.130', 'tags': [], 'project_id': 'f4daaa22f9a64be9a0bbde3674ab7833'}}
2025-10-02 02:04:29,320 - INFO - Created VN ctest-vn-49728899
2025-10-02 02:04:29,331 - DEBUG - VN ctest-vn-49728899 UUID is f0d17179-f895-4ed8-8ca4-cac0ae1b2c86
2025-10-02 02:04:29,714 - DEBUG - Response for create_network : {'network': {'id': 'dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b', 'name': 'ctest-ext_vn-11906575', 'tenant_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'project_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55946618', 'ctest-ext_vn-11906575'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 02:04:29,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6baad09-0949-4041-a3f3-7772846fa6fb', 'name': '', 'tenant_id': 'f4daaa22f9a64be9a0bbde3674ab7833', 'network_id': 'dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b', 'ip_version': 4, 'cidr': '222.92.86.192/26', 'allocation_pools': [{'start': '222.92.86.194', 'end': '222.92.86.254'}], 'gateway_ip': '222.92.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.92.86.194', 'tags': [], 'project_id': 'f4daaa22f9a64be9a0bbde3674ab7833'}}
2025-10-02 02:04:29,988 - INFO - Created VN ctest-ext_vn-11906575
2025-10-02 02:04:30,004 - DEBUG - VN ctest-ext_vn-11906575 UUID is dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b
2025-10-02 02:04:30,135 - DEBUG - Services list from nova: [, , , ]
2025-10-02 02:04:31,154 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2)
2025-10-02 02:04:32,437 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-1)
2025-10-02 02:04:32,530 - INFO - Setting gateway for router b7cc4181-55be-489d-aabd-421ca2040b22 to network dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b
2025-10-02 02:04:32,624 - INFO - Adding interface with subnet_id 5e12af76-fe2b-4971-9dd4-37d184f45168, port_id None to router b7cc4181-55be-489d-aabd-421ca2040b22
2025-10-02 02:04:33,050 - INFO - Waiting for VM ctest-TestRoutersBasic-55946618-74293881 to be up..
2025-10-02 02:04:33,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-02 02:04:38,303 - DEBUG - VM is in ACTIVE state now
2025-10-02 02:04:38,303 - INFO - VM name : ctest-TestRoutersBasic-55946618-74293881
2025-10-02 02:04:38,386 - DEBUG - VM ctest-TestRoutersBasic-55946618-74293881 ID is 4b8283b2-1626-45ba-9d19-351061c04471
2025-10-02 02:04:38,422 - DEBUG - VM ctest-TestRoutersBasic-55946618-74293881 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2
2025-10-02 02:04:38,497 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4b8283b2-1626-45ba-9d19-351061c04471
2025-10-02 02:04:38,794 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4b8283b2-1626-45ba-9d19-351061c04471
2025-10-02 02:04:38,830 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/55431ed5-7886-4912-9e35-bf67205e85c7
2025-10-02 02:04:42,023 - 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 1026ms')
2025-10-02 02:04:42,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55946618-74293881 failed!
2025-10-02 02:04:42,037 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55946618:ctest-vn-49728899 is 125.94.80.129 and allocation pool is NOT set
2025-10-02 02:04:44,100 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/2.388/4.274/1.886 ms')
2025-10-02 02:04:44,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55946618-74293881 passed
2025-10-02 02:04:44,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:44,173 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55946618-74293881, IP 125.94.80.131, Port 22
2025-10-02 02:04:44,335 - DEBUG - VM ctest-TestRoutersBasic-55946618-74293881 is ready for SSH connections
2025-10-02 02:04:44,336 - INFO - Waiting for VM ctest-TestRoutersBasic-55946618-48028279 to be up..
2025-10-02 02:04:44,450 - DEBUG - VM is in ACTIVE state now
2025-10-02 02:04:44,450 - INFO - VM name : ctest-TestRoutersBasic-55946618-48028279
2025-10-02 02:04:44,545 - DEBUG - VM ctest-TestRoutersBasic-55946618-48028279 ID is 2a024bad-d37f-4714-b8b4-47d95d443473
2025-10-02 02:04:44,545 - DEBUG - VM ctest-TestRoutersBasic-55946618-48028279 launched on Node an-jenkins-deploy-platform-ansible-os-4210-1
2025-10-02 02:04:44,658 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2a024bad-d37f-4714-b8b4-47d95d443473
2025-10-02 02:04:44,670 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/25fb2200-3b69-49ed-b21d-2b63dfe8c2d8
2025-10-02 02:04:45,847 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 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.521/1.901/3.282/1.380 ms')
2025-10-02 02:04:45,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55946618-48028279 passed
2025-10-02 02:04:45,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:45,914 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55946618-48028279, IP 222.92.86.195, Port 22
2025-10-02 02:04:46,080 - DEBUG - VM ctest-TestRoutersBasic-55946618-48028279 is ready for SSH connections
2025-10-02 02:04:46,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 02:04:46,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.92.86.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 02:04:46,080 - DEBUG - ping -s 56 -c 3 -W 1 222.92.86.195
2025-10-02 02:04:49,779 - DEBUG - PING 222.92.86.195 (222.92.86.195): 56 data bytes
64 bytes from 222.92.86.195: seq=0 ttl=62 time=8.471 ms
64 bytes from 222.92.86.195: seq=1 ttl=62 time=1.423 ms
64 bytes from 222.92.86.195: seq=2 ttl=62 time=1.667 ms
--- 222.92.86.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.423/3.853/8.471 ms
2025-10-02 02:04:49,779 - INFO - Ping to IP 222.92.86.195 from VM ctest-TestRoutersBasic-55946618-74293881 passed
2025-10-02 02:04:49,779 - INFO - Deleting interface with subnet_id 5e12af76-fe2b-4971-9dd4-37d184f45168, port_id None from router b7cc4181-55be-489d-aabd-421ca2040b22
2025-10-02 02:04:50,135 - INFO - Deleting VM ctest-TestRoutersBasic-55946618-48028279
2025-10-02 02:04:50,240 - INFO - Deleting VM ctest-TestRoutersBasic-55946618-74293881
2025-10-02 02:04:50,321 - INFO - Deleting VN ctest-ext_vn-11906575
2025-10-02 02:04:50,423 - DEBUG - VN dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b still in use: Unable to complete operation on network dd0f0b3b-da12-4e70-aaa4-ab3dfbd5e76b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cce19a8d-86d1-42f9-8ff7-f56137fd926c']
2025-10-02 02:04:50,423 - WARNING - Deleting VN ctest-ext_vn-11906575 failed..Will retry
2025-10-02 02:04:52,569 - DEBUG - Response for deleting network ()
2025-10-02 02:04:52,569 - INFO - Deleting VN ctest-vn-49728899
2025-10-02 02:04:52,764 - DEBUG - Response for deleting network ()
2025-10-02 02:04:54,021 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 02:04:54,021 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-02 02:04:54,021 - INFO - --------------------------------------------------------------------------------
2025-10-02 02:04:54,783 - INFO - Deleted project: ctest-TestRoutersBasic-55946618, ID : f4daaa22-f9a6-4be9-a0bb-de3674ab7833