2026-03-05 12:47:35,810 - INFO - Domain Default found not creating
2026-03-05 12:47:36,029 - INFO - Project ctest-TestRoutersBasic-42683788 not found, creating it
2026-03-05 12:47:36,545 - INFO - Created Project:ctest-TestRoutersBasic-42683788, ID : 7f970a0e-e14e-4cb2-a223-f58e65411b0c
2026-03-05 12:47:38,607 - INFO - ================================================================================
2026-03-05 12:47:38,607 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-03-05 12:47:38,607 - 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
2026-03-05 12:47:38,867 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-03-05 12:47:38,867 - INFO - Initial checks done. Running the testcase now
2026-03-05 12:47:38,867 - INFO -
2026-03-05 12:47:39,631 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42683788
2026-03-05 12:47:39,728 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42683788
2026-03-05 12:47:40,056 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42683788', 'default']}
2026-03-05 12:47:40,369 - DEBUG - Response for create_network : {'network': {'id': 'a69e8326-d2c1-46c1-b083-e0ad3ff05be7', 'name': 'ctest-vn-66094728', 'tenant_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'project_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42683788', 'ctest-vn-66094728'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 12:47:40,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '19605ace-102c-4af5-8495-3328c979600c', 'name': '', 'tenant_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'network_id': 'a69e8326-d2c1-46c1-b083-e0ad3ff05be7', 'ip_version': 4, 'cidr': '112.115.165.192/26', 'allocation_pools': [{'start': '112.115.165.194', 'end': '112.115.165.254'}], 'gateway_ip': '112.115.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.115.165.194', 'tags': [], 'project_id': '7f970a0ee14e4cb2a223f58e65411b0c'}}
2026-03-05 12:47:40,622 - INFO - Created VN ctest-vn-66094728
2026-03-05 12:47:40,676 - DEBUG - VN ctest-vn-66094728 UUID is a69e8326-d2c1-46c1-b083-e0ad3ff05be7
2026-03-05 12:47:41,017 - DEBUG - Response for create_network : {'network': {'id': '5116483b-1a52-4247-b15f-61a0cfd37931', 'name': 'ctest-ext_vn-68952144', 'tenant_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'project_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42683788', 'ctest-ext_vn-68952144'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 12:47:41,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2f3fbbc-7e3d-4f4a-aac2-74aadd0fea79', 'name': '', 'tenant_id': '7f970a0ee14e4cb2a223f58e65411b0c', 'network_id': '5116483b-1a52-4247-b15f-61a0cfd37931', 'ip_version': 4, 'cidr': '166.31.54.0/26', 'allocation_pools': [{'start': '166.31.54.2', 'end': '166.31.54.62'}], 'gateway_ip': '166.31.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.31.54.2', 'tags': [], 'project_id': '7f970a0ee14e4cb2a223f58e65411b0c'}}
2026-03-05 12:47:41,256 - INFO - Created VN ctest-ext_vn-68952144
2026-03-05 12:47:41,312 - DEBUG - VN ctest-ext_vn-68952144 UUID is 5116483b-1a52-4247-b15f-61a0cfd37931
2026-03-05 12:47:41,508 - DEBUG - Services list from nova: [, , ]
2026-03-05 12:47:42,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5441-1)
2026-03-05 12:47:43,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5441-1)
2026-03-05 12:47:44,049 - INFO - Setting gateway for router b7383a75-c470-42a1-9064-a17ecc43a430 to network 5116483b-1a52-4247-b15f-61a0cfd37931
2026-03-05 12:47:44,121 - INFO - Adding interface with subnet_id 19605ace-102c-4af5-8495-3328c979600c, port_id None to router b7383a75-c470-42a1-9064-a17ecc43a430
2026-03-05 12:47:44,586 - INFO - Waiting for VM ctest-TestRoutersBasic-42683788-71386947 to be up..
2026-03-05 12:47:44,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-05 12:47:49,882 - DEBUG - VM is in ACTIVE state now
2026-03-05 12:47:49,882 - INFO - VM name : ctest-TestRoutersBasic-42683788-71386947
2026-03-05 12:47:49,988 - DEBUG - VM ctest-TestRoutersBasic-42683788-71386947 ID is 3e1b0b66-d658-488c-ad4a-d1e1ce510805
2026-03-05 12:47:50,013 - DEBUG - VM ctest-TestRoutersBasic-42683788-71386947 launched on Node cn-jenkins-deploy-platform-ansible-os-5441-1
2026-03-05 12:47:50,132 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3e1b0b66-d658-488c-ad4a-d1e1ce510805
2026-03-05 12:47:50,458 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3e1b0b66-d658-488c-ad4a-d1e1ce510805
2026-03-05 12:47:50,500 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dae38500-4dfb-458d-bf9f-c744f0aafe05
2026-03-05 12:47:53,769 - 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 1012ms')
2026-03-05 12:47:53,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42683788-71386947 failed!
2026-03-05 12:47:53,824 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42683788:ctest-vn-66094728 is 112.115.165.193 and allocation pool is NOT set
2026-03-05 12:47:55,892 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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 = 2.779/4.175/5.571/1.396 ms')
2026-03-05 12:47:55,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42683788-71386947 passed
2026-03-05 12:47:56,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 12:47:56,045 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42683788-71386947, IP 112.115.165.195, Port 22
2026-03-05 12:47:56,110 - 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': ''}
2026-03-05 12:47:56,200 - DEBUG - VM ctest-TestRoutersBasic-42683788-71386947 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-05 12:48:01,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 12:48:01,201 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42683788-71386947, IP 112.115.165.195, Port 22
2026-03-05 12:48:01,356 - DEBUG - VM ctest-TestRoutersBasic-42683788-71386947 is ready for SSH connections
2026-03-05 12:48:01,356 - INFO - Waiting for VM ctest-TestRoutersBasic-42683788-53680179 to be up..
2026-03-05 12:48:01,452 - DEBUG - VM is in ACTIVE state now
2026-03-05 12:48:01,452 - INFO - VM name : ctest-TestRoutersBasic-42683788-53680179
2026-03-05 12:48:01,556 - DEBUG - VM ctest-TestRoutersBasic-42683788-53680179 ID is 5d961bd3-03a3-4ddf-b66b-9f261721ee19
2026-03-05 12:48:01,557 - DEBUG - VM ctest-TestRoutersBasic-42683788-53680179 launched on Node cn-jenkins-deploy-platform-ansible-os-5441-1
2026-03-05 12:48:01,647 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5d961bd3-03a3-4ddf-b66b-9f261721ee19
2026-03-05 12:48:01,657 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/55087244-4f0a-412b-bb4b-577dd7ca7ba1
2026-03-05 12:48:02,905 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.781/3.171/1.389 ms')
2026-03-05 12:48:02,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42683788-53680179 passed
2026-03-05 12:48:03,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 12:48:03,060 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42683788-53680179, IP 166.31.54.3, Port 22
2026-03-05 12:48:03,239 - DEBUG - VM ctest-TestRoutersBasic-42683788-53680179 is ready for SSH connections
2026-03-05 12:48:03,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-05 12:48:03,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.31.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-03-05 12:48:03,240 - DEBUG - ping -s 56 -c 3 -W 1 166.31.54.3
2026-03-05 12:48:07,013 - DEBUG - PING 166.31.54.3 (166.31.54.3): 56 data bytes
64 bytes from 166.31.54.3: seq=0 ttl=62 time=5.842 ms
64 bytes from 166.31.54.3: seq=1 ttl=62 time=1.504 ms
64 bytes from 166.31.54.3: seq=2 ttl=62 time=1.201 ms
--- 166.31.54.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.201/2.849/5.842 ms
2026-03-05 12:48:07,013 - INFO - Ping to IP 166.31.54.3 from VM ctest-TestRoutersBasic-42683788-71386947 passed
2026-03-05 12:48:07,013 - INFO - Deleting interface with subnet_id 19605ace-102c-4af5-8495-3328c979600c, port_id None from router b7383a75-c470-42a1-9064-a17ecc43a430
2026-03-05 12:48:07,265 - INFO - Deleting VM ctest-TestRoutersBasic-42683788-53680179
2026-03-05 12:48:07,358 - INFO - Deleting VM ctest-TestRoutersBasic-42683788-71386947
2026-03-05 12:48:07,458 - INFO - Deleting VN ctest-ext_vn-68952144
2026-03-05 12:48:07,558 - DEBUG - VN 5116483b-1a52-4247-b15f-61a0cfd37931 still in use: Unable to complete operation on network 5116483b-1a52-4247-b15f-61a0cfd37931. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f7248484-d1fb-4145-97be-966584747168']
2026-03-05 12:48:07,558 - WARNING - Deleting VN ctest-ext_vn-68952144 failed..Will retry
2026-03-05 12:48:09,707 - DEBUG - Response for deleting network ()
2026-03-05 12:48:09,707 - INFO - Deleting VN ctest-vn-66094728
2026-03-05 12:48:09,844 - DEBUG - Response for deleting network ()
2026-03-05 12:48:10,121 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 12:48:10,121 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-03-05 12:48:10,121 - INFO - --------------------------------------------------------------------------------
2026-03-05 12:48:10,844 - INFO - Deleted project: ctest-TestRoutersBasic-42683788, ID : 7f970a0e-e14e-4cb2-a223-f58e65411b0c