2025-11-06 02:07:00,596 - INFO - Domain Default found not creating
2025-11-06 02:07:00,796 - INFO - Project ctest-TestRoutersBasic-94429228 not found, creating it
2025-11-06 02:07:01,284 - INFO - Created Project:ctest-TestRoutersBasic-94429228, ID : 2df6af0b-19f6-406f-900b-2b5200df51cb
2025-11-06 02:07:02,837 - INFO - ================================================================================
2025-11-06 02:07:02,837 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-06 02:07:02,837 - 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-06 02:07:03,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with
2025-11-06 02:07:03,094 - INFO - Initial checks done. Running the testcase now
2025-11-06 02:07:03,094 - INFO -
2025-11-06 02:07:03,815 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94429228
2025-11-06 02:07:03,910 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94429228
2025-11-06 02:07:04,242 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94429228', 'default']}
2025-11-06 02:07:04,547 - DEBUG - Response for create_network : {'network': {'id': 'e60acc51-e231-4ff5-9158-968ca7f6047c', 'name': 'ctest-vn-10266612', 'tenant_id': '2df6af0b19f6406f900b2b5200df51cb', 'project_id': '2df6af0b19f6406f900b2b5200df51cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94429228', 'ctest-vn-10266612'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:07:04,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd605237d-7fa7-4a46-a734-f7d6fc064036', 'name': '', 'tenant_id': '2df6af0b19f6406f900b2b5200df51cb', 'network_id': 'e60acc51-e231-4ff5-9158-968ca7f6047c', 'ip_version': 4, 'cidr': '29.142.83.0/26', 'allocation_pools': [{'start': '29.142.83.2', 'end': '29.142.83.62'}], 'gateway_ip': '29.142.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.142.83.2', 'tags': [], 'project_id': '2df6af0b19f6406f900b2b5200df51cb'}}
2025-11-06 02:07:04,722 - INFO - Created VN ctest-vn-10266612
2025-11-06 02:07:04,774 - DEBUG - VN ctest-vn-10266612 UUID is e60acc51-e231-4ff5-9158-968ca7f6047c
2025-11-06 02:07:05,079 - DEBUG - Response for create_network : {'network': {'id': '342e3689-1cf5-4854-aa1e-4b682a1e62d2', 'name': 'ctest-ext_vn-06586377', 'tenant_id': '2df6af0b19f6406f900b2b5200df51cb', 'project_id': '2df6af0b19f6406f900b2b5200df51cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94429228', 'ctest-ext_vn-06586377'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:07:05,240 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2cea12-2e31-4a2c-aba0-1981b556a4e9', 'name': '', 'tenant_id': '2df6af0b19f6406f900b2b5200df51cb', 'network_id': '342e3689-1cf5-4854-aa1e-4b682a1e62d2', 'ip_version': 4, 'cidr': '4.121.38.64/26', 'allocation_pools': [{'start': '4.121.38.66', 'end': '4.121.38.126'}], 'gateway_ip': '4.121.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.121.38.66', 'tags': [], 'project_id': '2df6af0b19f6406f900b2b5200df51cb'}}
2025-11-06 02:07:05,261 - INFO - Created VN ctest-ext_vn-06586377
2025-11-06 02:07:05,314 - DEBUG - VN ctest-ext_vn-06586377 UUID is 342e3689-1cf5-4854-aa1e-4b682a1e62d2
2025-11-06 02:07:05,519 - DEBUG - Services list from nova: [, , ]
2025-11-06 02:07:06,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1)
2025-11-06 02:07:07,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1)
2025-11-06 02:07:07,873 - INFO - Setting gateway for router a705b06f-1676-4ff2-a7da-43b32fad519d to network 342e3689-1cf5-4854-aa1e-4b682a1e62d2
2025-11-06 02:07:07,947 - INFO - Adding interface with subnet_id d605237d-7fa7-4a46-a734-f7d6fc064036, port_id None to router a705b06f-1676-4ff2-a7da-43b32fad519d
2025-11-06 02:07:08,249 - INFO - Waiting for VM ctest-TestRoutersBasic-94429228-02354623 to be up..
2025-11-06 02:07:08,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 02:07:13,482 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:07:13,482 - INFO - VM name : ctest-TestRoutersBasic-94429228-02354623
2025-11-06 02:07:13,560 - DEBUG - VM ctest-TestRoutersBasic-94429228-02354623 ID is 9c88956d-978d-4e50-bb68-629c12d1dac3
2025-11-06 02:07:13,579 - DEBUG - VM ctest-TestRoutersBasic-94429228-02354623 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1
2025-11-06 02:07:13,657 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9c88956d-978d-4e50-bb68-629c12d1dac3
2025-11-06 02:07:13,961 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9c88956d-978d-4e50-bb68-629c12d1dac3
2025-11-06 02:07:13,992 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c304d491-70ec-478f-bdf3-3b5a4366b4b6
2025-11-06 02:07:17,256 - 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 1018ms')
2025-11-06 02:07:17,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94429228-02354623 failed!
2025-11-06 02:07:17,310 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94429228:ctest-vn-10266612 is 29.142.83.1 and allocation pool is NOT set
2025-11-06 02:07:19,378 - 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=20.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/11.062/19.967/8.905 ms')
2025-11-06 02:07:19,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94429228-02354623 passed
2025-11-06 02:07:19,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:07:19,487 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94429228-02354623, IP 29.142.83.3, Port 22
2025-11-06 02:07:19,557 - 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-11-06 02:07:19,654 - DEBUG - VM ctest-TestRoutersBasic-94429228-02354623 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 02:07:24,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:07:24,654 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94429228-02354623, IP 29.142.83.3, Port 22
2025-11-06 02:07:24,813 - DEBUG - VM ctest-TestRoutersBasic-94429228-02354623 is ready for SSH connections
2025-11-06 02:07:24,814 - INFO - Waiting for VM ctest-TestRoutersBasic-94429228-33582941 to be up..
2025-11-06 02:07:24,895 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:07:24,896 - INFO - VM name : ctest-TestRoutersBasic-94429228-33582941
2025-11-06 02:07:24,977 - DEBUG - VM ctest-TestRoutersBasic-94429228-33582941 ID is 5597c482-5e5d-47fe-98c9-4c405146b8ef
2025-11-06 02:07:24,977 - DEBUG - VM ctest-TestRoutersBasic-94429228-33582941 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1
2025-11-06 02:07:25,054 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5597c482-5e5d-47fe-98c9-4c405146b8ef
2025-11-06 02:07:25,064 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/397db066-9b0b-4b08-bb0f-3892e036b254
2025-11-06 02:07:26,307 - 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=4.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/2.280/4.100/1.820 ms')
2025-11-06 02:07:26,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94429228-33582941 passed
2025-11-06 02:07:26,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:07:26,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94429228-33582941, IP 4.121.38.67, Port 22
2025-11-06 02:07:26,632 - DEBUG - VM ctest-TestRoutersBasic-94429228-33582941 is ready for SSH connections
2025-11-06 02:07:26,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:07:26,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.121.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-06 02:07:26,632 - DEBUG - ping -s 56 -c 3 -W 1 4.121.38.67
2025-11-06 02:07:30,362 - DEBUG - PING 4.121.38.67 (4.121.38.67): 56 data bytes
64 bytes from 4.121.38.67: seq=0 ttl=62 time=4.419 ms
64 bytes from 4.121.38.67: seq=1 ttl=62 time=1.334 ms
64 bytes from 4.121.38.67: seq=2 ttl=62 time=1.089 ms
--- 4.121.38.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.089/2.280/4.419 ms
2025-11-06 02:07:30,362 - INFO - Ping to IP 4.121.38.67 from VM ctest-TestRoutersBasic-94429228-02354623 passed
2025-11-06 02:07:30,362 - INFO - Deleting interface with subnet_id d605237d-7fa7-4a46-a734-f7d6fc064036, port_id None from router a705b06f-1676-4ff2-a7da-43b32fad519d
2025-11-06 02:07:30,553 - INFO - Deleting VM ctest-TestRoutersBasic-94429228-33582941
2025-11-06 02:07:30,645 - INFO - Deleting VM ctest-TestRoutersBasic-94429228-02354623
2025-11-06 02:07:30,757 - INFO - Deleting VN ctest-ext_vn-06586377
2025-11-06 02:07:30,827 - DEBUG - VN 342e3689-1cf5-4854-aa1e-4b682a1e62d2 still in use: Unable to complete operation on network 342e3689-1cf5-4854-aa1e-4b682a1e62d2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-962880f1-3634-4362-a21e-83bf041a2e0b']
2025-11-06 02:07:30,828 - WARNING - Deleting VN ctest-ext_vn-06586377 failed..Will retry
2025-11-06 02:07:32,955 - DEBUG - Response for deleting network ()
2025-11-06 02:07:32,955 - INFO - Deleting VN ctest-vn-10266612
2025-11-06 02:07:33,075 - DEBUG - Response for deleting network ()
2025-11-06 02:07:33,347 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:07:33,347 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-06 02:07:33,347 - INFO - --------------------------------------------------------------------------------
2025-11-06 02:07:34,050 - INFO - Deleted project: ctest-TestRoutersBasic-94429228, ID : 2df6af0b-19f6-406f-900b-2b5200df51cb