2025-10-23 21:22:17,367 - INFO - Domain Default found not creating
2025-10-23 21:22:17,525 - INFO - Project ctest-TestRoutersBasic-00494608 not found, creating it
2025-10-23 21:22:17,976 - INFO - Created Project:ctest-TestRoutersBasic-00494608, ID : 2dc61c1f-ad22-489d-ac96-83e82947e841 
2025-10-23 21:22:19,588 - INFO - ================================================================================
2025-10-23 21:22:19,588 - INFO - STARTING TEST    : test_basic_snat_behavior_without_external_connectivity
2025-10-23 21:22:19,588 - 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-23 21:22:19,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-23 21:22:19,841 - INFO - Initial checks done. Running the testcase now
2025-10-23 21:22:19,842 - INFO - 
2025-10-23 21:22:20,638 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00494608
2025-10-23 21:22:20,732 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00494608
2025-10-23 21:22:21,055 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494608', 'default']}
2025-10-23 21:22:21,349 - DEBUG - Response for create_network : {'network': {'id': 'c7511590-d051-405e-afdc-13944f1e5ef1', 'name': 'ctest-vn-83890656', 'tenant_id': '2dc61c1fad22489dac9683e82947e841', 'project_id': '2dc61c1fad22489dac9683e82947e841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494608', 'ctest-vn-83890656'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 21:22:21,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '726ad658-cea4-40bb-a434-0fc2c0feb8aa', 'name': '', 'tenant_id': '2dc61c1fad22489dac9683e82947e841', 'network_id': 'c7511590-d051-405e-afdc-13944f1e5ef1', 'ip_version': 4, 'cidr': '52.103.145.64/26', 'allocation_pools': [{'start': '52.103.145.66', 'end': '52.103.145.126'}], 'gateway_ip': '52.103.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.103.145.66', 'tags': [], 'project_id': '2dc61c1fad22489dac9683e82947e841'}}
2025-10-23 21:22:21,539 - INFO - Created VN ctest-vn-83890656
2025-10-23 21:22:21,592 - DEBUG - VN ctest-vn-83890656 UUID is c7511590-d051-405e-afdc-13944f1e5ef1
2025-10-23 21:22:21,902 - DEBUG - Response for create_network : {'network': {'id': '67eabe26-00ab-4ee6-a572-ce1eb2c5a81a', 'name': 'ctest-ext_vn-77140848', 'tenant_id': '2dc61c1fad22489dac9683e82947e841', 'project_id': '2dc61c1fad22489dac9683e82947e841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494608', 'ctest-ext_vn-77140848'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 21:22:22,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ea4d08f-d09c-44ab-b3fd-b0dbbe85a9bb', 'name': '', 'tenant_id': '2dc61c1fad22489dac9683e82947e841', 'network_id': '67eabe26-00ab-4ee6-a572-ce1eb2c5a81a', 'ip_version': 4, 'cidr': '38.253.155.128/26', 'allocation_pools': [{'start': '38.253.155.130', 'end': '38.253.155.190'}], 'gateway_ip': '38.253.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.253.155.130', 'tags': [], 'project_id': '2dc61c1fad22489dac9683e82947e841'}}
2025-10-23 21:22:22,133 - INFO - Created VN ctest-ext_vn-77140848
2025-10-23 21:22:22,188 - DEBUG - VN ctest-ext_vn-77140848 UUID is 67eabe26-00ab-4ee6-a572-ce1eb2c5a81a
2025-10-23 21:22:22,359 - DEBUG - Services list from nova: [, , ]
2025-10-23 21:22:23,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1)
2025-10-23 21:22:24,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1)
2025-10-23 21:22:24,752 - INFO - Setting gateway for router dc9c7244-efcc-43bf-b0ff-c5ca0470acbc to network 67eabe26-00ab-4ee6-a572-ce1eb2c5a81a 
2025-10-23 21:22:24,826 - INFO - Adding interface with subnet_id 726ad658-cea4-40bb-a434-0fc2c0feb8aa, port_id None to router dc9c7244-efcc-43bf-b0ff-c5ca0470acbc
2025-10-23 21:22:25,191 - INFO - Waiting for VM ctest-TestRoutersBasic-00494608-00612682 to be up..
2025-10-23 21:22:25,365 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-23 21:22:30,444 - DEBUG - VM  is in ACTIVE state now
2025-10-23 21:22:30,445 - INFO - VM name : ctest-TestRoutersBasic-00494608-00612682
2025-10-23 21:22:30,518 - DEBUG - VM ctest-TestRoutersBasic-00494608-00612682 ID is 40a19c9c-23d9-46b8-ae4c-23eb63f19f92
2025-10-23 21:22:30,538 - DEBUG - VM ctest-TestRoutersBasic-00494608-00612682 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1
2025-10-23 21:22:30,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40a19c9c-23d9-46b8-ae4c-23eb63f19f92
2025-10-23 21:22:30,955 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40a19c9c-23d9-46b8-ae4c-23eb63f19f92
2025-10-23 21:22:30,988 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/025cf650-1d3c-49cc-97ee-891e0b454d8a
2025-10-23 21:22:34,241 - 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 1007ms')
2025-10-23 21:22:34,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00494608-00612682 failed!
2025-10-23 21:22:34,299 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00494608:ctest-vn-83890656 is 52.103.145.65 and allocation pool is NOT set
2025-10-23 21:22:36,363 - 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=1.37 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 = 1.366/2.820/4.274/1.454 ms')
2025-10-23 21:22:36,363 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00494608-00612682 passed
2025-10-23 21:22:36,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 21:22:36,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00494608-00612682, IP 52.103.145.67, Port 22
2025-10-23 21:22:36,679 - DEBUG - VM ctest-TestRoutersBasic-00494608-00612682 is ready for SSH connections
2025-10-23 21:22:36,679 - INFO - Waiting for VM ctest-TestRoutersBasic-00494608-07600362 to be up..
2025-10-23 21:22:36,760 - DEBUG - VM  is in ACTIVE state now
2025-10-23 21:22:36,760 - INFO - VM name : ctest-TestRoutersBasic-00494608-07600362
2025-10-23 21:22:36,836 - DEBUG - VM ctest-TestRoutersBasic-00494608-07600362 ID is 01bd64e5-834d-4eef-b6f5-c9d764fcd743
2025-10-23 21:22:36,836 - DEBUG - VM ctest-TestRoutersBasic-00494608-07600362 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1
2025-10-23 21:22:36,910 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/01bd64e5-834d-4eef-b6f5-c9d764fcd743
2025-10-23 21:22:36,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/899e9e31-21c5-4181-a39e-4e50a8de175e
2025-10-23 21:22:38,152 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.751 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.751/2.019/3.287/1.268 ms')
2025-10-23 21:22:38,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00494608-07600362 passed
2025-10-23 21:22:38,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 21:22:38,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00494608-07600362, IP 38.253.155.131, Port 22
2025-10-23 21:22:38,377 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-23 21:22:38,460 - DEBUG - VM ctest-TestRoutersBasic-00494608-07600362 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 21:22:43,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 21:22:43,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00494608-07600362, IP 38.253.155.131, Port 22
2025-10-23 21:22:43,615 - DEBUG - VM ctest-TestRoutersBasic-00494608-07600362 is ready for SSH connections
2025-10-23 21:22:43,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 21:22:43,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  38.253.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-23 21:22:43,616 - DEBUG - ping -s 56 -c 3 -W 1  38.253.155.131
2025-10-23 21:22:47,378 - DEBUG - PING 38.253.155.131 (38.253.155.131): 56 data bytes
64 bytes from 38.253.155.131: seq=0 ttl=62 time=8.024 ms
64 bytes from 38.253.155.131: seq=1 ttl=62 time=1.145 ms
64 bytes from 38.253.155.131: seq=2 ttl=62 time=0.982 ms
--- 38.253.155.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.982/3.383/8.024 ms
2025-10-23 21:22:47,378 - INFO - Ping to IP 38.253.155.131 from VM ctest-TestRoutersBasic-00494608-00612682 passed
2025-10-23 21:22:47,378 - INFO - Deleting interface with subnet_id 726ad658-cea4-40bb-a434-0fc2c0feb8aa, port_id None from router dc9c7244-efcc-43bf-b0ff-c5ca0470acbc
2025-10-23 21:22:47,588 - INFO - Deleting VM ctest-TestRoutersBasic-00494608-07600362
2025-10-23 21:22:47,675 - INFO - Deleting VM ctest-TestRoutersBasic-00494608-00612682
2025-10-23 21:22:47,774 - INFO - Deleting VN ctest-ext_vn-77140848 
2025-10-23 21:22:47,853 - DEBUG - VN 67eabe26-00ab-4ee6-a572-ce1eb2c5a81a still in use: Unable to complete operation on network 67eabe26-00ab-4ee6-a572-ce1eb2c5a81a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cf9247e5-bda2-40d8-a966-f387ab1b1255']
2025-10-23 21:22:47,854 - WARNING - Deleting VN ctest-ext_vn-77140848 failed..Will retry
2025-10-23 21:22:49,956 - DEBUG - Response for deleting network ()
2025-10-23 21:22:49,956 - INFO - Deleting VN ctest-vn-83890656 
2025-10-23 21:22:50,062 - DEBUG - Response for deleting network ()
2025-10-23 21:22:50,321 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:22:50,321 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-23 21:22:50,321 - INFO - --------------------------------------------------------------------------------
2025-10-23 21:22:51,063 - INFO - Deleted project: ctest-TestRoutersBasic-00494608, ID : 2dc61c1f-ad22-489d-ac96-83e82947e841