2025-04-24 22:11:32,465 - INFO - Domain Default found not creating
2025-04-24 22:11:32,586 - INFO - Project ctest-TestRoutersBasic-38665250 not found, creating it
2025-04-24 22:11:33,020 - INFO - Created Project:ctest-TestRoutersBasic-38665250, ID : 866041be-0b1b-427a-9e99-9ed8886e1631
2025-04-24 22:11:34,232 - INFO - ================================================================================
2025-04-24 22:11:34,232 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-24 22:11:34,232 - 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-24 22:11:34,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-04-24 22:11:34,481 - INFO - Initial checks done. Running the testcase now
2025-04-24 22:11:34,481 - INFO -
2025-04-24 22:11:35,091 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38665250
2025-04-24 22:11:35,191 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38665250
2025-04-24 22:11:35,507 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38665250', 'default']}
2025-04-24 22:11:35,774 - DEBUG - Response for create_network : {'network': {'id': '7a801f63-b60d-4d5d-aa22-2ac95fedad7b', 'name': 'ctest-vn-82640297', 'tenant_id': '866041be0b1b427a9e999ed8886e1631', 'project_id': '866041be0b1b427a9e999ed8886e1631', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38665250', 'ctest-vn-82640297'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 22:11:35,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da6beb98-8886-47db-bd60-414b88f295aa', 'name': '', 'tenant_id': '866041be0b1b427a9e999ed8886e1631', 'network_id': '7a801f63-b60d-4d5d-aa22-2ac95fedad7b', 'ip_version': 4, 'cidr': '72.36.242.64/26', 'allocation_pools': [{'start': '72.36.242.66', 'end': '72.36.242.126'}], 'gateway_ip': '72.36.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.36.242.66', 'tags': [], 'project_id': '866041be0b1b427a9e999ed8886e1631'}}
2025-04-24 22:11:35,999 - INFO - Created VN ctest-vn-82640297
2025-04-24 22:11:36,055 - DEBUG - VN ctest-vn-82640297 UUID is 7a801f63-b60d-4d5d-aa22-2ac95fedad7b
2025-04-24 22:11:36,371 - DEBUG - Response for create_network : {'network': {'id': 'efaedd3b-4a08-4d9f-a39a-386808141d6e', 'name': 'ctest-ext_vn-41174294', 'tenant_id': '866041be0b1b427a9e999ed8886e1631', 'project_id': '866041be0b1b427a9e999ed8886e1631', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38665250', 'ctest-ext_vn-41174294'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 22:11:36,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '46396ba8-6c71-4bcc-9def-79594f75d127', 'name': '', 'tenant_id': '866041be0b1b427a9e999ed8886e1631', 'network_id': 'efaedd3b-4a08-4d9f-a39a-386808141d6e', 'ip_version': 4, 'cidr': '22.215.255.64/26', 'allocation_pools': [{'start': '22.215.255.66', 'end': '22.215.255.126'}], 'gateway_ip': '22.215.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.215.255.66', 'tags': [], 'project_id': '866041be0b1b427a9e999ed8886e1631'}}
2025-04-24 22:11:36,566 - INFO - Created VN ctest-ext_vn-41174294
2025-04-24 22:11:36,615 - DEBUG - VN ctest-ext_vn-41174294 UUID is efaedd3b-4a08-4d9f-a39a-386808141d6e
2025-04-24 22:11:36,797 - DEBUG - Services list from nova: [, , ]
2025-04-24 22:11:37,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3210-1)
2025-04-24 22:11:38,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3210-1)
2025-04-24 22:11:38,707 - INFO - Setting gateway for router 4a776dad-a276-432c-9f64-40cd6069f519 to network efaedd3b-4a08-4d9f-a39a-386808141d6e
2025-04-24 22:11:38,767 - INFO - Adding interface with subnet_id da6beb98-8886-47db-bd60-414b88f295aa, port_id None to router 4a776dad-a276-432c-9f64-40cd6069f519
2025-04-24 22:11:39,120 - INFO - Waiting for VM ctest-TestRoutersBasic-38665250-65260056 to be up..
2025-04-24 22:11:39,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 22:11:44,340 - DEBUG - VM is in ACTIVE state now
2025-04-24 22:11:44,340 - INFO - VM name : ctest-TestRoutersBasic-38665250-65260056
2025-04-24 22:11:44,413 - DEBUG - VM ctest-TestRoutersBasic-38665250-65260056 ID is 1388c1c1-04d5-4404-a637-0b09b67d63c3
2025-04-24 22:11:44,445 - DEBUG - VM ctest-TestRoutersBasic-38665250-65260056 launched on Node cn-jenkins-deploy-platform-ansible-os-3210-1
2025-04-24 22:11:44,533 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1388c1c1-04d5-4404-a637-0b09b67d63c3
2025-04-24 22:11:44,808 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1388c1c1-04d5-4404-a637-0b09b67d63c3
2025-04-24 22:11:44,836 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d71e3062-9120-48c0-9110-988290c4fdab
2025-04-24 22:11:48,085 - 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=2 ttl=63 time=8.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 8.414/8.414/8.414/0.000 ms')
2025-04-24 22:11:48,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38665250-65260056 passed
2025-04-24 22:11:48,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 22:11:48,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38665250-65260056, IP 72.36.242.67, Port 22
2025-04-24 22:11:48,395 - DEBUG - VM ctest-TestRoutersBasic-38665250-65260056 is ready for SSH connections
2025-04-24 22:11:48,395 - INFO - Waiting for VM ctest-TestRoutersBasic-38665250-53474221 to be up..
2025-04-24 22:11:48,468 - DEBUG - VM is in ACTIVE state now
2025-04-24 22:11:48,468 - INFO - VM name : ctest-TestRoutersBasic-38665250-53474221
2025-04-24 22:11:48,535 - DEBUG - VM ctest-TestRoutersBasic-38665250-53474221 ID is d030c85e-0beb-4a33-bfce-8df97d340d21
2025-04-24 22:11:48,535 - DEBUG - VM ctest-TestRoutersBasic-38665250-53474221 launched on Node cn-jenkins-deploy-platform-ansible-os-3210-1
2025-04-24 22:11:48,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d030c85e-0beb-4a33-bfce-8df97d340d21
2025-04-24 22:11:48,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d2ab2bf2-f13b-44ee-aefa-8c2984d17cbc
2025-04-24 22:11:49,843 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.277 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.277/1.570/2.864/1.293 ms')
2025-04-24 22:11:49,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38665250-53474221 passed
2025-04-24 22:11:49,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 22:11:49,999 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38665250-53474221, IP 22.215.255.67, Port 22
2025-04-24 22:11:50,154 - DEBUG - VM ctest-TestRoutersBasic-38665250-53474221 is ready for SSH connections
2025-04-24 22:11:50,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 22:11:50,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.215.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-24 22:11:50,154 - DEBUG - ping -s 56 -c 3 -W 1 22.215.255.67
2025-04-24 22:11:53,769 - DEBUG - PING 22.215.255.67 (22.215.255.67): 56 data bytes
64 bytes from 22.215.255.67: seq=0 ttl=62 time=6.722 ms
64 bytes from 22.215.255.67: seq=1 ttl=62 time=0.807 ms
64 bytes from 22.215.255.67: seq=2 ttl=62 time=0.860 ms
--- 22.215.255.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.807/2.796/6.722 ms
2025-04-24 22:11:53,769 - INFO - Ping to IP 22.215.255.67 from VM ctest-TestRoutersBasic-38665250-65260056 passed
2025-04-24 22:11:53,769 - INFO - Deleting interface with subnet_id da6beb98-8886-47db-bd60-414b88f295aa, port_id None from router 4a776dad-a276-432c-9f64-40cd6069f519
2025-04-24 22:11:53,918 - INFO - Deleting VM ctest-TestRoutersBasic-38665250-53474221
2025-04-24 22:11:53,974 - INFO - Deleting VM ctest-TestRoutersBasic-38665250-65260056
2025-04-24 22:11:54,037 - INFO - Deleting VN ctest-ext_vn-41174294
2025-04-24 22:11:54,088 - DEBUG - VN efaedd3b-4a08-4d9f-a39a-386808141d6e still in use: Unable to complete operation on network efaedd3b-4a08-4d9f-a39a-386808141d6e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9a39320e-7769-4784-858d-ee81c9233577']
2025-04-24 22:11:54,088 - WARNING - Deleting VN ctest-ext_vn-41174294 failed..Will retry
2025-04-24 22:11:56,293 - DEBUG - Response for deleting network ()
2025-04-24 22:11:56,293 - INFO - Deleting VN ctest-vn-82640297
2025-04-24 22:11:56,379 - DEBUG - Response for deleting network ()
2025-04-24 22:11:56,632 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 22:11:56,632 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-04-24 22:11:56,632 - INFO - --------------------------------------------------------------------------------
2025-04-24 22:11:57,224 - INFO - Deleted project: ctest-TestRoutersBasic-38665250, ID : 866041be-0b1b-427a-9e99-9ed8886e1631