2025-04-21 11:03:18,452 - INFO - Domain Default found not creating
2025-04-21 11:03:18,589 - INFO - Project ctest-TestRoutersBasic-09615605 not found, creating it
2025-04-21 11:03:19,040 - INFO - Created Project:ctest-TestRoutersBasic-09615605, ID : 500869ff-ae36-4dee-b3e5-95d0531a05e9
2025-04-21 11:03:20,585 - INFO - ================================================================================
2025-04-21 11:03:20,585 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-21 11:03:20,586 - 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-04-21 11:03:20,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-04-21 11:03:20,846 - INFO - Initial checks done. Running the testcase now
2025-04-21 11:03:20,846 - INFO -
2025-04-21 11:03:21,632 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09615605
2025-04-21 11:03:21,731 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09615605
2025-04-21 11:03:22,063 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09615605', 'default']}
2025-04-21 11:03:22,353 - DEBUG - Response for create_network : {'network': {'id': 'ec30ee67-0b8e-4648-851e-31df1ca1c1de', 'name': 'ctest-vn-15219183', 'tenant_id': '500869ffae364deeb3e595d0531a05e9', 'project_id': '500869ffae364deeb3e595d0531a05e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09615605', 'ctest-vn-15219183'], 'port_security_enabled': True, 'description': ''}}
2025-04-21 11:03:22,497 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6574d63-acf6-4606-a568-d57c84b36253', 'name': '', 'tenant_id': '500869ffae364deeb3e595d0531a05e9', 'network_id': 'ec30ee67-0b8e-4648-851e-31df1ca1c1de', 'ip_version': 4, 'cidr': '209.223.151.128/26', 'allocation_pools': [{'start': '209.223.151.130', 'end': '209.223.151.190'}], 'gateway_ip': '209.223.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.223.151.130', 'tags': [], 'project_id': '500869ffae364deeb3e595d0531a05e9'}}
2025-04-21 11:03:22,515 - INFO - Created VN ctest-vn-15219183
2025-04-21 11:03:22,567 - DEBUG - VN ctest-vn-15219183 UUID is ec30ee67-0b8e-4648-851e-31df1ca1c1de
2025-04-21 11:03:22,940 - DEBUG - Response for create_network : {'network': {'id': 'dcd4dc60-61d5-4dc6-8b05-08c7981a64e9', 'name': 'ctest-ext_vn-97492394', 'tenant_id': '500869ffae364deeb3e595d0531a05e9', 'project_id': '500869ffae364deeb3e595d0531a05e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09615605', 'ctest-ext_vn-97492394'], 'port_security_enabled': True, 'description': ''}}
2025-04-21 11:03:23,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaa273ab-b7b3-46f2-b51c-d85c99bd5538', 'name': '', 'tenant_id': '500869ffae364deeb3e595d0531a05e9', 'network_id': 'dcd4dc60-61d5-4dc6-8b05-08c7981a64e9', 'ip_version': 4, 'cidr': '94.106.45.0/26', 'allocation_pools': [{'start': '94.106.45.2', 'end': '94.106.45.62'}], 'gateway_ip': '94.106.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.106.45.2', 'tags': [], 'project_id': '500869ffae364deeb3e595d0531a05e9'}}
2025-04-21 11:03:23,171 - INFO - Created VN ctest-ext_vn-97492394
2025-04-21 11:03:23,223 - DEBUG - VN ctest-ext_vn-97492394 UUID is dcd4dc60-61d5-4dc6-8b05-08c7981a64e9
2025-04-21 11:03:23,382 - DEBUG - Services list from nova: [, , ]
2025-04-21 11:03:24,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3153-1)
2025-04-21 11:03:25,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3153-1)
2025-04-21 11:03:25,908 - INFO - Setting gateway for router 578ea519-ef39-4d9c-8115-bdccd62ea398 to network dcd4dc60-61d5-4dc6-8b05-08c7981a64e9
2025-04-21 11:03:25,969 - INFO - Adding interface with subnet_id e6574d63-acf6-4606-a568-d57c84b36253, port_id None to router 578ea519-ef39-4d9c-8115-bdccd62ea398
2025-04-21 11:03:26,340 - INFO - Waiting for VM ctest-TestRoutersBasic-09615605-72792378 to be up..
2025-04-21 11:03:26,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-21 11:03:31,583 - DEBUG - VM is in ACTIVE state now
2025-04-21 11:03:31,583 - INFO - VM name : ctest-TestRoutersBasic-09615605-72792378
2025-04-21 11:03:31,661 - DEBUG - VM ctest-TestRoutersBasic-09615605-72792378 ID is 0954715b-a81a-4963-abc8-d1c25f362c64
2025-04-21 11:03:31,682 - DEBUG - VM ctest-TestRoutersBasic-09615605-72792378 launched on Node cn-jenkins-deploy-platform-ansible-os-3153-1
2025-04-21 11:03:31,758 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0954715b-a81a-4963-abc8-d1c25f362c64
2025-04-21 11:03:32,089 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0954715b-a81a-4963-abc8-d1c25f362c64
2025-04-21 11:03:32,120 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c2af8f85-cc2c-4747-be86-e2ac6de4678a
2025-04-21 11:03:35,393 - 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 1019ms')
2025-04-21 11:03:35,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09615605-72792378 failed!
2025-04-21 11:03:35,447 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09615605:ctest-vn-15219183 is 209.223.151.129 and allocation pool is NOT set
2025-04-21 11:03:37,509 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.465/1.694/2.923/1.229 ms')
2025-04-21 11:03:37,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09615605-72792378 passed
2025-04-21 11:03:37,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 11:03:37,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09615605-72792378, IP 209.223.151.131, Port 22
2025-04-21 11:03:37,823 - DEBUG - VM ctest-TestRoutersBasic-09615605-72792378 is ready for SSH connections
2025-04-21 11:03:37,823 - INFO - Waiting for VM ctest-TestRoutersBasic-09615605-99462560 to be up..
2025-04-21 11:03:37,920 - DEBUG - VM is in ACTIVE state now
2025-04-21 11:03:37,920 - INFO - VM name : ctest-TestRoutersBasic-09615605-99462560
2025-04-21 11:03:37,997 - DEBUG - VM ctest-TestRoutersBasic-09615605-99462560 ID is 0d6cf1c8-974c-4387-8415-a28119a21353
2025-04-21 11:03:37,997 - DEBUG - VM ctest-TestRoutersBasic-09615605-99462560 launched on Node cn-jenkins-deploy-platform-ansible-os-3153-1
2025-04-21 11:03:38,072 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0d6cf1c8-974c-4387-8415-a28119a21353
2025-04-21 11:03:38,081 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9ade7b4c-7c18-4928-8465-d3d1a0193c4a
2025-04-21 11:03:39,325 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.698/2.926/1.227 ms')
2025-04-21 11:03:39,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09615605-99462560 passed
2025-04-21 11:03:39,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 11:03:39,479 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09615605-99462560, IP 94.106.45.3, Port 22
2025-04-21 11:03:39,644 - DEBUG - VM ctest-TestRoutersBasic-09615605-99462560 is ready for SSH connections
2025-04-21 11:03:39,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 11:03:39,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.106.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-21 11:03:39,645 - DEBUG - ping -s 56 -c 3 -W 1 94.106.45.3
2025-04-21 11:03:43,676 - DEBUG - PING 94.106.45.3 (94.106.45.3): 56 data bytes
64 bytes from 94.106.45.3: seq=0 ttl=62 time=4.755 ms
64 bytes from 94.106.45.3: seq=1 ttl=62 time=0.921 ms
64 bytes from 94.106.45.3: seq=2 ttl=62 time=0.946 ms
--- 94.106.45.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.921/2.207/4.755 ms
2025-04-21 11:03:43,676 - INFO - Ping to IP 94.106.45.3 from VM ctest-TestRoutersBasic-09615605-72792378 passed
2025-04-21 11:03:43,676 - INFO - Deleting interface with subnet_id e6574d63-acf6-4606-a568-d57c84b36253, port_id None from router 578ea519-ef39-4d9c-8115-bdccd62ea398
2025-04-21 11:03:43,867 - INFO - Deleting VM ctest-TestRoutersBasic-09615605-99462560
2025-04-21 11:03:43,931 - INFO - Deleting VM ctest-TestRoutersBasic-09615605-72792378
2025-04-21 11:03:44,012 - INFO - Deleting VN ctest-ext_vn-97492394
2025-04-21 11:03:44,077 - DEBUG - VN dcd4dc60-61d5-4dc6-8b05-08c7981a64e9 still in use: Unable to complete operation on network dcd4dc60-61d5-4dc6-8b05-08c7981a64e9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2a2ba380-f66c-4bc2-bea8-93e1473ca4e5']
2025-04-21 11:03:44,078 - WARNING - Deleting VN ctest-ext_vn-97492394 failed..Will retry
2025-04-21 11:03:46,176 - DEBUG - Response for deleting network ()
2025-04-21 11:03:46,177 - INFO - Deleting VN ctest-vn-15219183
2025-04-21 11:03:46,276 - DEBUG - Response for deleting network ()
2025-04-21 11:03:46,538 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 11:03:46,538 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-21 11:03:46,538 - INFO - --------------------------------------------------------------------------------
2025-04-21 11:03:47,243 - INFO - Deleted project: ctest-TestRoutersBasic-09615605, ID : 500869ff-ae36-4dee-b3e5-95d0531a05e9