2025-01-07 11:34:25,927 - INFO - Domain Default found not creating
2025-01-07 11:34:26,074 - INFO - Project ctest-TestRoutersBasic-13444199 not found, creating it
2025-01-07 11:34:26,571 - INFO - Created Project:ctest-TestRoutersBasic-13444199, ID : 2230bec6-e9ad-42a4-ab47-a4a33d676350
2025-01-07 11:34:28,164 - INFO - ================================================================================
2025-01-07 11:34:28,165 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-07 11:34:28,165 - 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-01-07 11:34:28,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.13': '0'}} with
2025-01-07 11:34:28,421 - INFO - Initial checks done. Running the testcase now
2025-01-07 11:34:28,421 - INFO -
2025-01-07 11:34:29,127 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13444199
2025-01-07 11:34:29,227 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13444199
2025-01-07 11:34:29,562 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13444199', 'default']}
2025-01-07 11:34:29,882 - DEBUG - Response for create_network : {'network': {'id': '942485d9-9456-4b01-9eab-f192c9c9b2c1', 'name': 'ctest-vn-07961839', 'tenant_id': '2230bec6e9ad42a4ab47a4a33d676350', 'project_id': '2230bec6e9ad42a4ab47a4a33d676350', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13444199', 'ctest-vn-07961839'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:34:30,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bdd5db5-22a2-41b5-9b15-0301502954a7', 'name': '', 'tenant_id': '2230bec6e9ad42a4ab47a4a33d676350', 'network_id': '942485d9-9456-4b01-9eab-f192c9c9b2c1', 'ip_version': 4, 'cidr': '6.233.246.64/26', 'allocation_pools': [{'start': '6.233.246.66', 'end': '6.233.246.126'}], 'gateway_ip': '6.233.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.233.246.66', 'tags': [], 'project_id': '2230bec6e9ad42a4ab47a4a33d676350'}}
2025-01-07 11:34:30,130 - INFO - Created VN ctest-vn-07961839
2025-01-07 11:34:30,183 - DEBUG - VN ctest-vn-07961839 UUID is 942485d9-9456-4b01-9eab-f192c9c9b2c1
2025-01-07 11:34:30,503 - DEBUG - Response for create_network : {'network': {'id': 'ddfe9e65-d649-4acf-a63b-98bb337bb305', 'name': 'ctest-ext_vn-85248903', 'tenant_id': '2230bec6e9ad42a4ab47a4a33d676350', 'project_id': '2230bec6e9ad42a4ab47a4a33d676350', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13444199', 'ctest-ext_vn-85248903'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:34:30,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f2607d-5f38-4d7b-90ac-1dfdf22b712d', 'name': '', 'tenant_id': '2230bec6e9ad42a4ab47a4a33d676350', 'network_id': 'ddfe9e65-d649-4acf-a63b-98bb337bb305', 'ip_version': 4, 'cidr': '175.237.4.0/26', 'allocation_pools': [{'start': '175.237.4.2', 'end': '175.237.4.62'}], 'gateway_ip': '175.237.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.237.4.2', 'tags': [], 'project_id': '2230bec6e9ad42a4ab47a4a33d676350'}}
2025-01-07 11:34:30,741 - INFO - Created VN ctest-ext_vn-85248903
2025-01-07 11:34:30,795 - DEBUG - VN ctest-ext_vn-85248903 UUID is ddfe9e65-d649-4acf-a63b-98bb337bb305
2025-01-07 11:34:30,974 - DEBUG - Services list from nova: [, , ]
2025-01-07 11:34:32,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1)
2025-01-07 11:34:33,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1)
2025-01-07 11:34:33,307 - INFO - Setting gateway for router 80b01c06-784c-4919-9bdc-76575a003554 to network ddfe9e65-d649-4acf-a63b-98bb337bb305
2025-01-07 11:34:33,364 - INFO - Adding interface with subnet_id 1bdd5db5-22a2-41b5-9b15-0301502954a7, port_id None to router 80b01c06-784c-4919-9bdc-76575a003554
2025-01-07 11:34:33,782 - INFO - Waiting for VM ctest-TestRoutersBasic-13444199-65004283 to be up..
2025-01-07 11:34:33,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 11:34:39,035 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:34:39,035 - INFO - VM name : ctest-TestRoutersBasic-13444199-65004283
2025-01-07 11:34:39,152 - DEBUG - VM ctest-TestRoutersBasic-13444199-65004283 ID is 2cdbef02-023a-464a-a9b2-27d1e49725f1
2025-01-07 11:34:39,171 - DEBUG - VM ctest-TestRoutersBasic-13444199-65004283 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1
2025-01-07 11:34:39,252 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2cdbef02-023a-464a-a9b2-27d1e49725f1
2025-01-07 11:34:39,548 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2cdbef02-023a-464a-a9b2-27d1e49725f1
2025-01-07 11:34:39,583 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/c580b303-eb0b-4244-b4bc-01fe6bca395c
2025-01-07 11:34:42,835 - 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 1006ms')
2025-01-07 11:34:42,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13444199-65004283 failed!
2025-01-07 11:34:42,891 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13444199:ctest-vn-07961839 is 6.233.246.65 and allocation pool is NOT set
2025-01-07 11:34:44,949 - 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=4.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.650/3.123/4.596/1.473 ms')
2025-01-07 11:34:44,950 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13444199-65004283 passed
2025-01-07 11:34:45,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:34:45,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13444199-65004283, IP 6.233.246.67, Port 22
2025-01-07 11:34:45,269 - DEBUG - VM ctest-TestRoutersBasic-13444199-65004283 is ready for SSH connections
2025-01-07 11:34:45,269 - INFO - Waiting for VM ctest-TestRoutersBasic-13444199-07046609 to be up..
2025-01-07 11:34:45,348 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:34:45,349 - INFO - VM name : ctest-TestRoutersBasic-13444199-07046609
2025-01-07 11:34:45,425 - DEBUG - VM ctest-TestRoutersBasic-13444199-07046609 ID is 3fa444cb-04fd-476c-bb13-7a9d2ad39ae3
2025-01-07 11:34:45,425 - DEBUG - VM ctest-TestRoutersBasic-13444199-07046609 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1
2025-01-07 11:34:45,503 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/3fa444cb-04fd-476c-bb13-7a9d2ad39ae3
2025-01-07 11:34:45,513 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/657a19e6-6a64-4b95-9a4b-c9ae86fd609a
2025-01-07 11:34:46,759 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.659/2.899/1.240 ms')
2025-01-07 11:34:46,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13444199-07046609 passed
2025-01-07 11:34:46,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:34:46,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13444199-07046609, IP 175.237.4.3, Port 22
2025-01-07 11:34:47,070 - DEBUG - VM ctest-TestRoutersBasic-13444199-07046609 is ready for SSH connections
2025-01-07 11:34:47,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:34:47,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.237.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-01-07 11:34:47,070 - DEBUG - ping -s 56 -c 3 -W 1 175.237.4.3
2025-01-07 11:34:50,783 - DEBUG - PING 175.237.4.3 (175.237.4.3): 56 data bytes
64 bytes from 175.237.4.3: seq=0 ttl=62 time=4.438 ms
64 bytes from 175.237.4.3: seq=1 ttl=62 time=1.194 ms
64 bytes from 175.237.4.3: seq=2 ttl=62 time=0.828 ms
--- 175.237.4.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.153/4.438 ms
2025-01-07 11:34:50,783 - INFO - Ping to IP 175.237.4.3 from VM ctest-TestRoutersBasic-13444199-65004283 passed
2025-01-07 11:34:50,783 - INFO - Deleting interface with subnet_id 1bdd5db5-22a2-41b5-9b15-0301502954a7, port_id None from router 80b01c06-784c-4919-9bdc-76575a003554
2025-01-07 11:34:51,019 - INFO - Deleting VM ctest-TestRoutersBasic-13444199-07046609
2025-01-07 11:34:51,084 - INFO - Deleting VM ctest-TestRoutersBasic-13444199-65004283
2025-01-07 11:34:51,159 - INFO - Deleting VN ctest-ext_vn-85248903
2025-01-07 11:34:51,241 - DEBUG - VN ddfe9e65-d649-4acf-a63b-98bb337bb305 still in use: Unable to complete operation on network ddfe9e65-d649-4acf-a63b-98bb337bb305. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-37659a76-673d-4bd4-b1ad-2d7e75fd0639']
2025-01-07 11:34:51,241 - WARNING - Deleting VN ctest-ext_vn-85248903 failed..Will retry
2025-01-07 11:34:53,374 - DEBUG - Response for deleting network ()
2025-01-07 11:34:53,374 - INFO - Deleting VN ctest-vn-07961839
2025-01-07 11:34:53,507 - DEBUG - Response for deleting network ()
2025-01-07 11:34:53,769 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 11:34:53,769 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-07 11:34:53,769 - INFO - --------------------------------------------------------------------------------
2025-01-07 11:34:54,461 - INFO - Deleted project: ctest-TestRoutersBasic-13444199, ID : 2230bec6-e9ad-42a4-ab47-a4a33d676350