2025-06-30 11:44:06,018 - INFO - Domain Default found not creating
2025-06-30 11:44:06,157 - INFO - Project ctest-TestRoutersBasic-09586122 not found, creating it
2025-06-30 11:44:06,631 - INFO - Created Project:ctest-TestRoutersBasic-09586122, ID : 6fe18624-7ffa-447b-bf52-194fb4978164
2025-06-30 11:44:08,019 - INFO - ================================================================================
2025-06-30 11:44:08,019 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-30 11:44:08,020 - 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-06-30 11:44:08,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-06-30 11:44:08,274 - INFO - Initial checks done. Running the testcase now
2025-06-30 11:44:08,274 - INFO -
2025-06-30 11:44:08,969 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09586122
2025-06-30 11:44:09,067 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09586122
2025-06-30 11:44:09,391 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09586122', 'default']}
2025-06-30 11:44:09,716 - DEBUG - Response for create_network : {'network': {'id': '03d20ca6-8a39-45e7-aa1e-0e8989f561ec', 'name': 'ctest-vn-15592791', 'tenant_id': '6fe186247ffa447bbf52194fb4978164', 'project_id': '6fe186247ffa447bbf52194fb4978164', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09586122', 'ctest-vn-15592791'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 11:44:09,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '140f04d4-1b06-40a0-b810-f9b993248881', 'name': '', 'tenant_id': '6fe186247ffa447bbf52194fb4978164', 'network_id': '03d20ca6-8a39-45e7-aa1e-0e8989f561ec', 'ip_version': 4, 'cidr': '210.103.2.64/26', 'allocation_pools': [{'start': '210.103.2.66', 'end': '210.103.2.126'}], 'gateway_ip': '210.103.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.103.2.66', 'tags': [], 'project_id': '6fe186247ffa447bbf52194fb4978164'}}
2025-06-30 11:44:09,926 - INFO - Created VN ctest-vn-15592791
2025-06-30 11:44:09,983 - DEBUG - VN ctest-vn-15592791 UUID is 03d20ca6-8a39-45e7-aa1e-0e8989f561ec
2025-06-30 11:44:10,364 - DEBUG - Response for create_network : {'network': {'id': 'b1072c13-cbd2-494b-86bb-45039512e73e', 'name': 'ctest-ext_vn-97808107', 'tenant_id': '6fe186247ffa447bbf52194fb4978164', 'project_id': '6fe186247ffa447bbf52194fb4978164', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09586122', 'ctest-ext_vn-97808107'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 11:44:10,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '36b78bc8-b539-43d9-89cb-c59da46906fe', 'name': '', 'tenant_id': '6fe186247ffa447bbf52194fb4978164', 'network_id': 'b1072c13-cbd2-494b-86bb-45039512e73e', 'ip_version': 4, 'cidr': '125.171.118.128/26', 'allocation_pools': [{'start': '125.171.118.130', 'end': '125.171.118.190'}], 'gateway_ip': '125.171.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.171.118.130', 'tags': [], 'project_id': '6fe186247ffa447bbf52194fb4978164'}}
2025-06-30 11:44:10,554 - INFO - Created VN ctest-ext_vn-97808107
2025-06-30 11:44:10,607 - DEBUG - VN ctest-ext_vn-97808107 UUID is b1072c13-cbd2-494b-86bb-45039512e73e
2025-06-30 11:44:10,770 - DEBUG - Services list from nova: [, , ]
2025-06-30 11:44:11,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3574-1)
2025-06-30 11:44:12,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3574-1)
2025-06-30 11:44:13,035 - INFO - Setting gateway for router 4981e206-1e84-4455-93ac-856c4e679a66 to network b1072c13-cbd2-494b-86bb-45039512e73e
2025-06-30 11:44:13,105 - INFO - Adding interface with subnet_id 140f04d4-1b06-40a0-b810-f9b993248881, port_id None to router 4981e206-1e84-4455-93ac-856c4e679a66
2025-06-30 11:44:13,409 - INFO - Waiting for VM ctest-TestRoutersBasic-09586122-57230715 to be up..
2025-06-30 11:44:13,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-30 11:44:18,682 - DEBUG - VM is in ACTIVE state now
2025-06-30 11:44:18,682 - INFO - VM name : ctest-TestRoutersBasic-09586122-57230715
2025-06-30 11:44:18,765 - DEBUG - VM ctest-TestRoutersBasic-09586122-57230715 ID is a3f55695-bebd-4e0a-963c-a394c7691678
2025-06-30 11:44:18,784 - DEBUG - VM ctest-TestRoutersBasic-09586122-57230715 launched on Node cn-jenkins-deploy-platform-ansible-os-3574-1
2025-06-30 11:44:18,859 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a3f55695-bebd-4e0a-963c-a394c7691678
2025-06-30 11:44:19,149 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a3f55695-bebd-4e0a-963c-a394c7691678
2025-06-30 11:44:19,454 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6a13a43c-cb01-48e7-ac88-8e27f229fc37
2025-06-30 11:44:22,704 - 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-06-30 11:44:22,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09586122-57230715 failed!
2025-06-30 11:44:22,759 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09586122:ctest-vn-15592791 is 210.103.2.65 and allocation pool is NOT set
2025-06-30 11:44:24,817 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.773 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.773/2.223/3.673/1.450 ms')
2025-06-30 11:44:24,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09586122-57230715 passed
2025-06-30 11:44:24,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 11:44:24,972 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09586122-57230715, IP 210.103.2.67, Port 22
2025-06-30 11:44:25,122 - DEBUG - VM ctest-TestRoutersBasic-09586122-57230715 is ready for SSH connections
2025-06-30 11:44:25,122 - INFO - Waiting for VM ctest-TestRoutersBasic-09586122-47874539 to be up..
2025-06-30 11:44:25,205 - DEBUG - VM is in ACTIVE state now
2025-06-30 11:44:25,205 - INFO - VM name : ctest-TestRoutersBasic-09586122-47874539
2025-06-30 11:44:25,282 - DEBUG - VM ctest-TestRoutersBasic-09586122-47874539 ID is e99fa965-5665-4481-8a5a-fae865cef958
2025-06-30 11:44:25,283 - DEBUG - VM ctest-TestRoutersBasic-09586122-47874539 launched on Node cn-jenkins-deploy-platform-ansible-os-3574-1
2025-06-30 11:44:25,360 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e99fa965-5665-4481-8a5a-fae865cef958
2025-06-30 11:44:25,371 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a8bd4cc6-f16c-4581-8226-d365f29b7957
2025-06-30 11:44:26,612 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.346/1.567/2.788/1.221 ms')
2025-06-30 11:44:26,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09586122-47874539 passed
2025-06-30 11:44:26,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 11:44:26,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09586122-47874539, IP 125.171.118.131, Port 22
2025-06-30 11:44:26,919 - DEBUG - VM ctest-TestRoutersBasic-09586122-47874539 is ready for SSH connections
2025-06-30 11:44:26,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 11:44:26,919 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.171.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-06-30 11:44:26,919 - DEBUG - ping -s 56 -c 3 -W 1 125.171.118.131
2025-06-30 11:44:30,908 - DEBUG - PING 125.171.118.131 (125.171.118.131): 56 data bytes
64 bytes from 125.171.118.131: seq=0 ttl=62 time=4.549 ms
64 bytes from 125.171.118.131: seq=1 ttl=62 time=0.951 ms
64 bytes from 125.171.118.131: seq=2 ttl=62 time=0.879 ms
--- 125.171.118.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.879/2.126/4.549 ms
2025-06-30 11:44:30,908 - INFO - Ping to IP 125.171.118.131 from VM ctest-TestRoutersBasic-09586122-57230715 passed
2025-06-30 11:44:30,908 - INFO - Deleting interface with subnet_id 140f04d4-1b06-40a0-b810-f9b993248881, port_id None from router 4981e206-1e84-4455-93ac-856c4e679a66
2025-06-30 11:44:31,129 - INFO - Deleting VM ctest-TestRoutersBasic-09586122-47874539
2025-06-30 11:44:31,225 - INFO - Deleting VM ctest-TestRoutersBasic-09586122-57230715
2025-06-30 11:44:31,335 - INFO - Deleting VN ctest-ext_vn-97808107
2025-06-30 11:44:31,424 - DEBUG - VN b1072c13-cbd2-494b-86bb-45039512e73e still in use: Unable to complete operation on network b1072c13-cbd2-494b-86bb-45039512e73e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6e3439dd-0219-43c0-9c07-c70a6b18eba9']
2025-06-30 11:44:31,424 - WARNING - Deleting VN ctest-ext_vn-97808107 failed..Will retry
2025-06-30 11:44:33,554 - DEBUG - Response for deleting network ()
2025-06-30 11:44:33,554 - INFO - Deleting VN ctest-vn-15592791
2025-06-30 11:44:33,669 - DEBUG - Response for deleting network ()
2025-06-30 11:44:33,936 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 11:44:33,936 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-30 11:44:33,936 - INFO - --------------------------------------------------------------------------------
2025-06-30 11:44:34,643 - INFO - Deleted project: ctest-TestRoutersBasic-09586122, ID : 6fe18624-7ffa-447b-bf52-194fb4978164