2025-03-28 23:24:18,039 - INFO - Domain Default found not creating
2025-03-28 23:24:18,229 - INFO - Project ctest-TestRoutersBasic-06475396 not found, creating it
2025-03-28 23:24:18,800 - INFO - Created Project:ctest-TestRoutersBasic-06475396, ID : 4e5e0210-47da-496c-9784-8abd17a7cf26
2025-03-28 23:24:20,439 - INFO - ================================================================================
2025-03-28 23:24:20,439 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-28 23:24:20,439 - 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-03-28 23:24:20,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.19': '0'}} with
2025-03-28 23:24:20,711 - INFO - Initial checks done. Running the testcase now
2025-03-28 23:24:20,712 - INFO -
2025-03-28 23:24:21,481 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06475396
2025-03-28 23:24:21,580 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06475396
2025-03-28 23:24:21,932 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06475396', 'default']}
2025-03-28 23:24:22,304 - DEBUG - Response for create_network : {'network': {'id': 'a0b3ac64-59e5-490e-95ac-a43fd44289e7', 'name': 'ctest-vn-72773279', 'tenant_id': '4e5e021047da496c97848abd17a7cf26', 'project_id': '4e5e021047da496c97848abd17a7cf26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06475396', 'ctest-vn-72773279'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 23:24:22,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf058bbb-dfd3-42ce-b649-4b10656c08b5', 'name': '', 'tenant_id': '4e5e021047da496c97848abd17a7cf26', 'network_id': 'a0b3ac64-59e5-490e-95ac-a43fd44289e7', 'ip_version': 4, 'cidr': '203.126.37.64/26', 'allocation_pools': [{'start': '203.126.37.66', 'end': '203.126.37.126'}], 'gateway_ip': '203.126.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.126.37.66', 'tags': [], 'project_id': '4e5e021047da496c97848abd17a7cf26'}}
2025-03-28 23:24:22,576 - INFO - Created VN ctest-vn-72773279
2025-03-28 23:24:22,632 - DEBUG - VN ctest-vn-72773279 UUID is a0b3ac64-59e5-490e-95ac-a43fd44289e7
2025-03-28 23:24:23,018 - DEBUG - Response for create_network : {'network': {'id': '97813469-c192-4af1-a3f0-26b09ebd68f8', 'name': 'ctest-ext_vn-37534425', 'tenant_id': '4e5e021047da496c97848abd17a7cf26', 'project_id': '4e5e021047da496c97848abd17a7cf26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06475396', 'ctest-ext_vn-37534425'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 23:24:23,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '3846d0b9-1849-452b-8bfc-99b0aa0b5712', 'name': '', 'tenant_id': '4e5e021047da496c97848abd17a7cf26', 'network_id': '97813469-c192-4af1-a3f0-26b09ebd68f8', 'ip_version': 4, 'cidr': '95.183.254.0/26', 'allocation_pools': [{'start': '95.183.254.2', 'end': '95.183.254.62'}], 'gateway_ip': '95.183.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.183.254.2', 'tags': [], 'project_id': '4e5e021047da496c97848abd17a7cf26'}}
2025-03-28 23:24:23,291 - INFO - Created VN ctest-ext_vn-37534425
2025-03-28 23:24:23,348 - DEBUG - VN ctest-ext_vn-37534425 UUID is 97813469-c192-4af1-a3f0-26b09ebd68f8
2025-03-28 23:24:23,576 - DEBUG - Services list from nova: [, , ]
2025-03-28 23:24:24,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2998-1)
2025-03-28 23:24:26,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2998-1)
2025-03-28 23:24:26,134 - INFO - Setting gateway for router 3d16f45c-58cb-479c-9330-7a11e09e9dd1 to network 97813469-c192-4af1-a3f0-26b09ebd68f8
2025-03-28 23:24:26,209 - INFO - Adding interface with subnet_id cf058bbb-dfd3-42ce-b649-4b10656c08b5, port_id None to router 3d16f45c-58cb-479c-9330-7a11e09e9dd1
2025-03-28 23:24:26,733 - INFO - Waiting for VM ctest-TestRoutersBasic-06475396-12910423 to be up..
2025-03-28 23:24:26,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 23:24:32,048 - DEBUG - VM is in ACTIVE state now
2025-03-28 23:24:32,048 - INFO - VM name : ctest-TestRoutersBasic-06475396-12910423
2025-03-28 23:24:32,146 - DEBUG - VM ctest-TestRoutersBasic-06475396-12910423 ID is 6c87df5f-3a8a-4533-bc6d-85fea4352429
2025-03-28 23:24:32,172 - DEBUG - VM ctest-TestRoutersBasic-06475396-12910423 launched on Node cn-jenkins-deploy-platform-ansible-os-2998-1
2025-03-28 23:24:32,278 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6c87df5f-3a8a-4533-bc6d-85fea4352429
2025-03-28 23:24:32,691 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6c87df5f-3a8a-4533-bc6d-85fea4352429
2025-03-28 23:24:32,739 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/cd22be2f-da0a-43be-ad65-0f253abdc6db
2025-03-28 23:24:36,008 - 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 1010ms')
2025-03-28 23:24:36,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06475396-12910423 failed!
2025-03-28 23:24:36,068 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06475396:ctest-vn-72773279 is 203.126.37.65 and allocation pool is NOT set
2025-03-28 23:24:38,146 - 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=7.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/3.931/7.480/3.548 ms')
2025-03-28 23:24:38,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06475396-12910423 passed
2025-03-28 23:24:38,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 23:24:38,316 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06475396-12910423, IP 203.126.37.67, Port 22
2025-03-28 23:24:38,495 - DEBUG - VM ctest-TestRoutersBasic-06475396-12910423 is ready for SSH connections
2025-03-28 23:24:38,495 - INFO - Waiting for VM ctest-TestRoutersBasic-06475396-90546569 to be up..
2025-03-28 23:24:38,606 - DEBUG - VM is in ACTIVE state now
2025-03-28 23:24:38,606 - INFO - VM name : ctest-TestRoutersBasic-06475396-90546569
2025-03-28 23:24:38,721 - DEBUG - VM ctest-TestRoutersBasic-06475396-90546569 ID is e2655c7c-84e0-4ce9-b8be-f91fa7d19090
2025-03-28 23:24:38,722 - DEBUG - VM ctest-TestRoutersBasic-06475396-90546569 launched on Node cn-jenkins-deploy-platform-ansible-os-2998-1
2025-03-28 23:24:38,823 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/e2655c7c-84e0-4ce9-b8be-f91fa7d19090
2025-03-28 23:24:38,835 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/66ea1a68-ff2c-4461-ab82-487447c4b01e
2025-03-28 23:24:40,093 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.618 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.618/1.943/3.268/1.325 ms')
2025-03-28 23:24:40,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06475396-90546569 passed
2025-03-28 23:24:40,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 23:24:40,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06475396-90546569, IP 95.183.254.3, Port 22
2025-03-28 23:24:40,419 - DEBUG - VM ctest-TestRoutersBasic-06475396-90546569 is ready for SSH connections
2025-03-28 23:24:40,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 23:24:40,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.183.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2025-03-28 23:24:40,419 - DEBUG - ping -s 56 -c 3 -W 1 95.183.254.3
2025-03-28 23:24:44,158 - DEBUG - PING 95.183.254.3 (95.183.254.3): 56 data bytes
64 bytes from 95.183.254.3: seq=0 ttl=62 time=6.221 ms
64 bytes from 95.183.254.3: seq=1 ttl=62 time=1.114 ms
64 bytes from 95.183.254.3: seq=2 ttl=62 time=1.327 ms
--- 95.183.254.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.114/2.887/6.221 ms
2025-03-28 23:24:44,158 - INFO - Ping to IP 95.183.254.3 from VM ctest-TestRoutersBasic-06475396-12910423 passed
2025-03-28 23:24:44,158 - INFO - Deleting interface with subnet_id cf058bbb-dfd3-42ce-b649-4b10656c08b5, port_id None from router 3d16f45c-58cb-479c-9330-7a11e09e9dd1
2025-03-28 23:24:44,413 - INFO - Deleting VM ctest-TestRoutersBasic-06475396-90546569
2025-03-28 23:24:44,494 - INFO - Deleting VM ctest-TestRoutersBasic-06475396-12910423
2025-03-28 23:24:44,592 - INFO - Deleting VN ctest-ext_vn-37534425
2025-03-28 23:24:44,676 - DEBUG - VN 97813469-c192-4af1-a3f0-26b09ebd68f8 still in use: Unable to complete operation on network 97813469-c192-4af1-a3f0-26b09ebd68f8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9fd9135b-4a3e-4c10-b84a-946c4dc6a654']
2025-03-28 23:24:44,677 - WARNING - Deleting VN ctest-ext_vn-37534425 failed..Will retry
2025-03-28 23:24:46,823 - DEBUG - Response for deleting network ()
2025-03-28 23:24:46,823 - INFO - Deleting VN ctest-vn-72773279
2025-03-28 23:24:46,964 - DEBUG - Response for deleting network ()
2025-03-28 23:24:47,229 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 23:24:47,229 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-03-28 23:24:47,229 - INFO - --------------------------------------------------------------------------------
2025-03-28 23:24:47,942 - INFO - Deleted project: ctest-TestRoutersBasic-06475396, ID : 4e5e0210-47da-496c-9784-8abd17a7cf26